NLP_ThumbnailAnnotator

M.Sc. Project in Language Technology at Uni Hamburg from Florian Schneider


Project maintained by uhh-lt Hosted on GitHub Pages — Theme by mattgraham

Admin Guide

Please note that an internet connection is crucial mandatory! Also be aware that this application (specially for testing) needs a lot of heap space (~3-4 GB) due to the models used in the UIMA Pipeline.

Install prerequisites

sudo apt update && sudo apt upgrade -y 
sudo apt install -y oracle-java8-installer oracle-java8-set-default maven npm nginx redis-server docker docker-compose

Clone repository

  git clone https://github.com/floschne/NLP_ThumbnailAnnotator.git && cd NLP_ThumbnailAnnotator

Apply JWNL Properties File ‘Bugfix’

When using WordNet with DKPro WSD, a hard coded, non-relative path to the WordNet files has to be set in a properties file. Since the absolute location of those WordNet files is not known at runtime, the temporary solution is to copy the files to /tmp/.

  cp -r thumbnailAnnotator.parent/thumbnailAnnotator.core/src/main/resources/WordNet-3.0 /tmp/

Run with docker-compose

Run on a local (Debian based) machine (without Docker)