Skip to content

UIMA-AS deployment example of Stanford CoreNLP UIMA annotator from ClearTK.

Notifications You must be signed in to change notification settings

Digo/uima-as-deployment-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UIMA-AS Service Deployment Example (Stanford CoreNLP)

This repository contains an UIMA-AS deployment example of Stanford CoreNLP UIMA annotator from ClearTK.

Prerequisite

  • Follow the tutorial in the UIMA-AS README and understand the basics of UIMA-AS command-line tools.
  • A running UIMA-AS broker.

Installation

mvn install

Above mvn command will also copy all dependency jars to target/dependency folder.

If you don't have a broker running, use following commands to start a broker locally:

cd ./apache-uima-as-2.4.0
./startBroker_localhost.sh

Usage

Deploy scnlp service to localhost on port 61616:

mvn install && ./deployScnlpAs.sh

custom deployment with non-default descriptor and broker url

./deployScnlpAs.sh PATH_TO_DEPLOYMENT_DESC.XML BROKER_URL:PORT 

To test the deployed service, try:

mvn compile exec:java -Dexec.mainClass=edu.cmu.lti.oaqa.annotators.scnlp.StanfordCoreNLPExample

License

Apache 2.0

About

UIMA-AS deployment example of Stanford CoreNLP UIMA annotator from ClearTK.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages