Mercurial > hg > chourdakisreiss2018smc
changeset 13:16066f0a7127 tip
fixed the problem with brat
author | Emmanouil Theofanis Chourdakis <e.t.chourdakis@qmul.ac.uk> |
---|---|
date | Sat, 08 Dec 2018 11:02:40 +0000 |
parents | 014bc3f21382 |
children | |
files | Dockerfile demo/workspace/semantic_analysis.sh |
diffstat | 2 files changed, 5 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/Dockerfile Sun Dec 02 14:18:15 2018 +0000 +++ b/Dockerfile Sat Dec 08 11:02:40 2018 +0000 @@ -15,7 +15,7 @@ # Install fluxbox RUN apt-get install -y fluxbox -# Install wget +# Install wget RUN apt-get install -y wget # Install wmctrl @@ -54,19 +54,16 @@ # Pip stuff - RUN pip3 install numpy scipy matplotlib pypeg2 spacy sklearn sklearn_crfsuite librosa pandas sox nltk xlwt xlrd selenium soundfile chromedriver RUN python3 -m spacy download en # Brat -RUN su apps -c 'cd ~ && git clone https://github.com/nlplab/brat && cd brat && git checkout 0c430b28abebf8df700eb4096c0f14a55cdc16a7' +RUN su apps -c 'cd ~ && git clone https://github.com/nlplab/brat' RUN su apps -c 'cd ~/brat && rm -rf data && mkdir data && mkdir data/workspace' -# Radioplays dependencies -RUN apt-get install -y python python-pip -RUN pip install filelock - +# Brat dependencies +RUN pip3 install filelock # Python3-tk RUN apt-get install -y python3-tk @@ -100,5 +97,3 @@ # CMD '/bootstrap.sh' # On recent linux kernels, you need to run: `echo N | sudo tee /sys/module/overlay/parameters/metacopy` before each build - -
--- a/demo/workspace/semantic_analysis.sh Sun Dec 02 14:18:15 2018 +0000 +++ b/demo/workspace/semantic_analysis.sh Sat Dec 08 11:02:40 2018 +0000 @@ -24,7 +24,7 @@ cd ~/brat -python2 standalone.py & +python3 standalone.py & PID=$! echo "Please visit http://0.0.0.0:8001/index.xhtml#/workspace/story_processed"