Back to LanguageTool Homepage - Privacy - Imprint

Run ConfusionRuleEvaluator from the command line?

(Son Lee) #1

To add pairs of words to confusion_sets.txt, a factor is necessary. To find that factor, “Open in your IDE and set TOKEN and TOKEN_HOMOPHONE to the two words that can easily be confused. Then run the main method of the class” (

Is it possible to find the factor using the command line? If yes, how?

(Daniel Naber) #2

The documentation is a bit outdated - please try downloading and then running this command:

java -cp languagetool-dev-4.3-SNAPSHOT-jar-with-dependencies.jar

It should print the usage which also lets you specify the token pair.