-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #91 from microsoft/omri/master_updates
- Loading branch information
Showing
8 changed files
with
93 additions
and
90 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -189,4 +189,5 @@ datasets/ | |
/data | ||
|
||
*.spacy | ||
*.pickle | ||
*.pickle | ||
/poetry.lock |
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
pr: | ||
branches: | ||
include: | ||
- master | ||
- feature/* | ||
|
||
pool: | ||
vmImage: 'ubuntu-latest' | ||
strategy: | ||
matrix: | ||
Python38: | ||
python.version: '3.8' | ||
Python39: | ||
python.version: '3.9' | ||
Python310: | ||
python.version: '3.10' | ||
Python311: | ||
python.version: '3.11' | ||
steps: | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '$(python.version)' | ||
displayName: 'Use Python $(python.version)' | ||
|
||
- script: | | ||
python -m pip install --upgrade pip | ||
pip install poetry | ||
poetry install --with dev,ner | ||
displayName: 'Install dependencies' | ||
|
||
- script: | | ||
poetry add pytest-azurepipelines | ||
poetry run pytest --runslow | ||
displayName: 'pytest' |
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
[tool.poetry] | ||
name = "presidio_evaluator" | ||
version = "0.1.0" | ||
description = "" | ||
authors = ["Omri Mendels <[email protected]>"] | ||
readme = "README.md" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.9" | ||
spacy = ">=3.2.0, <4.0.0" | ||
numpy = ">=1.20.2,<2.0.0" | ||
jupyter = ">=1" | ||
pandas = ">=1.2.4,<2.0.0" | ||
tqdm = ">=4.60.0,<5.0.0" | ||
haikunator = ">=2.1.0,<3.0.0" | ||
schwifty = ">=2023.11.2,<2024.0.0" | ||
faker = ">=9.6.0,<10.0.0" | ||
scikit-learn = ">1.3.2,<2.0.0" | ||
pytest = ">=6.2.3" | ||
presidio-analyzer = "^2.2.351" | ||
presidio-anonymizer = "^2.2.351" | ||
requests = ">=2.25.1" | ||
xmltodict = ">=0.12.0" | ||
python-dotenv = "^1.0.0" | ||
plotly = "^5.18.0" | ||
azure-ai-textanalytics = ">=5.3.0" | ||
en_core_web_sm = {url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.1/en_core_web_sm-3.7.1.tar.gz"} | ||
en_core_web_lg = {url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-3.7.1/en_core_web_lg-3.7.1.tar.gz"} | ||
|
||
# optional dependencies for the different NLP approaches | ||
[tool.poetry.group.ner] | ||
optional=true | ||
|
||
[tool.poetry.group.ner.dependencies] | ||
flair = "^0.13.0" | ||
spacy_stanza = "^1.0.0" | ||
sklearn_crfsuite = "^0.3.6" | ||
spacy_huggingface_pipelines = "^0.0.4" | ||
|
||
|
||
[tool.poetry.group.dev.dependencies] | ||
pytest = ">=6.*" | ||
flake8 = ">=3.*" | ||
pytest-azurepipelines = "^1.0.5" | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.