Skip to content
Wahed Hemati edited this page Jul 3, 2020 · 5 revisions

This tutorial demonstrates how to connect the TextImager server and the TextImager client

Requirements

  • Install TextImager-Server (github)
  • Checkout TextImager-Client (switch to branch mongo-client) (github)

TextImager-Client configuration

  1. 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
  1. 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

run MAIN-Class: org.hucompute.textimager.client.rest.REST

Test installaion

  1. place a file named "de.txt" with content "Das ist ein Test." inside /path/to/textimager-server/duccDataContainer/texte
  2. open http://localhost:4567/doku/#/Big_Data_API/analyse
  3. Fill out parameter as listet in the image: demo
  4. If successfully, you will get a jobId

Clone this wiki locally