missing opennlp models for lemmatizer

349 views
Skip to first unread message

ajay

unread,
Mar 1, 2017, 12:09:38 PM3/1/17
to dkpro-core-user
Hello ,

I am using OpenNlpLemmatizer and came across below exception.

Caused by: java.io.IOException: Unable to load resource [classpath:/de/tudarmstadt/ukp/dkpro/core/opennlp/lib/lemma-en-default.properties]:
FileNotFoundException: No file found at [classpath:/de/tudarmstadt/ukp/dkpro/core/opennlp/lib/lemma-en-default.properties]


I tried looking into repository, strangely the models for lemmatizer were missing.
https://zoidberg.ukp.informatik.tu-darmstadt.de/artifactory/simple/public-model-releases-local/de/tudarmstadt/ukp/dkpro/core/

Any inputs will be helpful

Thanks in advance

Richard Eckart de Castilho

unread,
Mar 3, 2017, 9:59:53 AM3/3/17
to dkpro-c...@googlegroups.com
Hi,

there are currently no pre-trained models available for the OpenNlpLemmatizer.

You can quite easily train your own model though. Check out OpenNlpLemmatizerTrainerTest [1]
for an example of how to do that.

Cheers,

-- Richard

[1] https://github.com/dkpro/dkpro-core/blob/master/dkpro-core-opennlp-asl/src/test/java/de/tudarmstadt/ukp/dkpro/core/opennlp/OpenNlpLemmatizerTrainerTest.java

ajay

unread,
Mar 13, 2017, 10:44:02 AM3/13/17
to dkpro-core-user
Thanks
Reply all
Reply to author
Forward
0 new messages