text-preprocessing:自然语言处理中文本预处理任务的python包

时间:2021-05-31 01:17:22
【文件属性】:
文件名称:text-preprocessing:自然语言处理中文本预处理任务的python包
文件大小:20KB
文件格式:ZIP
更新时间:2021-05-31 01:17:22
python machine-learning natural-language-processing text-preprocessing Python 自然语言处理的文本预处理 用于自然语言处理中的文本预处理任务的python软件包。 用法 要使用这个文本预处理包,首先使用 pip 安装它: pip install text-preprocessing 然后,在您的 python 脚本中导入包并调用适当的函数: from text_preprocessing import preprocess_text from text_preprocessing import to_lower , remove_email , remove_url , remove_punctuation , lemmatize_word # Preprocess text using default preprocess functions in the pipeline text_to_process = 'Helllo, I am John Doe
【文件预览】:
text-preprocessing-master
----MANIFEST.in(143B)
----.github()
--------FUNDING.yml(19B)
--------workflows()
----test_results()
--------.gitignore(0B)
----requirements.txt(85B)
----__init__.py(21B)
----LICENSE(1KB)
----setup.cfg(477B)
----setup.py(1KB)
----README.md(5KB)
----Makefile(2KB)
----text_preprocessing()
--------text_preprocessing.py(13KB)
--------__init__.py(646B)
--------data()
----tests()
--------run_tests.py(458B)
--------text_preprocessing_test.py(34KB)
--------__init__.py(1B)
----.gitignore(952B)
----DESCRIPTION.rst(3KB)

网友评论