Hello all again,
I’ve just created the french dictionary using morfologik. Now I would like to use it for the spell-checker. How can I do this?
To use the .dict
file, just copy it over the existing files, also adapting the .info
file if you made changes to that. To activate spell suggestions, you’ll need to change HunspellNoSuggestionRule
in French.java
to MorfologikFrenchSpellerRule
, which doesn’t exist yet but can be created by copying and adapting e.g. MorfologikAmericanSpellerRule
.
I copied all files in : \org\languagetool\resource\fr
Where do I find French.java?
You’ll need to check out the source code from git: GitHub - languagetool-org/languagetool: Style and Grammar Checker for 25+ Languages. You’ll also need a developer setup with JDK and Maven.
Ok ! I successfully installed JetBrains+jdk+maven and I modified these files… And now? How the new scripts will be charged? How can I launch the .jar? I can’t see in the repository from GIT.
Thank you
Run mvn package
and the result will be at languagetool-standalone/target/LanguageTool-3.4-SNAPSHOT/LanguageTool-3.4-SNAPSHOT/
.