lookup_word
Look up Icelandic word forms to retrieve lemmas, word classes, and grammatical tags from the Database of Icelandic Morphology (BÍN).
Instructions
Look up an Icelandic word form and return all matching entries from BÍN.
This finds all possible interpretations of a word form, including its
lemma(s), word class(es), and grammatical tags.
Args:
word: The Icelandic word form to look up (e.g., "hestur", "færi", "hestana")
at_sentence_start: If True, also check lowercase forms when the word
is capitalized (useful for words at the start of sentences)
Returns:
A dict with:
- found: Whether any matches were found
- search_key: The actual search key used (may differ if z->s replacement occurred)
- entries: List of matching entries, each with lemma, word_class, domain,
inflection_form, and grammatical_tag
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| word | Yes | ||
| at_sentence_start | No |