4-grams 5-grams

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 Index of /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.

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 GitHub - languagetool-org/languagetool: Style and Grammar Checker for 25+ Languages.