Comments (5)
http://stackoverflow.com/questions/26003377/how-to-add-two-word-patterns-to-be-ignored-by-languagetool has a workaround and an extended request
from languagetool.
I had a similar idea in this forum post: http://forum.languagetool.org/t/can-i-put-my-configuration-into-seperate-files/1269/3
This shouldn't only work for ignore.txt
, but for all important configuration files for all languages. At least for the command line tool/server it could work like this:
- add a new option, e.g.
--user-config-dir <DIR>
- for each data file LT reads (e.g.
org/languagetool/rules/de/grammar.xml
), it also reads the same file from--user-config-dir
(so in this case$USER_CONFIG_DIR/org/languagetool/rules/de/grammar.xml
) and merges the upstream config with the user config. - text files are merged simply by appending the user config to the upstream config
- XML files are somehow properly merged
You could then invoke the command line tool/server e.g. with --user-config-dir ~/.config/languagetool
, and it would then add your custom configuration to the upstream configuration.
from languagetool.
I was thinking: this could be useful for 'in-universe' terminology.
from languagetool.
I actually have an old, on-hiatus projects where I was writing LanguageTool definitions for grammar mistakes like "wooded leg" and "plasma leek" that I see on Fanfiction.net.
https://github.com/ssokolow/languagetool-fanfiction
This would be very helpful for applying that.
from languagetool.
I've hacked together a small shell script that reads user configuration from /etc/LanguageTool
and applies them to a LanguageTool installation located in /opt/LanguageTool
. Currently it can apply patches (to hook into the XML files, or to apply bug fixes) and merge text files. It's all pretty much hardcoded for my requirements and only deals with de
rules, but it should be possible to adapt and extend it for other purposes.
languagetool-user-config.tar.gz
from languagetool.
Related Issues (20)
- [EN] False Positive LOTS_OF_NN HOT 1
- LT server causes 100% CPU usage even idle HOT 3
- Check for "simple" language
- `*_WORD_REPEAT_BEGINNING_RULE` fails for common text line length HOT 4
- [EN] False positive EN_UNPAIRED_BRACKETS HOT 2
- LanguageTool does not recognize the latex command `\newpage`, and in particular, the first command in the document get recognized as a typo. This occurs in Overleaf. HOT 4
- LanguageTool suggests placing a comma before parentheses HOT 1
- Linnea: spelling is correct
- [fr] Incorrect grammar analysis for some nouns incorrectly identified as verbs HOT 5
- Cannot use JLink/JPackage when including Language tool
- Incorrectly flags spaces with Math formulas in LibreOffice.org Writer.
- [pt] multiwords.txt adding new words — 2024-03-24 HOT 3
- [en] add Organic Maps string
- Plugin crashing in LO Writer
- Suggestion: Enable Discussion Feature for Better Community Engagement HOT 2
- [Feature request] Adding Turkish language
- Undo ⮌ button in Italian
- Typo on the Italian extension tutorial screen HOT 1
- Typo for Premium suggestion HOT 1
- Unclear Italian sentence on domain exclusion feature
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from languagetool.