Thanks!
Indeed either OpenNLP or uima wrapper needs to be compiled with Java
1.6.
I will check out the wrappers.
I didn't figure out the cvs-root name and project name on the
sourcfourge site. I assumed /opennlp and opennlp.uima but the cvs
command didn't work.
cvs
I would hope that Java is backward compatible, so you should only need to
run with a JDK that is = the one(s) used to compile your code.
Burn.
Tobias Wunner wrote:
Thanks!
Indeed either OpenNLP or uima wrapper needs to be compiled with Java 1.6.
I will check out the wrappers.
I didn't figure out the cvs-root name and project name on the
sourcfourge site. I assumed /opennlp and opennlp.uima but the cvs
command didn't work.
Hello,
I was trying to run the OpenNLP UIMA wrapper OpenNLPAggregate.xml
from the UIMA examples (org.apache.uima.examples.opennlp.annotators)
and load it in the CAS Visual Debugger. I got the following Java
exception:
Exception in thread AWT-EventQueue-0
That probably means the OpenNLP library was compiler with a newer version of
Java. Try switching to a higher version number. (The message usually
indicates the version number, e.g. 6 for Java 1.6)
Burn.
It may be worth pointing out that there is a very nice set of uima
wrappers for OpenNLP available from their sourceforge cvs repository.
See http://opennlp.cvs.sourceforge.net/opennlp/. While this is still a
work in progress - it is *much* nicer than the example wrappers that
ship with UIMA.