Added Elephant wrapper
Change-Id: Ic3b235940b0f8707bbc90718a31b5589fa7f155e
diff --git a/Dockerfile b/Dockerfile
index ac3815e..4c421f5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -158,6 +158,29 @@
RUN echo "nnsplit\n" && ./nnsplit/nnsplit_bench example.txt
+####################
+# Install Elephant #
+####################
+
+RUN apt-get install -y python2
+
+RUN ln -s /usr/bin/python2 /usr/bin/python
+
+RUN git clone https://github.com/erwanm/elephant-wrapper.git && \
+ cd elephant-wrapper/third-party && \
+ git clone https://github.com/ParallelMeaningBank/elephant.git && \
+ git clone https://github.com/Jekub/Wapiti.git && \
+ git clone https://github.com/mspandit/rnnlm.git
+
+RUN cd elephant-wrapper && \
+ make && \
+ make install && \
+ cd .. && \
+ mv ./elephant-wrapper/bin/elephant /usr/local/bin/ && \
+ mv ./elephant-wrapper/bin/wapiti /usr/local/bin/
+
+RUN echo "Elephant-Wrapper" && ./elephant-wrapper/bin/tokenize.sh -i example.txt UD_German
+
#################
# Install Datok #