Back to LanguageTool Homepage - Privacy - Imprint

How to integrate a homemade dictionary on LT

(SP) #1

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?

French grammar checking lacking
(Daniel Naber) #2

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 to MorfologikFrenchSpellerRule, which doesn't exist yet but can be created by copying and adapting e.g. MorfologikAmericanSpellerRule.

(SP) #3

I copied all files in : \org\languagetool\resource\fr\
Where do I find

(Daniel Naber) #4

You'll need to check out the source code from git: You'll also need a developer setup with JDK and Maven.

(SP) #5

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

(Daniel Naber) #6

Run mvn package and the result will be at languagetool-standalone/target/LanguageTool-3.4-SNAPSHOT/LanguageTool-3.4-SNAPSHOT/.