-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add fasttext
to README.md
#70
Comments
Until then, we would have to build it from source, maybe using the alpine's APKBUILD. The user would have to set the variables |
Any updates on this? |
I'm also interested in this, any progress? |
If anyone needs fasttext in Language tool, just build your own image and use ENV vars @teapot9 posted. Here is the instructions; 1- Create a new image with fasttext using a dockerfile with this content:
If you are using Caprover, deploy this new image by just copying and pasting this content on deploy tab method 4. 2- Build the image with something like 3- Add 4- Run the container with this new image. 5- Enter to container command prompt and download model file to 6- Stop the container and re-run it with these env vars:
Note: You shouldn't be using these ENV vars before you have the model file in place or the container will keep restarting complaining that the file doesn't exist. You should be having fasttext support in Language Tool now. If you want to make sure, you can check the logs if it says it loaded the model for fasttext. |
Some LanguageTool guides recommend adding
fasttext
to system and setfasttextModel
/fasttextBinary
settings.Does it really useful?
Should we add a guide? Or maybe add at least
fasttext
binary to Docker image?The text was updated successfully, but these errors were encountered: