THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
To install Apache Karaf follow the these steps:
- Download it from http://karaf.apache.org/
(testing here with 2.2.7)
- Unpack it
- Start it up with bin/karaf
...
Checkout the Corpus Server from svn with these two commands:
- svn co https://svn.apache.org/repos/asf/opennlp/sandbox/corpus-server
- svn co https://svn.apache.org/repos/asf/opennlp/sandbox/corpus-server-impl
This will create a folder for each maven module.
Go first to the corpus-server, and do a mvn install there,
afterward do the same in the corpus-server-impl module.
...
Starting Apache Karaf via bin/karaf open the karaf console.
The following command will install all dependencies and the Corpus Server:
- features:refreshUrl file:///home/xyz/dev/opennlp/sandbox/corpus-server/feature.xml
- features:install opennlp-corpus-server
...
This can be done with these commands:
- features:refreshUrl file:///home/xyz/dev/opennlp/sandbox/corpus-server-impl/feature.xml
- features:install opennlp-corpus-server-impl
Wiki Markup |
---|
The "list" command will now show the Corpus Server:
....
\[ 76\] \[Active \] \[ \] \[ 60\] OpenNLP Corpus Server (0.0.1.SNAPSHOT)
\[ 77\] \[Active \] \[ \] \[ 60\] Apache Derby 10.8 (10.8.1000002.1095077)
\[ 78\] \[Active \] \[ \] \[ 60\] OpenNLP Corpus Server Implementation (0.0.1.SNAPSHOT)
The "list" command will now show the Corpus Server:
....
\[ 76\] \[Active \] \[ \] \[ 60\] OpenNLP Corpus Server (0.0.1.SNAPSHOT)
\[ 77\] \[Active \] \[ \] \[ 60\] Apache Derby 10.8 (10.8.1000002.1095077)
\[ 78\] \[Active \] \[ \] \[ 60\] OpenNLP Corpus Server Implementation (0.0.1.SNAPSHOT) |
Apache UIMA Cas Editor
Loading the Wikinews Corpus
...