find_related_words
Finds contextually related Estonian words by returning fastText nearest neighbours ranked by cosine score, including near-synonyms, related concepts, inflections, and typos.
Instructions
Nearest neighbours of an Estonian word in a fastText model (Common Crawl and Wikipedia), ranked by cosine score. Unlike synonyms (same meaning, WordNet), these are words used in similar contexts: near-synonyms, related concepts, inflections of the input itself (lemmatize to dedupe) and sometimes antonyms (tark: loll). Senses are not separated: lahe gets whichever of "bay" and "cool" dominates the corpus. Any string, even a typo, gets neighbours.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | How many nearest-neighbour words to return (1-50). | |
| word | Yes | One Estonian word, any form. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matches | No |