I didn't check good enough. The opennlp library was not referenced.
Thanks!
Toby
On Apr 21, 2009, at 2:59 PM, Jörn Kottmann wrote:
Tobias Wunner wrote:
Hello,
what I was able to solve with the ConceptMapper wrapper, I am now
not able in the OpenNLP wrapper :)
The error message I get is:
Annotator class "opennlp.uima.tokenize.Tokenizer" not found.
when open the Tokenize.xml descriptor file into CAS Visual Debugger
(error log attached).
All libraries path names are local and jar-libraries are in the
projects sub-folders. I also checked the runtime environment for
absolute path names.
Any hints or ideas how to set up the runtime environment correctly
I would highly appreciate.
All the opennlp jar files must be included in the classpath of the
CAS Visual Debugger, if you only load the Tokenizer.xml
file the CAS Visual Debugger does not know where to search for the
classes.
I do not really know whats the suggested way of extending the
classpath, maybe someone else can point that out.
When you can load the OpenNLP tokenizer it will complain about the
missing tokenizer model,
you can download those from the opennlp webiste http://opennlp.sourceforge.net
The model must be placed in the configured resource directory in the
Tokenizer.xml.
Hope that helps,
Jörn