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.

cvs -d:pserver:anonym...@opennlp.cvs.sourcefource:/opennlp checkout opennlp.uima

Any ideas?
The cvs commands to check it out are documented on the sourceforge project page:
http://sourceforge.net/scm/?type=cvs&group_id=3368

Here is my console log for checkout and building it:

jo...@karkand:~$ cvs -d:pserver:anonym...@opennlp.cvs.sourceforge.net:/cvsroot/opennlp login Logging in to :pserver:anonym...@opennlp.cvs.sourceforge.net:2401/cvsroot/opennlp
CVS password:
cvs login: CVS password file /home/joern/.cvspass does not exist - creating a new file jo...@karkand:~$ cvs -z3 -d:pserver:anonym...@opennlp.cvs.sourceforge.net:/cvsroot/opennlp co -P opennlp.uima
cvs checkout: Updating opennlp.uima
U opennlp.uima/.cvsignore

....

jo...@karkand:~$ cd opennlp.uima/
jo...@karkand:~/opennlp.uima$ mvn package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenNLP Uima Annotators
[INFO]    task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 40 source files to /home/joern/opennlp.uima/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar: /home/joern/opennlp.uima/target/opennlp-uima-1.4.2.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Fri Apr 17 15:12:43 CEST 2009
[INFO] Final Memory: 13M/74M
[INFO] ------------------------------------------------------------------------

Now you can use the opennlp-uima-1.4.2.jar in your application.
Currently there is no documentation and thats the main reason why
it is not released yet, but the parameters for the annotators are
documented in the javadoc of the classes.

There are also example descriptors at which you can look to see how
things work.

Any feedback you have is welcome.

Jörn

Reply via email to