Back to LanguageTool Homepage - Privacy - Imprint

I want to use english only language resource and use it as library


(Krishna Murthy) #1

I want to use only english language resource in my project. I found various other language resources in the org folder. Problem is when I wrap it into a jar the size becomes ~73MB. Can I just use American english resource while packaging the jar in which case the size considerably reduced to ~5MB. Do you see any licensing issues as these resource are inside your binary distribution?


(Daniel Naber) #2

Are you using Maven or Gradle? Then you can simply specify group id org.languagetool and artifact id language-en and you'll only get the artifacts needed for English. Getting just American English and not the other variants isn't possible, other than manually filtering them.

Some resources are binary for technical reasons, but they can be exported as documented here.