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

上传者: 42131785 | 上传时间: 2022-10-27 10:51:40 | 文件大小: 20KB | 文件类型: ZIP
自然语言处理的文本预处理 用于自然语言处理中的文本预处理任务的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

文件下载

资源详情

[{"title":"( 21 个子文件 20KB ) text-preprocessing:自然语言处理中文本预处理任务的python包","children":[{"title":"text-preprocessing-master","children":[{"title":"MANIFEST.in <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":".github","children":[{"title":"FUNDING.yml <span style='color:#111;'> 19B </span>","children":null,"spread":false},{"title":"workflows","children":[{"title":"publish_to_pypi.yml <span style='color:#111;'> 851B </span>","children":null,"spread":false},{"title":"run_unit_test.yml <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"test_results","children":[{"title":".gitignore <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"requirements.txt <span style='color:#111;'> 85B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 21B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"setup.cfg <span style='color:#111;'> 477B </span>","children":null,"spread":false},{"title":"setup.py <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 4.90KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"text_preprocessing","children":[{"title":"text_preprocessing.py <span style='color:#111;'> 13.10KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 646B </span>","children":null,"spread":false},{"title":"data","children":[{"title":"ignore_spellcheck_words.txt <span style='color:#111;'> 892B </span>","children":null,"spread":false},{"title":"custom_substitutions.csv <span style='color:#111;'> 3.44KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"tests","children":[{"title":"run_tests.py <span style='color:#111;'> 458B </span>","children":null,"spread":false},{"title":"text_preprocessing_test.py <span style='color:#111;'> 33.53KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 1B </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 952B </span>","children":null,"spread":false},{"title":"DESCRIPTION.rst <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明