Hello,
We are using last version of LanguageTool library for spellchecking and giving to user suggestions in case of any misspelling or so. Having own huge specific words and phrases list as definitions with their descriptions, we are creating JLanguageTool object with giving UserConfig and giving a list of this words and phrases (userSpecificSpellerWords field).
Words from this list are participating in spellcheck and can be returned as a suggestion. However, phrases from the list are never returning in suggestions in case of misspelling. The only valid case of returning a phrase as a suggestion is missing a space between words of the phrase.
Can we configure or do something from a code perspective, to include our phrases as suggestions in case of misspelling?
For example, how it works now:
Precondition → I have only “Psychotria acuminata” phrase in userSpecificSpellerWords list.
test case 1
spellchecking of “test Psychotri acuminat test” → returns 2 suggestions: for Psychotria (Psychotic) and acuminata (alumina). But, I`m expecting “Psychotria acuminata”
testcase 2
spellchecking of “test Psychotriaacuminata test” → returns 1 suggestions: owr custom “Psychotria acuminata” as expected
Thank you in advance!