-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat/merge ignored nounphrases lists (#118)
* feat: merge ignored nounphrases * fix: codestyle * move ignore lists to separate dir and expose constants in init * fix codestyle * add docstring * add ./common mount to spacy-nounphrases config * feat: common for spacy-nounphrases * fix: import Co-authored-by: mtalimanchuk <mtalimanchuk@gmail.com>
- Loading branch information
1 parent
10b2d7e
commit 17d6e37
Showing
12 changed files
with
301 additions
and
960 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
FROM python:3.8.4 | ||
|
||
RUN mkdir /src | ||
COPY ./requirements.txt /src/requirements.txt | ||
|
||
COPY ./annotators/spacy_nounphrases/ /src/ | ||
COPY ./common/ /src/common/ | ||
|
||
COPY ./annotators/spacy_nounphrases/requirements.txt /src/requirements.txt | ||
RUN pip install -r /src/requirements.txt | ||
RUN pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.2.0/en_core_web_sm-2.2.0.tar.gz | ||
COPY ./ /src/ | ||
|
||
WORKDIR /src | ||
|
||
CMD gunicorn --workers=2 server:app |
Oops, something went wrong.