File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,15 @@ To install the package:
4444pip install poetry
4545poetry install --with=dev
4646
47+ # Download tge spaCy pipeline used for tokenization
48+ poetry run python -m spacy download en_core_web_sm
49+
4750# To install with all additional NER dependencies (e.g. Flair, Stanza), run:
4851# poetry install --with='ner,dev'
4952
53+ # To use the default Presidio configuration, a spaCy model is required:
54+ poetry run python -m spacy download en_core_web_lg
55+
5056# Verify installation
5157pytest
5258```
Original file line number Diff line number Diff line change @@ -22,8 +22,6 @@ xmltodict = "^0.12.0"
2222python-dotenv = " ^1.0.0"
2323plotly = " ^5.24.0"
2424azure-ai-textanalytics = " ^5.3.0"
25- en_core_web_sm = {url = " https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0.tar.gz" }
26- en_core_web_lg = {url = " https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-3.8.0/en_core_web_lg-3.8.0.tar.gz" }
2725
2826# optional dependencies for the different NLP approaches
2927[tool .poetry .group .ner ]
You can’t perform that action at this time.
0 commit comments