find_related_words
Find Estonian words semantically similar to a given word using fastText embeddings. Use it to break repetition, find alternative phrasings, or expand vocabulary beyond exact synonyms.
Instructions
Find Estonian words semantically similar to the input via fastText.
Returns the top-n nearest neighbours by cosine similarity over a pre-trained Estonian fastText model (Common Crawl + Wikipedia, 2018). Useful for breaking repetition, finding alternative phrasings, or expanding vocabulary when WordNet's exact-meaning synonyms aren't enough.
Distinct from synonyms: that one returns WordNet synsets — words
with the same meaning. This one returns words that pattern with
the input in real Estonian text, which can include near-synonyms,
related concepts, and (sometimes) antonyms.
Known quirks of the embedding model:
Inflections crowd the top results for some words. fastText sees
kasutamaandkasutadaas related because the surface forms share subword n-grams; you may want to lemmatize matches yourself to dedupe.Antonyms can appear because antonyms occur in similar contexts (
tarkmay surfaceloll). Treat the list as "semantically nearby" rather than "synonymous."Polysemy is not disambiguated.
lahe(which means both "bay" and the colloquial "cool") will return whichever sense dominates the training data.
Single-word input only, capped at 200 characters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | How many nearest-neighbour words to return (1-50). | |
| word | Yes | A single Estonian word to find semantically related words for. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| word | No | ||
| matches | No |