Adding FastText

I am using LT as my own server, challenged by the following error message

org.languagetool.language.LanguageIdentifier Cannot consider noopLanguages because not in fastText mode: [en, en]

I installed FastText from Get started · fastText

The --help option told me that I have to point to a File, but I wonder which one? The FastText Folder contains almost 600 Files. :smiley:

1 Like

fasttextModel is the model from Language identification · fastText, fasttextBinary is the fastText binary itself (called fasttext on my installation).

1 Like

It may not work because I host it locally via wsl.
If I search the executable It cannot be found.

whereis fasttext
fasttext:

But in my Config I link to the installation folder

fasttextmodel=/mnt/c/Users/Me/Desktop/LanguageTool-4.8/lid.176.bin
fasttextBinary=/mnt/c/Users/Me/Desktop/LanguageTool-4.8/fastText/second/fastText/fasttext

In my mind this should work but:

WARN org.languagetool.language.LanguageIdentifier Cannot consider noopLanguages because not in fastText mode: [de, en]

Did you spell it like that? It’s fasttextModel.

:man_facepalming: :man_facepalming: Alright. Solved. Thanks

The next version of LT will now print a warning if a key is not known.