oroszgy commited on
Commit
ff20e6e
1 Parent(s): 83cabd7

fix: minor improvements

Browse files
Files changed (6) hide show
  1. README.md +3 -1
  2. examples/anon.py +4 -2
  3. examples/common.py +1 -0
  4. poetry.lock +114 -78
  5. pyproject.toml +2 -2
  6. requirements.txt +102 -103
README.md CHANGED
@@ -17,4 +17,6 @@ This repository presents some practical examples on using HuSpaCy for various te
17
 
18
  ## Development
19
 
20
- To start the demo: `poetry run python app.py`
 
 
 
17
 
18
  ## Development
19
 
20
+ To start the demo: `poetry run python app.py`
21
+
22
+ If you upgrade dependencies via poetry don't forget to update `requirements.txt` with ` poetry export --without-hashes > requirements.txt`
examples/anon.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import gradio as gr
2
 
3
  from presidio_analyzer import AnalyzerEngine
@@ -8,7 +10,7 @@ from faker import Faker
8
  from presidio_anonymizer.entities.engine import OperatorConfig
9
 
10
 
11
- def process(text: str, fake_data: bool) -> str:
12
  configuration = {
13
  "nlp_engine_name": "spacy",
14
  "models": [{"lang_code": "hu", "model_name": "hu_core_news_lg", }],
@@ -44,7 +46,7 @@ EXAMPLES = [
44
  demo = gr.Interface(
45
  fn=process,
46
  inputs=[gr.Textbox(value=EXAMPLES[0][0], lines=10, label="Input text", show_label=True),
47
- gr.Checkbox(value=EXAMPLES[0][1], label="Use fake data", show_label=True)],
48
  outputs=[gr.Textbox(label="Anonymized text", show_label=True),
49
  gr.Textbox(label="Tags", show_label=True)],
50
  examples=EXAMPLES,
 
1
+ from typing import Tuple, List
2
+
3
  import gradio as gr
4
 
5
  from presidio_analyzer import AnalyzerEngine
 
10
  from presidio_anonymizer.entities.engine import OperatorConfig
11
 
12
 
13
+ def process(text: str, fake_data: bool) -> Tuple[str, List]:
14
  configuration = {
15
  "nlp_engine_name": "spacy",
16
  "models": [{"lang_code": "hu", "model_name": "hu_core_news_lg", }],
 
46
  demo = gr.Interface(
47
  fn=process,
48
  inputs=[gr.Textbox(value=EXAMPLES[0][0], lines=10, label="Input text", show_label=True),
49
+ gr.Checkbox(value=EXAMPLES[0][1], label="Use fake data", show_label=True),],
50
  outputs=[gr.Textbox(label="Anonymized text", show_label=True),
51
  gr.Textbox(label="Tags", show_label=True)],
52
  examples=EXAMPLES,
examples/common.py CHANGED
@@ -26,6 +26,7 @@ def _compute_idf(freq_file: Path) -> Dict[str, float]:
26
 
27
 
28
  IDF: Dict[str, float] = _compute_idf(Path(__file__).parent.parent / "resources" / "freq.list")
 
29
  NEWS_EXAMPLES = [
30
  """A magyar futballválogatott negyedik Nemzetek Ligája mérkőzésén másodszor nyert, a hazai 1-0-s siker után idegenben 4-0-val megsemmisítette Angliát. Nagy győzelem volt, az enervált angolokat a saját közönségük fütyülte ki, miután a második félidőben el sem találták a kaput. 96 éve nem kaptak ekkora verést az angolok hazai pályán.
31
  Az angol kapitány, Gareth Southgate kilenc helyen változtatott azon a csapaton, amelyik az olaszok ellen gól nélküli döntetlent játszott szombaton. Marco Rossi a kapuban cserélt, Dibusz Dénes állt a gólvonalon, Schäfer András visszatért a középpályára, miután a németek ellen letöltötte eltiltását. A 3-4-2-1-es felállás ezúttal sem változott. Ha végig akarja nézni helyszíni közvetítésünket, mit műveltek az angolok a Himnusz alatt, itt megteheti.
 
26
 
27
 
28
  IDF: Dict[str, float] = _compute_idf(Path(__file__).parent.parent / "resources" / "freq.list")
29
+
30
  NEWS_EXAMPLES = [
31
  """A magyar futballválogatott negyedik Nemzetek Ligája mérkőzésén másodszor nyert, a hazai 1-0-s siker után idegenben 4-0-val megsemmisítette Angliát. Nagy győzelem volt, az enervált angolokat a saját közönségük fütyülte ki, miután a második félidőben el sem találták a kaput. 96 éve nem kaptak ekkora verést az angolok hazai pályán.
32
  Az angol kapitány, Gareth Southgate kilenc helyen változtatott azon a csapaton, amelyik az olaszok ellen gól nélküli döntetlent játszott szombaton. Marco Rossi a kapuban cserélt, Dibusz Dénes állt a gólvonalon, Schäfer András visszatért a középpályára, miután a németek ellen letöltötte eltiltását. A 3-4-2-1-es felállás ezúttal sem változott. Ha végig akarja nézni helyszíni közvetítésünket, mit műveltek az angolok a Himnusz alatt, itt megteheti.
poetry.lock CHANGED
@@ -60,8 +60,8 @@ idna = ">=2.8"
60
  sniffio = ">=1.1"
61
 
62
  [package.extras]
63
- doc = ["packaging", "sphinx-rtd-theme", "sphinx-autodoc-typehints (>=1.2.0)"]
64
  test = ["coverage[toml] (>=4.5)", "hypothesis (>=4.0)", "pytest (>=7.0)", "pytest-mock (>=3.6.1)", "trustme", "contextlib2", "uvloop (<0.15)", "mock (>=4)", "uvloop (>=0.15)"]
 
65
  trio = ["trio (>=0.16)"]
66
 
67
  [[package]]
@@ -92,10 +92,10 @@ optional = false
92
  python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
93
 
94
  [package.extras]
95
- dev = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "zope.interface", "furo", "sphinx", "sphinx-notfound-page", "pre-commit", "cloudpickle"]
96
  docs = ["furo", "sphinx", "zope.interface", "sphinx-notfound-page"]
97
  tests = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "zope.interface", "cloudpickle"]
98
  tests_no_zope = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "cloudpickle"]
 
99
 
100
  [[package]]
101
  name = "backoff"
@@ -117,8 +117,8 @@ python-versions = ">=3.6"
117
  cffi = ">=1.1"
118
 
119
  [package.extras]
120
- tests = ["pytest (>=3.2.1,!=3.3.0)"]
121
  typecheck = ["mypy"]
 
122
 
123
  [[package]]
124
  name = "beautifulsoup4"
@@ -132,8 +132,8 @@ python-versions = ">=3.6.0"
132
  soupsieve = ">1.2"
133
 
134
  [package.extras]
135
- html5lib = ["html5lib"]
136
  lxml = ["lxml"]
 
137
 
138
  [[package]]
139
  name = "blis"
@@ -223,11 +223,11 @@ python-versions = ">=3.6"
223
  cffi = ">=1.12"
224
 
225
  [package.extras]
226
- docs = ["sphinx (>=1.6.5,!=1.8.0,!=3.1.0,!=3.1.1)", "sphinx-rtd-theme"]
227
- docstest = ["pyenchant (>=1.6.11)", "twine (>=1.12.0)", "sphinxcontrib-spelling (>=4.0.1)"]
228
  pep8test = ["black", "flake8", "flake8-import-order", "pep8-naming"]
 
229
  sdist = ["setuptools_rust (>=0.11.4)"]
230
  ssh = ["bcrypt (>=3.1.5)"]
 
231
  test = ["pytest (>=6.2.0)", "pytest-benchmark", "pytest-cov", "pytest-subtests", "pytest-xdist", "pretend", "iso8601", "pytz", "hypothesis (>=1.11.4,!=3.79.2)"]
232
 
233
  [[package]]
@@ -292,10 +292,10 @@ pydantic = ">=1.6.2,<1.7 || >1.7,<1.7.1 || >1.7.1,<1.7.2 || >1.7.2,<1.7.3 || >1.
292
  starlette = "0.19.1"
293
 
294
  [package.extras]
 
 
295
  all = ["requests (>=2.24.0,<3.0.0)", "jinja2 (>=2.11.2,<4.0.0)", "python-multipart (>=0.0.5,<0.0.6)", "itsdangerous (>=1.1.0,<3.0.0)", "pyyaml (>=5.3.1,<7.0.0)", "ujson (>=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,<6.0.0)", "orjson (>=3.2.1,<4.0.0)", "email_validator (>=1.1.1,<2.0.0)", "uvicorn[standard] (>=0.12.0,<0.18.0)"]
296
  dev = ["python-jose[cryptography] (>=3.3.0,<4.0.0)", "passlib[bcrypt] (>=1.7.2,<2.0.0)", "autoflake (>=1.4.0,<2.0.0)", "flake8 (>=3.8.3,<4.0.0)", "uvicorn[standard] (>=0.12.0,<0.18.0)", "pre-commit (>=2.17.0,<3.0.0)"]
297
- doc = ["mkdocs (>=1.1.2,<2.0.0)", "mkdocs-material (>=8.1.4,<9.0.0)", "mdx-include (>=1.4.1,<2.0.0)", "mkdocs-markdownextradata-plugin (>=0.1.7,<0.3.0)", "typer (>=0.4.1,<0.5.0)", "pyyaml (>=5.3.1,<7.0.0)"]
298
- test = ["pytest (>=6.2.4,<7.0.0)", "pytest-cov (>=2.12.0,<4.0.0)", "mypy (==0.910)", "flake8 (>=3.8.3,<4.0.0)", "black (==22.3.0)", "isort (>=5.0.6,<6.0.0)", "requests (>=2.24.0,<3.0.0)", "httpx (>=0.14.0,<0.19.0)", "email_validator (>=1.1.1,<2.0.0)", "sqlalchemy (>=1.3.18,<1.5.0)", "peewee (>=3.13.3,<4.0.0)", "databases[sqlite] (>=0.3.2,<0.6.0)", "orjson (>=3.2.1,<4.0.0)", "ujson (>=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,<6.0.0)", "python-multipart (>=0.0.5,<0.0.6)", "flask (>=1.1.2,<3.0.0)", "anyio[trio] (>=3.2.1,<4.0.0)", "types-ujson (==4.2.1)", "types-orjson (==3.6.2)", "types-dataclasses (==0.6.5)"]
299
 
300
  [[package]]
301
  name = "feedfinder2"
@@ -350,18 +350,18 @@ optional = false
350
  python-versions = ">=3.7"
351
 
352
  [package.extras]
 
353
  all = ["fs (>=2.2.0,<3)", "lxml (>=4.0,<5)", "zopfli (>=0.1.4)", "lz4 (>=1.7.4.2)", "matplotlib", "sympy", "skia-pathops (>=0.5.0)", "uharfbuzz (>=0.23.0)", "brotlicffi (>=0.8.0)", "scipy", "brotli (>=1.0.1)", "munkres", "unicodedata2 (>=14.0.0)", "xattr"]
354
- graphite = ["lz4 (>=1.7.4.2)"]
355
- interpolatable = ["scipy", "munkres"]
356
  lxml = ["lxml (>=4.0,<5)"]
 
 
357
  pathops = ["skia-pathops (>=0.5.0)"]
358
- plot = ["matplotlib"]
359
- repacker = ["uharfbuzz (>=0.23.0)"]
360
  symfont = ["sympy"]
361
- type1 = ["xattr"]
362
- ufo = ["fs (>=2.2.0,<3)"]
363
  unicode = ["unicodedata2 (>=14.0.0)"]
364
- woff = ["zopfli (>=0.1.4)", "brotlicffi (>=0.8.0)", "brotli (>=1.0.1)"]
 
365
 
366
  [[package]]
367
  name = "frozenlist"
@@ -371,9 +371,40 @@ category = "main"
371
  optional = false
372
  python-versions = ">=3.7"
373
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
374
  [[package]]
375
  name = "gradio"
376
- version = "3.0.17"
377
  description = "Python library for easily interacting with trained machine learning models"
378
  category = "main"
379
  optional = false
@@ -384,6 +415,7 @@ aiohttp = "*"
384
  analytics-python = "*"
385
  fastapi = "*"
386
  ffmpy = "*"
 
387
  Jinja2 = "*"
388
  markdown-it-py = {version = "*", extras = ["linkify", "plugins"]}
389
  matplotlib = "*"
@@ -497,10 +529,10 @@ python-versions = ">=3.6"
497
  uc-micro-py = "*"
498
 
499
  [package.extras]
 
 
500
  benchmark = ["pytest", "pytest-benchmark"]
501
  dev = ["pre-commit", "isort", "flake8", "black"]
502
- doc = ["sphinx", "sphinx-book-theme", "myst-parser"]
503
- test = ["coverage", "pytest", "pytest-cov"]
504
 
505
  [[package]]
506
  name = "lxml"
@@ -511,10 +543,10 @@ optional = false
511
  python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, != 3.4.*"
512
 
513
  [package.extras]
 
514
  cssselect = ["cssselect (>=0.7)"]
515
  html5 = ["html5lib"]
516
  htmlsoup = ["beautifulsoup4"]
517
- source = ["Cython (>=0.29.7)"]
518
 
519
  [[package]]
520
  name = "markdown-it-py"
@@ -530,14 +562,14 @@ mdit-py-plugins = {version = "*", optional = true, markers = "extra == \"plugins
530
  mdurl = ">=0.1,<1.0"
531
 
532
  [package.extras]
533
- benchmarking = ["psutil", "pytest", "pytest-benchmark (>=3.2,<4.0)"]
534
- code_style = ["pre-commit (==2.6)"]
535
  compare = ["commonmark (>=0.9.1,<0.10.0)", "markdown (>=3.3.6,<3.4.0)", "mistletoe (>=0.8.1,<0.9.0)", "mistune (>=2.0.2,<2.1.0)", "panflute (>=2.1.3,<2.2.0)"]
536
- linkify = ["linkify-it-py (>=1.0,<2.0)"]
537
- plugins = ["mdit-py-plugins"]
538
  profiling = ["gprof2dot"]
539
- rtd = ["attrs", "myst-parser", "pyyaml", "sphinx", "sphinx-copybutton", "sphinx-design", "sphinx-book-theme"]
540
  testing = ["coverage", "pytest", "pytest-cov", "pytest-regressions"]
 
 
 
541
 
542
  [[package]]
543
  name = "markupsafe"
@@ -578,8 +610,8 @@ python-versions = "~=3.6"
578
  markdown-it-py = ">=1.0.0,<3.0.0"
579
 
580
  [package.extras]
581
- code_style = ["pre-commit (==2.6)"]
582
  rtd = ["myst-parser (>=0.14.0,<0.15.0)", "sphinx-book-theme (>=0.1.0,<0.2.0)"]
 
583
  testing = ["coverage", "pytest (>=3.6,<4)", "pytest-cov", "pytest-regressions"]
584
 
585
  [[package]]
@@ -624,10 +656,10 @@ python-versions = ">=3.8"
624
 
625
  [package.extras]
626
  default = ["numpy (>=1.19)", "scipy (>=1.8)", "matplotlib (>=3.4)", "pandas (>=1.3)"]
627
- developer = ["pre-commit (>=2.19)", "mypy (>=0.960)"]
628
  doc = ["sphinx (>=5)", "pydata-sphinx-theme (>=0.9)", "sphinx-gallery (>=0.10)", "numpydoc (>=1.4)", "pillow (>=9.1)", "nb2plots (>=0.6)", "texext (>=0.6.6)"]
629
- extra = ["lxml (>=4.6)", "pygraphviz (>=1.9)", "pydot (>=1.4.2)", "sympy (>=1.10)"]
630
  test = ["pytest (>=7.1)", "pytest-cov (>=3.0)", "codecov (>=2.1)"]
 
 
631
 
632
  [[package]]
633
  name = "newspaper3k"
@@ -667,12 +699,12 @@ regex = ">=2021.8.3"
667
  tqdm = "*"
668
 
669
  [package.extras]
670
- all = ["numpy", "pyparsing", "scipy", "matplotlib", "twython", "requests", "scikit-learn", "python-crfsuite"]
671
- corenlp = ["requests"]
672
- machine_learning = ["numpy", "python-crfsuite", "scikit-learn", "scipy"]
673
  plot = ["matplotlib"]
674
- tgrep = ["pyparsing"]
675
  twitter = ["twython"]
 
 
 
676
 
677
  [[package]]
678
  name = "numpy"
@@ -736,8 +768,8 @@ pynacl = ">=1.0.1"
736
  six = "*"
737
 
738
  [package.extras]
739
- all = ["pyasn1 (>=0.1.7)", "pynacl (>=1.0.1)", "bcrypt (>=3.1.3)", "invoke (>=1.3)", "gssapi (>=1.4.1)", "pywin32 (>=2.1.8)"]
740
  ed25519 = ["pynacl (>=1.0.1)", "bcrypt (>=3.1.3)"]
 
741
  gssapi = ["pyasn1 (>=0.1.7)", "gssapi (>=1.4.1)", "pywin32 (>=2.1.8)"]
742
  invoke = ["invoke (>=1.3)"]
743
 
@@ -754,10 +786,10 @@ smart-open = ">=5.0.0,<6.0.0"
754
  typer = ">=0.3.0,<1.0.0"
755
 
756
  [package.extras]
757
- all = ["google-cloud-storage (>=1.26.0,<2.0.0)", "boto3", "pytest", "pytest-coverage", "mock", "typer-cli"]
758
- gcs = ["google-cloud-storage (>=1.26.0,<2.0.0)"]
759
  s3 = ["boto3"]
760
  test = ["pytest", "pytest-coverage", "mock", "typer-cli"]
 
 
761
 
762
  [[package]]
763
  name = "phonenumbers"
@@ -891,8 +923,8 @@ optional = false
891
  python-versions = ">=3.7"
892
 
893
  [package.extras]
894
- doc = ["sphinx", "sphinx-rtd-theme"]
895
  test = ["pytest", "pytest-cov", "pytest-flake8", "pytest-isort", "coverage"]
 
896
 
897
  [[package]]
898
  name = "python-dateutil"
@@ -955,8 +987,8 @@ idna = ">=2.5,<4"
955
  urllib3 = ">=1.21.1,<1.27"
956
 
957
  [package.extras]
958
- socks = ["PySocks (>=1.5.6,!=1.5.7)"]
959
  use_chardet_on_py3 = ["chardet (>=3.0.2,<5)"]
 
960
 
961
  [[package]]
962
  name = "requests-file"
@@ -985,10 +1017,10 @@ scipy = ">=1.3.2"
985
  threadpoolctl = ">=2.0.0"
986
 
987
  [package.extras]
988
- benchmark = ["matplotlib (>=3.1.2)", "pandas (>=1.0.5)", "memory-profiler (>=0.57.0)"]
989
  docs = ["matplotlib (>=3.1.2)", "scikit-image (>=0.14.5)", "pandas (>=1.0.5)", "seaborn (>=0.9.0)", "memory-profiler (>=0.57.0)", "sphinx (>=4.0.1)", "sphinx-gallery (>=0.7.0)", "numpydoc (>=1.2.0)", "Pillow (>=7.1.2)", "sphinx-prompt (>=1.3.0)", "sphinxext-opengraph (>=0.4.2)"]
990
- examples = ["matplotlib (>=3.1.2)", "scikit-image (>=0.14.5)", "pandas (>=1.0.5)", "seaborn (>=0.9.0)"]
991
  tests = ["matplotlib (>=3.1.2)", "scikit-image (>=0.14.5)", "pandas (>=1.0.5)", "pytest (>=5.0.1)", "pytest-cov (>=2.9.0)", "flake8 (>=3.8.2)", "black (>=22.3.0)", "mypy (>=0.770)", "pyamg (>=4.0.0)", "numpydoc (>=1.2.0)"]
 
 
992
 
993
  [[package]]
994
  name = "scipy"
@@ -1043,12 +1075,12 @@ python-versions = ">=3.6,<4.0"
1043
 
1044
  [package.extras]
1045
  all = ["boto3", "google-cloud-storage", "azure-storage-blob", "azure-common", "azure-core", "requests"]
1046
- azure = ["azure-storage-blob", "azure-common", "azure-core"]
1047
- gcs = ["google-cloud-storage"]
1048
  http = ["requests"]
1049
  s3 = ["boto3"]
1050
- test = ["boto3", "google-cloud-storage", "azure-storage-blob", "azure-common", "azure-core", "requests", "moto[server] (==1.3.14)", "pathlib2", "responses", "paramiko", "parameterizedtestcase", "pytest", "pytest-rerunfailures"]
1051
  webhdfs = ["requests"]
 
 
 
1052
 
1053
  [[package]]
1054
  name = "sniffio"
@@ -1096,27 +1128,27 @@ typer = ">=0.3.0,<0.5.0"
1096
  wasabi = ">=0.9.1,<1.1.0"
1097
 
1098
  [package.extras]
 
 
1099
  apple = ["thinc-apple-ops (>=0.0.4,<1.0.0)"]
1100
- cuda = ["cupy (>=5.0.0b4,<11.0.0)"]
1101
- cuda100 = ["cupy-cuda100 (>=5.0.0b4,<11.0.0)"]
1102
- cuda101 = ["cupy-cuda101 (>=5.0.0b4,<11.0.0)"]
1103
- cuda102 = ["cupy-cuda102 (>=5.0.0b4,<11.0.0)"]
1104
- cuda110 = ["cupy-cuda110 (>=5.0.0b4,<11.0.0)"]
1105
- cuda111 = ["cupy-cuda111 (>=5.0.0b4,<11.0.0)"]
1106
- cuda112 = ["cupy-cuda112 (>=5.0.0b4,<11.0.0)"]
1107
- cuda113 = ["cupy-cuda113 (>=5.0.0b4,<11.0.0)"]
1108
- cuda114 = ["cupy-cuda114 (>=5.0.0b4,<11.0.0)"]
1109
- cuda115 = ["cupy-cuda115 (>=5.0.0b4,<11.0.0)"]
1110
- cuda80 = ["cupy-cuda80 (>=5.0.0b4,<11.0.0)"]
1111
  cuda90 = ["cupy-cuda90 (>=5.0.0b4,<11.0.0)"]
1112
  cuda91 = ["cupy-cuda91 (>=5.0.0b4,<11.0.0)"]
1113
  cuda92 = ["cupy-cuda92 (>=5.0.0b4,<11.0.0)"]
1114
- ja = ["sudachipy (>=0.5.2,!=0.6.1)", "sudachidict-core (>=20211220)"]
1115
  ko = ["natto-py (==0.9.0)"]
1116
- lookups = ["spacy-lookups-data (>=1.0.3,<1.1.0)"]
1117
- ray = ["spacy-ray (>=0.1.0,<1.0.0)"]
 
 
 
 
 
 
1118
  th = ["pythainlp (>=2.0)"]
1119
- transformers = ["spacy-transformers (>=1.1.2,<1.2.0)"]
 
 
 
1120
 
1121
  [[package]]
1122
  name = "spacy-legacy"
@@ -1187,11 +1219,11 @@ spacy = ">=3.0.0"
1187
  tqdm = ">=4.19.6"
1188
 
1189
  [package.extras]
 
 
1190
  build_and_test = ["build", "pytest (>=6.0,<7.0)", "pytest-cov", "twine (>=3.0.0)", "wheel"]
1191
  dev = ["black", "build", "flake8 (>=3.8.0)", "mypy (>=0.900)", "recommonmark (>=0.6.0,<0.7.0)", "sphinx (>=3.0.0,<4.0.0)", "pytest (>=6.0,<7.0)", "pytest-cov", "twine (>=3.0.0)", "wheel"]
1192
- docs = ["recommonmark (>=0.6.0,<0.7.0)", "sphinx (>=3.0.0,<4.0.0)"]
1193
  lint_and_format = ["black", "flake8 (>=3.8.0)", "mypy (>=0.900)"]
1194
- viz = ["matplotlib (>=3.0.0)"]
1195
 
1196
  [[package]]
1197
  name = "thinc"
@@ -1213,24 +1245,24 @@ srsly = ">=2.4.0,<3.0.0"
1213
  wasabi = ">=0.8.1,<1.1.0"
1214
 
1215
  [package.extras]
1216
- cuda = ["cupy (>=5.0.0b4)"]
1217
- cuda100 = ["cupy-cuda100 (>=5.0.0b4)"]
1218
- cuda101 = ["cupy-cuda101 (>=5.0.0b4)"]
1219
- cuda102 = ["cupy-cuda102 (>=5.0.0b4)"]
1220
- cuda110 = ["cupy-cuda110 (>=5.0.0b4)"]
1221
- cuda111 = ["cupy-cuda111 (>=5.0.0b4)"]
1222
  cuda112 = ["cupy-cuda112 (>=5.0.0b4)"]
1223
  cuda113 = ["cupy-cuda113 (>=5.0.0b4)"]
1224
- cuda114 = ["cupy-cuda114 (>=5.0.0b4)"]
1225
  cuda115 = ["cupy-cuda115 (>=5.0.0b4)"]
 
 
 
1226
  cuda80 = ["cupy-cuda80 (>=5.0.0b4)"]
1227
- cuda90 = ["cupy-cuda90 (>=5.0.0b4)"]
1228
- cuda91 = ["cupy-cuda91 (>=5.0.0b4)"]
1229
- cuda92 = ["cupy-cuda92 (>=5.0.0b4)"]
1230
- datasets = ["ml-datasets (>=0.2.0,<0.3.0)"]
1231
- mxnet = ["mxnet (>=1.5.1,<1.6.0)"]
1232
  tensorflow = ["tensorflow (>=2.0.0,<2.6.0)"]
1233
- torch = ["torch (>=1.6.0)"]
 
 
1234
 
1235
  [[package]]
1236
  name = "threadpoolctl"
@@ -1290,10 +1322,10 @@ python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7"
1290
  colorama = {version = "*", markers = "platform_system == \"Windows\""}
1291
 
1292
  [package.extras]
1293
- dev = ["py-make (>=0.1.0)", "twine", "wheel"]
1294
  notebook = ["ipywidgets (>=6)"]
1295
  slack = ["slack-sdk"]
1296
- telegram = ["requests"]
1297
 
1298
  [[package]]
1299
  name = "typer"
@@ -1307,10 +1339,10 @@ python-versions = ">=3.6"
1307
  click = ">=7.1.1,<9.0.0"
1308
 
1309
  [package.extras]
 
 
1310
  all = ["colorama (>=0.4.3,<0.5.0)", "shellingham (>=1.3.0,<2.0.0)"]
1311
  dev = ["autoflake (>=1.3.1,<2.0.0)", "flake8 (>=3.8.3,<4.0.0)"]
1312
- doc = ["mkdocs (>=1.1.2,<2.0.0)", "mkdocs-material (>=8.1.4,<9.0.0)", "mdx-include (>=1.4.1,<2.0.0)"]
1313
- test = ["shellingham (>=1.3.0,<2.0.0)", "pytest (>=4.4.0,<5.4.0)", "pytest-cov (>=2.10.0,<3.0.0)", "coverage (>=5.2,<6.0)", "pytest-xdist (>=1.32.0,<2.0.0)", "pytest-sugar (>=0.9.4,<0.10.0)", "mypy (==0.910)", "black (>=22.3.0,<23.0.0)", "isort (>=5.0.6,<6.0.0)"]
1314
 
1315
  [[package]]
1316
  name = "typing-extensions"
@@ -1383,7 +1415,7 @@ multidict = ">=4.0"
1383
  [metadata]
1384
  lock-version = "1.1"
1385
  python-versions = "~3.8"
1386
- content-hash = "5cd74ccc6f7bed486bb65b9e0c4245a6bf1eb74c0252b1b1f71fe740b6ce6fdd"
1387
 
1388
  [metadata.files]
1389
  aiohttp = [
@@ -1745,9 +1777,13 @@ frozenlist = [
1745
  {file = "frozenlist-1.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:772965f773757a6026dea111a15e6e2678fbd6216180f82a48a40b27de1ee2ab"},
1746
  {file = "frozenlist-1.3.0.tar.gz", hash = "sha256:ce6f2ba0edb7b0c1d8976565298ad2deba6f8064d2bebb6ffce2ca896eb35b0b"},
1747
  ]
 
 
 
 
1748
  gradio = [
1749
- {file = "gradio-3.0.17-py3-none-any.whl", hash = "sha256:1d3056a9143af291e0a42307c6e7f1d3b3dc88a68d31bfbad6c4888e460e4f0d"},
1750
- {file = "gradio-3.0.17.tar.gz", hash = "sha256:f3a926f2309d76aefb56cb869dbfee44be68dc5f6f76391a3eeb34c2847bb956"},
1751
  ]
1752
  h11 = [
1753
  {file = "h11-0.13.0-py3-none-any.whl", hash = "sha256:8ddd78563b633ca55346c8cd41ec0af27d3c79931828beffb46ce70a379e7442"},
 
60
  sniffio = ">=1.1"
61
 
62
  [package.extras]
 
63
  test = ["coverage[toml] (>=4.5)", "hypothesis (>=4.0)", "pytest (>=7.0)", "pytest-mock (>=3.6.1)", "trustme", "contextlib2", "uvloop (<0.15)", "mock (>=4)", "uvloop (>=0.15)"]
64
+ doc = ["packaging", "sphinx-rtd-theme", "sphinx-autodoc-typehints (>=1.2.0)"]
65
  trio = ["trio (>=0.16)"]
66
 
67
  [[package]]
 
92
  python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
93
 
94
  [package.extras]
 
95
  docs = ["furo", "sphinx", "zope.interface", "sphinx-notfound-page"]
96
  tests = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "zope.interface", "cloudpickle"]
97
  tests_no_zope = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "cloudpickle"]
98
+ dev = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "zope.interface", "furo", "sphinx", "sphinx-notfound-page", "pre-commit", "cloudpickle"]
99
 
100
  [[package]]
101
  name = "backoff"
 
117
  cffi = ">=1.1"
118
 
119
  [package.extras]
 
120
  typecheck = ["mypy"]
121
+ tests = ["pytest (>=3.2.1,!=3.3.0)"]
122
 
123
  [[package]]
124
  name = "beautifulsoup4"
 
132
  soupsieve = ">1.2"
133
 
134
  [package.extras]
 
135
  lxml = ["lxml"]
136
+ html5lib = ["html5lib"]
137
 
138
  [[package]]
139
  name = "blis"
 
223
  cffi = ">=1.12"
224
 
225
  [package.extras]
 
 
226
  pep8test = ["black", "flake8", "flake8-import-order", "pep8-naming"]
227
+ docstest = ["pyenchant (>=1.6.11)", "twine (>=1.12.0)", "sphinxcontrib-spelling (>=4.0.1)"]
228
  sdist = ["setuptools_rust (>=0.11.4)"]
229
  ssh = ["bcrypt (>=3.1.5)"]
230
+ docs = ["sphinx (>=1.6.5,!=1.8.0,!=3.1.0,!=3.1.1)", "sphinx-rtd-theme"]
231
  test = ["pytest (>=6.2.0)", "pytest-benchmark", "pytest-cov", "pytest-subtests", "pytest-xdist", "pretend", "iso8601", "pytz", "hypothesis (>=1.11.4,!=3.79.2)"]
232
 
233
  [[package]]
 
292
  starlette = "0.19.1"
293
 
294
  [package.extras]
295
+ test = ["pytest (>=6.2.4,<7.0.0)", "pytest-cov (>=2.12.0,<4.0.0)", "mypy (==0.910)", "flake8 (>=3.8.3,<4.0.0)", "black (==22.3.0)", "isort (>=5.0.6,<6.0.0)", "requests (>=2.24.0,<3.0.0)", "httpx (>=0.14.0,<0.19.0)", "email_validator (>=1.1.1,<2.0.0)", "sqlalchemy (>=1.3.18,<1.5.0)", "peewee (>=3.13.3,<4.0.0)", "databases[sqlite] (>=0.3.2,<0.6.0)", "orjson (>=3.2.1,<4.0.0)", "ujson (>=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,<6.0.0)", "python-multipart (>=0.0.5,<0.0.6)", "flask (>=1.1.2,<3.0.0)", "anyio[trio] (>=3.2.1,<4.0.0)", "types-ujson (==4.2.1)", "types-orjson (==3.6.2)", "types-dataclasses (==0.6.5)"]
296
+ doc = ["mkdocs (>=1.1.2,<2.0.0)", "mkdocs-material (>=8.1.4,<9.0.0)", "mdx-include (>=1.4.1,<2.0.0)", "mkdocs-markdownextradata-plugin (>=0.1.7,<0.3.0)", "typer (>=0.4.1,<0.5.0)", "pyyaml (>=5.3.1,<7.0.0)"]
297
  all = ["requests (>=2.24.0,<3.0.0)", "jinja2 (>=2.11.2,<4.0.0)", "python-multipart (>=0.0.5,<0.0.6)", "itsdangerous (>=1.1.0,<3.0.0)", "pyyaml (>=5.3.1,<7.0.0)", "ujson (>=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,<6.0.0)", "orjson (>=3.2.1,<4.0.0)", "email_validator (>=1.1.1,<2.0.0)", "uvicorn[standard] (>=0.12.0,<0.18.0)"]
298
  dev = ["python-jose[cryptography] (>=3.3.0,<4.0.0)", "passlib[bcrypt] (>=1.7.2,<2.0.0)", "autoflake (>=1.4.0,<2.0.0)", "flake8 (>=3.8.3,<4.0.0)", "uvicorn[standard] (>=0.12.0,<0.18.0)", "pre-commit (>=2.17.0,<3.0.0)"]
 
 
299
 
300
  [[package]]
301
  name = "feedfinder2"
 
350
  python-versions = ">=3.7"
351
 
352
  [package.extras]
353
+ plot = ["matplotlib"]
354
  all = ["fs (>=2.2.0,<3)", "lxml (>=4.0,<5)", "zopfli (>=0.1.4)", "lz4 (>=1.7.4.2)", "matplotlib", "sympy", "skia-pathops (>=0.5.0)", "uharfbuzz (>=0.23.0)", "brotlicffi (>=0.8.0)", "scipy", "brotli (>=1.0.1)", "munkres", "unicodedata2 (>=14.0.0)", "xattr"]
 
 
355
  lxml = ["lxml (>=4.0,<5)"]
356
+ interpolatable = ["scipy", "munkres"]
357
+ ufo = ["fs (>=2.2.0,<3)"]
358
  pathops = ["skia-pathops (>=0.5.0)"]
359
+ woff = ["zopfli (>=0.1.4)", "brotlicffi (>=0.8.0)", "brotli (>=1.0.1)"]
 
360
  symfont = ["sympy"]
361
+ graphite = ["lz4 (>=1.7.4.2)"]
 
362
  unicode = ["unicodedata2 (>=14.0.0)"]
363
+ repacker = ["uharfbuzz (>=0.23.0)"]
364
+ type1 = ["xattr"]
365
 
366
  [[package]]
367
  name = "frozenlist"
 
371
  optional = false
372
  python-versions = ">=3.7"
373
 
374
+ [[package]]
375
+ name = "fsspec"
376
+ version = "2022.5.0"
377
+ description = "File-system specification"
378
+ category = "main"
379
+ optional = false
380
+ python-versions = ">=3.7"
381
+
382
+ [package.extras]
383
+ oci = ["ocifs"]
384
+ hdfs = ["pyarrow (>=1)"]
385
+ entrypoints = ["importlib-metadata"]
386
+ git = ["pygit2"]
387
+ gs = ["gcsfs"]
388
+ s3 = ["s3fs"]
389
+ gui = ["panel"]
390
+ sftp = ["paramiko"]
391
+ github = ["requests"]
392
+ gcs = ["gcsfs"]
393
+ fuse = ["fusepy"]
394
+ tqdm = ["tqdm"]
395
+ ssh = ["paramiko"]
396
+ arrow = ["pyarrow (>=1)"]
397
+ dropbox = ["dropboxdrivefs", "requests", "dropbox"]
398
+ abfs = ["adlfs"]
399
+ http = ["requests", "aiohttp"]
400
+ adl = ["adlfs"]
401
+ libarchive = ["libarchive-c"]
402
+ dask = ["dask", "distributed"]
403
+ smb = ["smbprotocol"]
404
+
405
  [[package]]
406
  name = "gradio"
407
+ version = "3.0.18"
408
  description = "Python library for easily interacting with trained machine learning models"
409
  category = "main"
410
  optional = false
 
415
  analytics-python = "*"
416
  fastapi = "*"
417
  ffmpy = "*"
418
+ fsspec = "*"
419
  Jinja2 = "*"
420
  markdown-it-py = {version = "*", extras = ["linkify", "plugins"]}
421
  matplotlib = "*"
 
529
  uc-micro-py = "*"
530
 
531
  [package.extras]
532
+ test = ["coverage", "pytest", "pytest-cov"]
533
+ doc = ["sphinx", "sphinx-book-theme", "myst-parser"]
534
  benchmark = ["pytest", "pytest-benchmark"]
535
  dev = ["pre-commit", "isort", "flake8", "black"]
 
 
536
 
537
  [[package]]
538
  name = "lxml"
 
543
  python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, != 3.4.*"
544
 
545
  [package.extras]
546
+ source = ["Cython (>=0.29.7)"]
547
  cssselect = ["cssselect (>=0.7)"]
548
  html5 = ["html5lib"]
549
  htmlsoup = ["beautifulsoup4"]
 
550
 
551
  [[package]]
552
  name = "markdown-it-py"
 
562
  mdurl = ">=0.1,<1.0"
563
 
564
  [package.extras]
565
+ rtd = ["attrs", "myst-parser", "pyyaml", "sphinx", "sphinx-copybutton", "sphinx-design", "sphinx-book-theme"]
 
566
  compare = ["commonmark (>=0.9.1,<0.10.0)", "markdown (>=3.3.6,<3.4.0)", "mistletoe (>=0.8.1,<0.9.0)", "mistune (>=2.0.2,<2.1.0)", "panflute (>=2.1.3,<2.2.0)"]
 
 
567
  profiling = ["gprof2dot"]
568
+ code_style = ["pre-commit (==2.6)"]
569
  testing = ["coverage", "pytest", "pytest-cov", "pytest-regressions"]
570
+ plugins = ["mdit-py-plugins"]
571
+ linkify = ["linkify-it-py (>=1.0,<2.0)"]
572
+ benchmarking = ["psutil", "pytest", "pytest-benchmark (>=3.2,<4.0)"]
573
 
574
  [[package]]
575
  name = "markupsafe"
 
610
  markdown-it-py = ">=1.0.0,<3.0.0"
611
 
612
  [package.extras]
 
613
  rtd = ["myst-parser (>=0.14.0,<0.15.0)", "sphinx-book-theme (>=0.1.0,<0.2.0)"]
614
+ code_style = ["pre-commit (==2.6)"]
615
  testing = ["coverage", "pytest (>=3.6,<4)", "pytest-cov", "pytest-regressions"]
616
 
617
  [[package]]
 
656
 
657
  [package.extras]
658
  default = ["numpy (>=1.19)", "scipy (>=1.8)", "matplotlib (>=3.4)", "pandas (>=1.3)"]
 
659
  doc = ["sphinx (>=5)", "pydata-sphinx-theme (>=0.9)", "sphinx-gallery (>=0.10)", "numpydoc (>=1.4)", "pillow (>=9.1)", "nb2plots (>=0.6)", "texext (>=0.6.6)"]
 
660
  test = ["pytest (>=7.1)", "pytest-cov (>=3.0)", "codecov (>=2.1)"]
661
+ developer = ["pre-commit (>=2.19)", "mypy (>=0.960)"]
662
+ extra = ["lxml (>=4.6)", "pygraphviz (>=1.9)", "pydot (>=1.4.2)", "sympy (>=1.10)"]
663
 
664
  [[package]]
665
  name = "newspaper3k"
 
699
  tqdm = "*"
700
 
701
  [package.extras]
 
 
 
702
  plot = ["matplotlib"]
703
+ all = ["numpy", "pyparsing", "scipy", "matplotlib", "twython", "requests", "scikit-learn", "python-crfsuite"]
704
  twitter = ["twython"]
705
+ tgrep = ["pyparsing"]
706
+ machine_learning = ["numpy", "python-crfsuite", "scikit-learn", "scipy"]
707
+ corenlp = ["requests"]
708
 
709
  [[package]]
710
  name = "numpy"
 
768
  six = "*"
769
 
770
  [package.extras]
 
771
  ed25519 = ["pynacl (>=1.0.1)", "bcrypt (>=3.1.3)"]
772
+ all = ["pyasn1 (>=0.1.7)", "pynacl (>=1.0.1)", "bcrypt (>=3.1.3)", "invoke (>=1.3)", "gssapi (>=1.4.1)", "pywin32 (>=2.1.8)"]
773
  gssapi = ["pyasn1 (>=0.1.7)", "gssapi (>=1.4.1)", "pywin32 (>=2.1.8)"]
774
  invoke = ["invoke (>=1.3)"]
775
 
 
786
  typer = ">=0.3.0,<1.0.0"
787
 
788
  [package.extras]
 
 
789
  s3 = ["boto3"]
790
  test = ["pytest", "pytest-coverage", "mock", "typer-cli"]
791
+ all = ["google-cloud-storage (>=1.26.0,<2.0.0)", "boto3", "pytest", "pytest-coverage", "mock", "typer-cli"]
792
+ gcs = ["google-cloud-storage (>=1.26.0,<2.0.0)"]
793
 
794
  [[package]]
795
  name = "phonenumbers"
 
923
  python-versions = ">=3.7"
924
 
925
  [package.extras]
 
926
  test = ["pytest", "pytest-cov", "pytest-flake8", "pytest-isort", "coverage"]
927
+ doc = ["sphinx", "sphinx-rtd-theme"]
928
 
929
  [[package]]
930
  name = "python-dateutil"
 
987
  urllib3 = ">=1.21.1,<1.27"
988
 
989
  [package.extras]
 
990
  use_chardet_on_py3 = ["chardet (>=3.0.2,<5)"]
991
+ socks = ["PySocks (>=1.5.6,!=1.5.7)"]
992
 
993
  [[package]]
994
  name = "requests-file"
 
1017
  threadpoolctl = ">=2.0.0"
1018
 
1019
  [package.extras]
 
1020
  docs = ["matplotlib (>=3.1.2)", "scikit-image (>=0.14.5)", "pandas (>=1.0.5)", "seaborn (>=0.9.0)", "memory-profiler (>=0.57.0)", "sphinx (>=4.0.1)", "sphinx-gallery (>=0.7.0)", "numpydoc (>=1.2.0)", "Pillow (>=7.1.2)", "sphinx-prompt (>=1.3.0)", "sphinxext-opengraph (>=0.4.2)"]
 
1021
  tests = ["matplotlib (>=3.1.2)", "scikit-image (>=0.14.5)", "pandas (>=1.0.5)", "pytest (>=5.0.1)", "pytest-cov (>=2.9.0)", "flake8 (>=3.8.2)", "black (>=22.3.0)", "mypy (>=0.770)", "pyamg (>=4.0.0)", "numpydoc (>=1.2.0)"]
1022
+ benchmark = ["matplotlib (>=3.1.2)", "pandas (>=1.0.5)", "memory-profiler (>=0.57.0)"]
1023
+ examples = ["matplotlib (>=3.1.2)", "scikit-image (>=0.14.5)", "pandas (>=1.0.5)", "seaborn (>=0.9.0)"]
1024
 
1025
  [[package]]
1026
  name = "scipy"
 
1075
 
1076
  [package.extras]
1077
  all = ["boto3", "google-cloud-storage", "azure-storage-blob", "azure-common", "azure-core", "requests"]
 
 
1078
  http = ["requests"]
1079
  s3 = ["boto3"]
 
1080
  webhdfs = ["requests"]
1081
+ azure = ["azure-storage-blob", "azure-common", "azure-core"]
1082
+ gcs = ["google-cloud-storage"]
1083
+ test = ["boto3", "google-cloud-storage", "azure-storage-blob", "azure-common", "azure-core", "requests", "moto[server] (==1.3.14)", "pathlib2", "responses", "paramiko", "parameterizedtestcase", "pytest", "pytest-rerunfailures"]
1084
 
1085
  [[package]]
1086
  name = "sniffio"
 
1128
  wasabi = ">=0.9.1,<1.1.0"
1129
 
1130
  [package.extras]
1131
+ lookups = ["spacy-lookups-data (>=1.0.3,<1.1.0)"]
1132
+ transformers = ["spacy-transformers (>=1.1.2,<1.2.0)"]
1133
  apple = ["thinc-apple-ops (>=0.0.4,<1.0.0)"]
 
 
 
 
 
 
 
 
 
 
 
1134
  cuda90 = ["cupy-cuda90 (>=5.0.0b4,<11.0.0)"]
1135
  cuda91 = ["cupy-cuda91 (>=5.0.0b4,<11.0.0)"]
1136
  cuda92 = ["cupy-cuda92 (>=5.0.0b4,<11.0.0)"]
1137
+ cuda115 = ["cupy-cuda115 (>=5.0.0b4,<11.0.0)"]
1138
  ko = ["natto-py (==0.9.0)"]
1139
+ cuda102 = ["cupy-cuda102 (>=5.0.0b4,<11.0.0)"]
1140
+ ja = ["sudachipy (>=0.5.2,!=0.6.1)", "sudachidict-core (>=20211220)"]
1141
+ cuda112 = ["cupy-cuda112 (>=5.0.0b4,<11.0.0)"]
1142
+ cuda113 = ["cupy-cuda113 (>=5.0.0b4,<11.0.0)"]
1143
+ cuda110 = ["cupy-cuda110 (>=5.0.0b4,<11.0.0)"]
1144
+ cuda111 = ["cupy-cuda111 (>=5.0.0b4,<11.0.0)"]
1145
+ cuda101 = ["cupy-cuda101 (>=5.0.0b4,<11.0.0)"]
1146
+ cuda100 = ["cupy-cuda100 (>=5.0.0b4,<11.0.0)"]
1147
  th = ["pythainlp (>=2.0)"]
1148
+ cuda80 = ["cupy-cuda80 (>=5.0.0b4,<11.0.0)"]
1149
+ cuda = ["cupy (>=5.0.0b4,<11.0.0)"]
1150
+ cuda114 = ["cupy-cuda114 (>=5.0.0b4,<11.0.0)"]
1151
+ ray = ["spacy-ray (>=0.1.0,<1.0.0)"]
1152
 
1153
  [[package]]
1154
  name = "spacy-legacy"
 
1219
  tqdm = ">=4.19.6"
1220
 
1221
  [package.extras]
1222
+ viz = ["matplotlib (>=3.0.0)"]
1223
+ docs = ["recommonmark (>=0.6.0,<0.7.0)", "sphinx (>=3.0.0,<4.0.0)"]
1224
  build_and_test = ["build", "pytest (>=6.0,<7.0)", "pytest-cov", "twine (>=3.0.0)", "wheel"]
1225
  dev = ["black", "build", "flake8 (>=3.8.0)", "mypy (>=0.900)", "recommonmark (>=0.6.0,<0.7.0)", "sphinx (>=3.0.0,<4.0.0)", "pytest (>=6.0,<7.0)", "pytest-cov", "twine (>=3.0.0)", "wheel"]
 
1226
  lint_and_format = ["black", "flake8 (>=3.8.0)", "mypy (>=0.900)"]
 
1227
 
1228
  [[package]]
1229
  name = "thinc"
 
1245
  wasabi = ">=0.8.1,<1.1.0"
1246
 
1247
  [package.extras]
1248
+ datasets = ["ml-datasets (>=0.2.0,<0.3.0)"]
1249
+ mxnet = ["mxnet (>=1.5.1,<1.6.0)"]
1250
+ cuda90 = ["cupy-cuda90 (>=5.0.0b4)"]
1251
+ cuda91 = ["cupy-cuda91 (>=5.0.0b4)"]
1252
+ cuda92 = ["cupy-cuda92 (>=5.0.0b4)"]
1253
+ torch = ["torch (>=1.6.0)"]
1254
  cuda112 = ["cupy-cuda112 (>=5.0.0b4)"]
1255
  cuda113 = ["cupy-cuda113 (>=5.0.0b4)"]
1256
+ cuda110 = ["cupy-cuda110 (>=5.0.0b4)"]
1257
  cuda115 = ["cupy-cuda115 (>=5.0.0b4)"]
1258
+ cuda101 = ["cupy-cuda101 (>=5.0.0b4)"]
1259
+ cuda = ["cupy (>=5.0.0b4)"]
1260
+ cuda114 = ["cupy-cuda114 (>=5.0.0b4)"]
1261
  cuda80 = ["cupy-cuda80 (>=5.0.0b4)"]
 
 
 
 
 
1262
  tensorflow = ["tensorflow (>=2.0.0,<2.6.0)"]
1263
+ cuda111 = ["cupy-cuda111 (>=5.0.0b4)"]
1264
+ cuda102 = ["cupy-cuda102 (>=5.0.0b4)"]
1265
+ cuda100 = ["cupy-cuda100 (>=5.0.0b4)"]
1266
 
1267
  [[package]]
1268
  name = "threadpoolctl"
 
1322
  colorama = {version = "*", markers = "platform_system == \"Windows\""}
1323
 
1324
  [package.extras]
1325
+ telegram = ["requests"]
1326
  notebook = ["ipywidgets (>=6)"]
1327
  slack = ["slack-sdk"]
1328
+ dev = ["py-make (>=0.1.0)", "twine", "wheel"]
1329
 
1330
  [[package]]
1331
  name = "typer"
 
1339
  click = ">=7.1.1,<9.0.0"
1340
 
1341
  [package.extras]
1342
+ test = ["shellingham (>=1.3.0,<2.0.0)", "pytest (>=4.4.0,<5.4.0)", "pytest-cov (>=2.10.0,<3.0.0)", "coverage (>=5.2,<6.0)", "pytest-xdist (>=1.32.0,<2.0.0)", "pytest-sugar (>=0.9.4,<0.10.0)", "mypy (==0.910)", "black (>=22.3.0,<23.0.0)", "isort (>=5.0.6,<6.0.0)"]
1343
+ doc = ["mkdocs (>=1.1.2,<2.0.0)", "mkdocs-material (>=8.1.4,<9.0.0)", "mdx-include (>=1.4.1,<2.0.0)"]
1344
  all = ["colorama (>=0.4.3,<0.5.0)", "shellingham (>=1.3.0,<2.0.0)"]
1345
  dev = ["autoflake (>=1.3.1,<2.0.0)", "flake8 (>=3.8.3,<4.0.0)"]
 
 
1346
 
1347
  [[package]]
1348
  name = "typing-extensions"
 
1415
  [metadata]
1416
  lock-version = "1.1"
1417
  python-versions = "~3.8"
1418
+ content-hash = "f2bf888b325ef9d3f418a6cdcbd951892aeebf16eff5cbad5fc73088a0b3b36f"
1419
 
1420
  [metadata.files]
1421
  aiohttp = [
 
1777
  {file = "frozenlist-1.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:772965f773757a6026dea111a15e6e2678fbd6216180f82a48a40b27de1ee2ab"},
1778
  {file = "frozenlist-1.3.0.tar.gz", hash = "sha256:ce6f2ba0edb7b0c1d8976565298ad2deba6f8064d2bebb6ffce2ca896eb35b0b"},
1779
  ]
1780
+ fsspec = [
1781
+ {file = "fsspec-2022.5.0-py3-none-any.whl", hash = "sha256:2c198c50eb541a80bbd03540b07602c4a957366f3fb416a1f270d34bd4ff0926"},
1782
+ {file = "fsspec-2022.5.0.tar.gz", hash = "sha256:7a5459c75c44e760fbe6a3ccb1f37e81e023cde7da8ba20401258d877ec483b4"},
1783
+ ]
1784
  gradio = [
1785
+ {file = "gradio-3.0.18-py3-none-any.whl", hash = "sha256:396c92d432defeec2a04b557dc9816989a021617315ad35b8458cab0ea8d0286"},
1786
+ {file = "gradio-3.0.18.tar.gz", hash = "sha256:3e8edaca3dc7ee888a4583d029b5278da0068d341b8c85e1bbebfabdf152ac5d"},
1787
  ]
1788
  h11 = [
1789
  {file = "h11-0.13.0-py3-none-any.whl", hash = "sha256:8ddd78563b633ca55346c8cd41ec0af27d3c79931828beffb46ce70a379e7442"},
pyproject.toml CHANGED
@@ -11,7 +11,7 @@ textacy = "^0.12.0"
11
  hu-core-news-lg = {url = "https://huggingface.co/huspacy/hu_core_news_lg/resolve/v3.3.0/hu_core_news_lg-any-py3-none-any.whl"}
12
  scipy = "~1.8.0"
13
  newspaper3k = "^0.2.8"
14
- gradio = "^3.0.11"
15
  Faker = "^13.13.0"
16
  presidio-analyzer = "^2.2.28"
17
  presidio-anonymizer = "^2.2.28"
@@ -19,5 +19,5 @@ presidio-anonymizer = "^2.2.28"
19
  [tool.poetry.dev-dependencies]
20
 
21
  [build-system]
22
- requires = ["poetry-core>=1.0.0"]
23
  build-backend = "poetry.core.masonry.api"
 
11
  hu-core-news-lg = {url = "https://huggingface.co/huspacy/hu_core_news_lg/resolve/v3.3.0/hu_core_news_lg-any-py3-none-any.whl"}
12
  scipy = "~1.8.0"
13
  newspaper3k = "^0.2.8"
14
+ gradio = "^3.0.18"
15
  Faker = "^13.13.0"
16
  presidio-analyzer = "^2.2.28"
17
  presidio-anonymizer = "^2.2.28"
 
19
  [tool.poetry.dev-dependencies]
20
 
21
  [build-system]
22
+ requires = ["poetry-core>=1.0.0", "pip>=22.1.2"]
23
  build-backend = "poetry.core.masonry.api"
requirements.txt CHANGED
@@ -1,109 +1,108 @@
1
- aiohttp==3.8.1
2
- aiosignal==1.2.0
3
- analytics-python==1.4.0
4
- anyio==3.6.1
5
- asgiref==3.5.2
6
- async-timeout==4.0.2
7
- attrs==21.4.0
8
- backoff==1.10.0
9
- bcrypt==3.2.2
10
- beautifulsoup4==4.11.1
11
- blis==0.7.7
12
- cachetools==5.2.0
13
- catalogue==2.0.7
14
- certifi==2022.5.18.1
15
- cffi==1.15.0
16
- charset-normalizer==2.0.12
17
- charset-normalizer==2.0.12; python_version >= "3"
18
- click==8.1.3
19
- colorama==0.4.4; platform_system == "Windows"
20
- cryptography==37.0.2
21
- cssselect==1.1.0
22
- cycler==0.11.0
23
- cymem==2.0.6
24
- cytoolz==0.11.2
25
- fastapi==0.78.0
26
  feedfinder2==0.0.4
27
- feedparser==6.0.10
28
- ffmpy==0.3.0
29
- filelock==3.7.1
30
- fonttools==4.33.3
31
- frozenlist==1.3.0
32
- gradio==3.0.11
33
- h11==0.13.0
 
34
  hu-core-news-lg @ https://huggingface.co/huspacy/hu_core_news_lg/resolve/v3.3.0/hu_core_news_lg-any-py3-none-any.whl
35
- idna==3.3
36
- idna==3.3; python_version >= "3"
37
- jellyfish==0.9.0
38
  jieba3k==0.35.1
39
- jinja2==3.1.2
40
- joblib==1.1.0
41
- kiwisolver==1.4.2
42
- langcodes==3.3.0
43
- linkify-it-py==1.0.3
44
- lxml==4.9.0
45
- markdown-it-py==2.1.0
46
- markupsafe==2.1.1
47
- matplotlib==3.5.2
48
- mdit-py-plugins==0.3.0
49
- mdurl==0.1.1
50
- monotonic==1.6
51
- multidict==6.0.2
52
- murmurhash==1.0.7
53
- networkx==2.8.2
54
  newspaper3k==0.2.8
55
- nltk==3.7
56
  numpy==1.22.4
57
- numpy==1.22.4; platform_machine != "aarch64" and platform_machine != "arm64" and python_version < "3.10"
58
- numpy==1.22.4; platform_machine == "aarch64" and python_version < "3.10"
59
- numpy==1.22.4; platform_machine == "arm64" and python_version < "3.10"
60
- orjson==3.7.0
61
- packaging==21.3
62
- pandas==1.4.2
63
- paramiko==2.11.0
64
- pathy==0.6.1
65
- pillow==9.1.1
66
- preshed==3.0.6
67
- pycparser==2.21
68
- pycryptodome==3.14.1
69
- pydantic==1.8.2
70
- pydub==0.25.1
71
- pynacl==1.5.0
72
- pyparsing==3.0.9
73
- pyphen==0.12.0
74
- python-dateutil==2.8.2
75
- python-multipart==0.0.5
76
- pytz==2022.1
77
- pyyaml==6.0
78
- regex==2022.6.2
79
- requests-file==1.5.1
80
- requests==2.27.1
81
- scikit-learn==1.1.1
82
- scipy==1.8.1
83
- setuptools-scm==6.4.2
84
- sgmllib3k==1.0.0
85
- six==1.16.0
86
- smart-open==5.2.1
87
- sniffio==1.2.0
88
- soupsieve==2.3.2.post1
89
- spacy-legacy==3.0.9
90
- spacy-loggers==1.0.2
91
- spacy==3.3.0
92
- srsly==2.4.3
93
- starlette==0.19.1
94
- textacy==0.12.0
95
- thinc==8.0.17
96
- threadpoolctl==3.1.0
97
  tinysegmenter==0.3
98
- tldextract==3.3.0
99
- tomli==2.0.1
100
- toolz==0.11.2
101
- tqdm==4.64.0
102
- typer==0.4.1
103
- typing-extensions==4.2.0
104
- typing-extensions==4.2.0; python_version < "3.10"
105
- uc-micro-py==1.0.1
106
- urllib3==1.26.9
107
- uvicorn==0.17.6
108
- wasabi==0.9.1
109
- yarl==1.7.2
 
1
+ aiohttp==3.8.1; python_version >= "3.7"
2
+ aiosignal==1.2.0; python_version >= "3.7"
3
+ analytics-python==1.4.0; python_version >= "3.7"
4
+ anyio==3.6.1; python_full_version >= "3.6.2" and python_version >= "3.7"
5
+ asgiref==3.5.2; python_version >= "3.7"
6
+ async-timeout==4.0.2; python_version >= "3.7"
7
+ attrs==21.4.0; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
8
+ backoff==1.10.0; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
9
+ bcrypt==3.2.2; python_version >= "3.7"
10
+ beautifulsoup4==4.11.1; python_full_version >= "3.6.0"
11
+ blis==0.7.7; python_version >= "3.8"
12
+ cachetools==5.2.0; python_version >= "3.8" and python_version < "4.0"
13
+ catalogue==2.0.7; python_version >= "3.8"
14
+ certifi==2022.6.15; python_version >= "3.8" and python_version < "4"
15
+ cffi==1.15.0; python_version >= "3.7"
16
+ charset-normalizer==2.0.12; python_version >= "3.8" and python_version < "4" and python_full_version >= "3.5.0"
17
+ click==8.1.3; python_version >= "3.8"
18
+ colorama==0.4.5; python_version >= "3.8" and python_full_version < "3.0.0" and platform_system == "Windows" or python_full_version >= "3.5.0" and python_version >= "3.8" and platform_system == "Windows"
19
+ cryptography==37.0.2; python_version >= "3.7"
20
+ cssselect==1.1.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.4.0"
21
+ cycler==0.11.0; python_version >= "3.7"
22
+ cymem==2.0.6; python_version >= "3.8"
23
+ cytoolz==0.11.2; python_version >= "3.8"
24
+ faker==13.13.0; python_version >= "3.6"
25
+ fastapi==0.78.0; python_full_version >= "3.6.1" and python_version >= "3.7"
26
  feedfinder2==0.0.4
27
+ feedparser==6.0.10; python_version >= "3.6"
28
+ ffmpy==0.3.0; python_version >= "3.7"
29
+ filelock==3.7.1; python_version >= "3.7"
30
+ fonttools==4.33.3; python_version >= "3.7"
31
+ frozenlist==1.3.0; python_version >= "3.7"
32
+ fsspec==2022.5.0; python_version >= "3.7"
33
+ gradio==3.0.18; python_version >= "3.7"
34
+ h11==0.13.0; python_version >= "3.7"
35
  hu-core-news-lg @ https://huggingface.co/huspacy/hu_core_news_lg/resolve/v3.3.0/hu_core_news_lg-any-py3-none-any.whl
36
+ idna==3.3; python_version >= "3.8" and python_version < "4" and python_full_version >= "3.6.2"
37
+ jellyfish==0.9.0; python_version >= "3.8"
 
38
  jieba3k==0.35.1
39
+ jinja2==3.1.2; python_version >= "3.8"
40
+ joblib==1.1.0; python_version >= "3.8"
41
+ kiwisolver==1.4.3; python_version >= "3.7"
42
+ langcodes==3.3.0; python_version >= "3.8"
43
+ linkify-it-py==1.0.3; python_version >= "3.7"
44
+ lxml==4.9.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
45
+ markdown-it-py==2.1.0; python_version >= "3.7" and python_version < "4.0"
46
+ markupsafe==2.1.1; python_version >= "3.8"
47
+ matplotlib==3.5.2; python_version >= "3.7"
48
+ mdit-py-plugins==0.3.0; python_version >= "3.7" and python_version < "4.0"
49
+ mdurl==0.1.1; python_version >= "3.7"
50
+ monotonic==1.6; python_version >= "3.7"
51
+ multidict==6.0.2; python_version >= "3.7"
52
+ murmurhash==1.0.7; python_version >= "3.8"
53
+ networkx==2.8.4; python_version >= "3.8"
54
  newspaper3k==0.2.8
55
+ nltk==3.7; python_version >= "3.7"
56
  numpy==1.22.4
57
+ orjson==3.7.2; python_version >= "3.7"
58
+ packaging==21.3; python_version >= "3.8"
59
+ pandas==1.4.2; python_version >= "3.8"
60
+ paramiko==2.11.0; python_version >= "3.7"
61
+ pathy==0.6.1; python_version >= "3.8"
62
+ phonenumbers==8.12.50
63
+ pillow==9.1.1; python_version >= "3.7"
64
+ preshed==3.0.6; python_version >= "3.8"
65
+ presidio-analyzer==2.2.28
66
+ presidio-anonymizer==2.2.28; python_version >= "3.5"
67
+ pycparser==2.21; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.7"
68
+ pycryptodome==3.14.1; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
69
+ pydantic==1.8.2; python_full_version >= "3.6.1" and python_version >= "3.8"
70
+ pydub==0.25.1; python_version >= "3.7"
71
+ pynacl==1.5.0; python_version >= "3.7"
72
+ pyparsing==3.0.9; python_full_version >= "3.6.8" and python_version >= "3.8"
73
+ pyphen==0.12.0; python_version >= "3.8"
74
+ python-dateutil==2.8.2; python_version >= "3.8" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.8"
75
+ python-multipart==0.0.5; python_version >= "3.7"
76
+ pytz==2022.1; python_version >= "3.8"
77
+ pyyaml==6.0; python_version >= "3.6"
78
+ regex==2022.6.2; python_version >= "3.7"
79
+ requests-file==1.5.1; python_version >= "3.7"
80
+ requests==2.28.0; python_version >= "3.8" and python_version < "4"
81
+ scikit-learn==1.1.1; python_version >= "3.8"
82
+ scipy==1.8.1; python_version >= "3.8" and python_version < "3.11"
83
+ setuptools-scm==6.4.2; python_version >= "3.7"
84
+ sgmllib3k==1.0.0; python_version >= "3.6"
85
+ six==1.16.0; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.7"
86
+ smart-open==5.2.1; python_version >= "3.8" and python_version < "4.0"
87
+ sniffio==1.2.0; python_full_version >= "3.6.2" and python_version >= "3.7"
88
+ soupsieve==2.3.2.post1; python_version >= "3.6" and python_full_version >= "3.6.0"
89
+ spacy-legacy==3.0.9; python_version >= "3.8"
90
+ spacy-loggers==1.0.2; python_version >= "3.8"
91
+ spacy==3.3.1; python_version >= "3.8"
92
+ srsly==2.4.3; python_version >= "3.8"
93
+ starlette==0.19.1; python_full_version >= "3.6.1" and python_version >= "3.7"
94
+ textacy==0.12.0; python_version >= "3.8"
95
+ thinc==8.0.17; python_version >= "3.8"
96
+ threadpoolctl==3.1.0; python_version >= "3.8"
97
  tinysegmenter==0.3
98
+ tldextract==3.3.0; python_version >= "3.7"
99
+ tomli==2.0.1; python_version >= "3.7"
100
+ toolz==0.11.2; python_version >= "3.8"
101
+ tqdm==4.64.0; python_version >= "3.8" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.8"
102
+ typer==0.4.1; python_version >= "3.8"
103
+ typing-extensions==4.2.0; python_full_version >= "3.6.1" and python_version >= "3.8" and python_version < "3.10"
104
+ uc-micro-py==1.0.1; python_version >= "3.7"
105
+ urllib3==1.26.9; python_version >= "3.8" and python_full_version < "3.0.0" and python_version < "4" or python_full_version >= "3.5.0" and python_version < "4" and python_version >= "3.8"
106
+ uvicorn==0.17.6; python_version >= "3.7"
107
+ wasabi==0.9.1; python_version >= "3.8"
108
+ yarl==1.7.2; python_version >= "3.7"