文件名称:text_normalization
文件大小:6KB
文件格式:ZIP
更新时间:2024-05-20 08:53:29
Python
text_normalization 用于将文本规范化为规范形式的Python模块。 安装 pip install normalization 例子 import normalization ## Whitespace Normalization # Output: "This is not a normal sentence structure. The spaces are incoherant." normalization . whitespace ( "This is not a normal sentence structure . The spaces are incoherant ." ) ## Capitalization Normalization # Output: "This is not capitalized. It should be
【文件预览】:
text_normalization-master
----setup.py(402B)
----MANIFEST.in(58B)
----LICENSE.txt(1KB)
----normalization()
--------__init__.pyc(3KB)
--------__init__.py(2KB)
----README.md(2KB)
----tests()
--------__main__.py(1KB)