mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nlp.git
synced 2025-07-01 12:40:34 +00:00
Create package for stand-off-data-py
This commit is contained in:
@ -38,7 +38,7 @@ RUN apt-get install --no-install-recommends --yes \
|
||||
&& pip3 install "spacy==${SPACY_VERSION}"
|
||||
|
||||
|
||||
# Only models that include the following components are compatibel:
|
||||
# Only models that include the following components are compatibel:
|
||||
# lemmatizer, ner, parser, senter, tagger,
|
||||
ENV SPACY_MODELS="de_core_news_md,en_core_web_md,it_core_news_md,nl_core_news_md,pl_core_news_md,zh_core_web_md"
|
||||
ENV SPACY_MODELS_VERSION=3.0.0
|
||||
@ -51,6 +51,13 @@ RUN apt-get install --no-install-recommends --yes \
|
||||
zip
|
||||
|
||||
|
||||
COPY packages .
|
||||
RUN cd stand-off-data-py \
|
||||
&& python3 setup.py build \
|
||||
&& python3 setup.py install \
|
||||
&& cd -
|
||||
|
||||
|
||||
## Install Pipeline ##
|
||||
COPY nlp spacy-nlp vrt-creator /usr/local/bin/
|
||||
|
||||
|
Reference in New Issue
Block a user