mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/cqpserver.git
synced 2024-12-26 03:14:20 +00:00
Update and use fixed cwb version
This commit is contained in:
parent
343e9157dc
commit
f1dbcd7269
@ -3,29 +3,30 @@ FROM debian:10-slim
|
|||||||
LABEL maintainer="inf_sfb1288@lists.uni-bielefeld.de"
|
LABEL maintainer="inf_sfb1288@lists.uni-bielefeld.de"
|
||||||
|
|
||||||
ENV LANG=C.UTF-8
|
ENV LANG=C.UTF-8
|
||||||
ENV PLATFORM=linux-64
|
|
||||||
ENV SITE=standard
|
|
||||||
|
|
||||||
EXPOSE 4877
|
EXPOSE 4877
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
subversion
|
ca-certificates \
|
||||||
|
subversion \
|
||||||
|
wget
|
||||||
|
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
|
|
||||||
# Installation: IMS Open Corpus Workbench
|
# Installation: IMS Open Corpus Workbench
|
||||||
RUN apt-get install -y --no-install-recommends \
|
RUN apt-get install -y --no-install-recommends \
|
||||||
autoconf bison flex gcc make pkg-config libc6-dev libncurses5 libncurses5-dev libpcre3-dev libglib2.0-0 libglib2.0-dev libreadline7 libreadline-dev \
|
autoconf bison flex gcc make pkg-config libc6-dev libncurses5 libncurses5-dev libpcre3-dev libglib2.0-0 libglib2.0-dev libreadline7 libreadline-dev
|
||||||
&& svn co http://svn.code.sf.net/p/cwb/code/cwb/trunk cwb \
|
&& wget https://sourceforge.net/projects/cwb/files/cwb/cwb-3.4-beta/cwb-3.4.22-source.tar.gz \
|
||||||
&& cd cwb \
|
&& tar -xf cwb-3.4.22-source.tar.gz \
|
||||||
&& make clean \
|
&& cd cwb-3.4.22 \
|
||||||
&& make depend \
|
&& make clean PLATFORM=linux-64 SITE=standard \
|
||||||
&& make all \
|
&& make depend PLATFORM=linux-64 SITE=standard \
|
||||||
&& make install \
|
&& make all PLATFORM=linux-64 SITE=standard \
|
||||||
&& make realclean \
|
&& make install PLATFORM=linux-64 SITE=standard \
|
||||||
|
&& make realclean PLATFORM=linux-64 SITE=standard \
|
||||||
&& cd .. \
|
&& cd .. \
|
||||||
&& rm -r cwb
|
&& rm -r cwb-3.4.22
|
||||||
|
|
||||||
# Installation: Perl CWB package
|
# Installation: Perl CWB package
|
||||||
RUN yes | cpan HTML::Entities \
|
RUN yes | cpan HTML::Entities \
|
||||||
|
@ -15,8 +15,7 @@ if [ "${1}" == "build-corpus" ]; then
|
|||||||
-R /usr/local/share/cwb/registry/corpus \
|
-R /usr/local/share/cwb/registry/corpus \
|
||||||
-P lemma -P simple_pos -P pos -P ner \
|
-P lemma -P simple_pos -P pos -P ner \
|
||||||
-S text:0+address+author+booktitle+chapter+editor+institution+journal+pages+publisher+publishing_year+school+title -S s \
|
-S text:0+address+author+booktitle+chapter+editor+institution+journal+pages+publisher+publishing_year+school+title -S s \
|
||||||
-0 corpus \
|
-xsB -9
|
||||||
-xsB
|
|
||||||
cwb-make \
|
cwb-make \
|
||||||
-V CORPUS
|
-V CORPUS
|
||||||
elif [ "${1}" == "cqpserver" ]; then
|
elif [ "${1}" == "cqpserver" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user