forked from aleksey-hariton/uima-ducc-docker
-
Notifications
You must be signed in to change notification settings - Fork 3
TextImager Client
Wahed Hemati edited this page Jul 3, 2020
·
5 revisions
This tutorial demonstrates how to connect the TextImager server and the TextImager client
- Install TextImager-Server (github)
- Checkout TextImager-Client (switch to branch mongo-client) (github)
- modify RSA Path:
- change RSA_KEY_PATH in textimager-client/src/main/java/org/hucompute/textimager/util/SSHUtils.java
- you can find the default RSA-Key of TextImager-Server at /path/to/textimager-server/ducc/id_rsa
- modify DUCC_HOME_HOST:
- change DUCC_HOME_HOST in textimager-client/src/main/java/org/hucompute/textimager/client/rest/ducc/DUCCAPI.java
- DUCC_HOME_HOST must point to TextImager-Server at /path/to/textimager-server/duccDataContainer/apache-uima-ducc
run MAIN-Class: org.hucompute.textimager.client.rest.REST
- place a file named "de.txt" with content "Das ist ein Test." inside /path/to/textimager-server/duccDataContainer/texte
- open http://localhost:4567/doku/#/Big_Data_API/analyse
- Fill out parameter as listet in the image:
- If successfully, you will get a jobId