You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@opennlp.apache.org by James Kosin <ja...@gmail.com> on 2014/04/02 04:38:54 UTC

Fwd: [CONF] Apache OpenNLP > Labeling Wikinews articles with the Corpus Server and the UIMA Cas Editor

FYI for all interested.

https://cwiki.apache.org/confluence/display/OPENNLP/Labeling+Wikinews+articles+with+the+Corpus+Server+and+the+UIMA+Cas+Editor



-------- Original Message --------
Subject: 	[CONF] Apache OpenNLP > Labeling Wikinews articles with the 
Corpus Server and the UIMA Cas Editor
Date: 	Wed, 2 Apr 2014 02:33:00 +0000 (UTC)
From: 	William Colen Silva (Confluence) <co...@apache.org>
To: 	jkosin@apache.org



	
William Colen Silva 
<%20%20%20%20https://cwiki.apache.org/confluence/display/%7Ecolen@apache.org%20> 
edited the page:


    *Labeling Wikinews articles with the Corpus Server and the UIMA Cas
    Editor*
    <https://cwiki.apache.org/confluence/display/OPENNLP/Labeling+Wikinews+articles+with+the+Corpus+Server+and+the+UIMA+Cas+Editor>


*Comment:* Added note how to use Karaf 3.x

...

  * Download it from http://karaf.apache.org/ (testing here with 2.2.7
    and 3.0.0)
  * Unpack it
  * Start it up with bin/karaf

...

Starting Apache Karaf via bin/karaf open the karaf console.
The following command will install all dependencies and the Corpus Server:

  * If using Karaf 2.x
      o features:refreshUrl
        file:///home/xyz/dev/opennlp/sandbox/corpus-server/feature.xml
      o features:install opennlp-corpus-server
  * If using Karaf 3.x
      o feature:repo-refresh
        file:///home/xyz/dev/opennlp/sandbox/corpus-server/feature.xml
      o feature:install opennlp-corpus-server

The corpus-server itself is just an interface layer which can expose an 
actual
Corpus Server implementation via its REST API to vairous tools which 
know this API.

...

This can be done with these commands:

  * If using Karaf 2.x
      o features:refreshUrl
        file:///home/xyz/dev/opennlp/sandbox/corpus-server-impl/feature.xml
      o features:install opennlp-corpus-server-impl
  * If using Karaf 3.x
      o feature:repo-refreshfile:///home/xyz/dev/opennlp/sandbox/corpus-server-impl/feature.xml

      o feature:install opennlp-corpus-server-impl

The last command can take several minutes to complete.

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)

...

View Online 
<https://cwiki.apache.org/confluence/display/OPENNLP/Labeling+Wikinews+articles+with+the+Corpus+Server+and+the+UIMA+Cas+Editor> 
· Like 
<https://cwiki.apache.org/confluence/plugins/likes/like.action?contentId=27849551> 
· View Changes 
<https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=27849551&revisedVersion=12&originalVersion=11> 
· Add Comment 
<https://cwiki.apache.org/confluence/display/OPENNLP/Labeling+Wikinews+articles+with+the+Corpus+Server+and+the+UIMA+Cas+Editor?showComments=true&showCommentArea=true#addcomment> 
	Stop watching space 
<https://cwiki.apache.org/confluence/users/removespacenotification.action?spaceKey=OPENNLP> 
· Manage Notifications 
<https://cwiki.apache.org/confluence/users/editmyemailsettings.action>

This message was sent by Atlassian Confluence 
<http://www.atlassian.com/software/confluence> 5.0.3, Team Collaboration 
Software 
<http://www.atlassian.com/software/confluence/overview/team-collaboration-software?utm_source=email-footer>