Skip to content

texttechnologylab/textimager-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

textimager-server

Prerequirement

Installation

  • Checkout this repository
  • Build image:
cd /path/to/textimager-server
mkdir duccDataContainer
docker-compose build
  • Run server:
docker-compose up

or as deamon

docker-compose up -d
  • Inspect server startup log:
docker exec -it textimager-server tail -f '/home/ducc/ducc_startup.log'

Startup will take about 5 min. As soon as the startup log prints 'All threads returned', the startup was successful.

Add Service

Every class implementing the AnalysisComponent can be distributed as a service. Jars containing the class and all its dependencies have to be exported.

  • Add service:
sh addService.sh [classpath] [classname]

Example:

sh addService.sh ducc/testService/ de.tudarmstadt.ukp.dkpro.core.tokit.BreakIteratorSegmenter

An instance of BreakIteratorSegmenter will be added to the Server. Call http://localhost:42133/services.jsp to see if service has been deployed.

About

uima-ducc-docker cluster env

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 72.5%
  • Shell 19.2%
  • Dockerfile 8.3%