文件名称:phrase-recognizer
文件大小:2.86MB
文件格式:ZIP
更新时间:2024-04-20 02:33:22
Python
从pip3安装 pip3 install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple --verbose phrase_recognizer python -m spacy download en_core_web_trf python -m spacy download es_dep_news_trf 用法 检测名词短语 import spacy from spacy import Language from phrase_recognizer import NounPhraseRecognizer, PKG_INDICES @Language.factory("nprecog") def create_np_parser(nlp: Language, name:
【文件预览】:
phrase-recognizer-master
----phrase_recognizer()
--------components()
--------__init__.py(2KB)
--------lib.py(1KB)
--------regx()
--------rules()
--------constants.py(292B)
----poetry.lock(53KB)
----README.md(2KB)
----docs()
--------source()
--------make.bat(799B)
--------build()
--------Makefile(638B)
----tests()
--------test_lib.py(407B)
--------test_phrase_recognizer.py(98B)
--------__init__.py(0B)
--------test_components.py(2KB)
----.gitignore(36B)
----pyproject.toml(432B)