I run LanguageTool as a service/server for usage with the browser extension, and it didn't use the n-grams automatically. I had to go to /usr/lib/systemd/system/languagetool.service and add --languageModel "/usr/share/ngrams" to the command. You should also be able to give it the path to the config file with --config <path> that this package creates, but I didn't try that. Test sentence for n-grams: "Don’t forget to put on the breaks." (should be brakes)
Search Criteria
Package Details: languagetool-ngrams-en 20150817-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/languagetool-ngrams-en.git (read-only, click to copy) |
|---|---|
| Package Base: | languagetool-ngrams-en |
| Description: | Finding errors using n-gram data, english text |
| Upstream URL: | http://wiki.languagetool.org/finding-errors-using-n-gram-data |
| Licenses: | CCPL |
| Submitter: | Jaja |
| Maintainer: | Jaja |
| Last Packager: | Jaja |
| Votes: | 6 |
| Popularity: | 0.002074 |
| First Submitted: | 2016-04-27 09:34 (UTC) |
| Last Updated: | 2019-03-19 00:14 (UTC) |
Dependencies (3)
- languagetool (languagetool-snapshotAUR) (optional) – system wide installation of LT
- libreoffice-extension-languagetoolAUR (optional) – standalone LT for LibreOffice
- openoffice-extension-languagetoolAUR (optional) – standalone LT for OpenOffice
Required by (0)
Sources (1)
Latest Comments
endlands commented on 2026-02-21 17:38 (UTC)
BobbyWibowo commented on 2023-12-28 10:09 (UTC) (edited on 2023-12-28 10:17 (UTC) by BobbyWibowo)
I think they updated the config key from ngramDir to languageModel. Value is still the same format, path to the directory that contains all the ngrams.
Also I think it doesn't create a default config file anymore, with skeleton file being unavailable as well (I'm just inferring from the install file of this repo, that skeleton file was supposed to be available in /usr/skel, but there's none in mine).
Jaja commented on 2019-03-10 22:05 (UTC) (edited on 2019-03-19 00:19 (UTC) by Jaja)
Warning:
· This package requires about 15G to be available within /usr/share.
· Make sure you have a fast disk serving /usr/share, i.e. an SSD. Without an SSD, using this data can make LanguageTool much slower.
· Because of size, you may run out of RAM if you use tmpfs aware aur helpers.
· The install script will modify your configuration files in each home directory. If you do not want this to happen, comment line 14.
Pinned Comments
Jaja commented on 2019-03-10 22:05 (UTC) (edited on 2019-03-19 00:19 (UTC) by Jaja)
Warning:
· This package requires about 15G to be available within /usr/share.
· Make sure you have a fast disk serving /usr/share, i.e. an SSD. Without an SSD, using this data can make LanguageTool much slower.
· Because of size, you may run out of RAM if you use tmpfs aware aur helpers.
· The install script will modify your configuration files in each home directory. If you do not want this to happen, comment line 14.