- 4,027
- 1,378
- NAS
- DS4l8play, DS202j, DS3623xs+, DSM 7.3.3-25847
Funny you should ask... I just did.Does it allow to install the ngrams?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Funny you should ask... I just did.Does it allow to install the ngrams?
docker build -t languagetool:latest .
(the dot at the end is not a mistake) to build your own image with fasttext:FROM alpine:3.16.2 as build
RUN apk add git build-base --no-cache
RUN git clone https://github.com/facebookresearch/fastText.git \
&& cd fastText \
&& make
FROM erikvl87/languagetool:latest
COPY --chown=languagetool --from=build /fastText/fasttext .
# fix pid1 issue
RUN chmod +x /LanguageTool/start.sh
ENTRYPOINT ["/LanguageTool/start.sh"]
langtool_fasttextBinary
with the value /LanguageTool/fasttest
to point to the fasttext binary.langtool_fasttextModel
and the path to the fasttext model you downloaded and mapped as volume into the container.version: "3.8"
services:
languagetool:
image: erikvl87/languagetool
container_name: languagetool
environment:
- langtool_languageModel=/ngrams
- langtool_fasttextModel=/fasttext/lid.176.bin
- langtool_fasttextBinary=/fasttext/fasttext
- Java_Xms=1g
- Java_Xmx=2g
volumes:
- /volume3/docker/languagetool/ngrams:/ngrams
- /volume3/docker/languagetool/fasttext:/fasttext
ports:
- 8010:8010
network_mode: synobridge
Maybe I've used the incorrect terminology, but when LT identifies as a misspelling... for example "SynoForum", I can whitelist that such that it does not come up in later corrections. So terms like Plex, RAID5, btrfs...How does your current process to add a custom dictionary look like?
find /languagetool -type f -mtime -1
. No files have been added or changed inside the container.I tested two browsers on the same device. It is tied in into the browser extension.So either they are stored separately by device
We use essential cookies to make this site work, and optional cookies to enhance your experience.