Back to LanguageTool Homepage - Privacy - Imprint

Catalan dictionary file not available

Hi,

I am using LanguageTool java library for proofing purpose. When I try perform proofing for Catalan language, I get the following error stack that the corresponding dictionary is not available

java.lang.RuntimeException: Path /ca/ca-ES.dict not found in class path at /org/languagetool/resource/ca/ca-ES.dict
org.languagetool.databroker.DefaultResourceDataBroker.assertNotNull(DefaultResourceDataBroker.java:203)
org.languagetool.databroker.DefaultResourceDataBroker.getFromResourceDirAsUrl(DefaultResourceDataBroker.java:150)
org.languagetool.tagging.BaseTagger.<init>(BaseTagger.java:83)
org.languagetool.tagging.ca.CatalanTagger.<init>(CatalanTagger.java:58)
org.languagetool.rules.ca.MorfologikCatalanSpellerRule.<init>(MorfologikCatalanSpellerRule.java:59)
org.languagetool.language.Catalan.getRelevantRules(Catalan.java:103)
org.languagetool.JLanguageTool.getAllBuiltinRules(JLanguageTool.java:356)
org.languagetool.JLanguageTool.<init>(JLanguageTool.java:247)
org.languagetool.JLanguageTool.<init>(JLanguageTool.java:271)

Is this a bug or Catalan is not supported for proof reading?

Thanks

Kapil

Looks like catalan-pos-dict.jar is not in your classpath. Do you use Maven or Gradle to get your dependencies?

Hi Daniel,

You are right, the jar file was missing from my setup.
It is working fine now.

Thanks & regards

Kapil