Back to LanguageTool Homepage - Privacy - Imprint

4-grams 5-grams


(Saravanan Kuppusamy) #1

Hi,

I have downloaded all 4-grams and 5-grams data. I would like to generate Lucene index to be added to the Index available here http://languagetool.org/download/ngram-data/

Unfortunately, the following class is not available in the jar downloaded from https://mvnrepository.com/artifact/org.languagetool/languagetool-core
org.languagetool.dev.FrequencyIndexCreator.

Please advise how to add 4 and 5 grams into existing Lucene index.

Thanks in advance.


(Daniel Naber) #2

org.languagetool.dev.FrequencyIndexCreator is only in the languagetool-dev package, it’s not released as a JAR. You need to get the code at https://github.com/languagetool-org/languagetool.