Suggest Replacements
suggest_replacementsAlternatives for a word, each already inflected to the same case, number, gender and
person as the input (konzistentnoj -> dosljednoj), so it can be dropped into the sentence.
Candidates come from kontekst's similar-word lists: they can be related or opposite words
rather than synonyms, so choose by meaning. When the input form is ambiguous (several
readings), other_readings gives each candidate's form per reading; pick the one the
sentence needs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | synonym: closest words; simpler: only commoner words; domestic: no loanwords (replaces internationalisms such as konzistentan, implementirati) | synonym |
| lang | Yes | sl Slovenian, hr Croatian, sr Serbian; auto picks the language whose lexicon knows most words | |
| safe | No | Leave out vulgar and derogatory words | |
| word | Yes | The word as it stands in the text, inflected | |
| limit | No | ||
| sentence | No | The sentence it is in; each candidate then gets `context_fit`, how strongly it goes with the neighbouring words (higher is better; 0 = no evidence) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||