Skip to main content

#text-clean Process text for NLP.

how to use

from text_clean import TextClean


tc = TextClean()

_str = "繁 體 字是smasd ❶ ❷ ❸ ❹ 艹艹艹艹 艹艹艹艹nm 夶彩呗我 幹什麼 □ ■ ◇ ◆ − ++++++++ ⑪ ⑫ ⑬  ⒍ ⒎ ⒏ ⒐ W,X  asd鬼东 西錯 鍼٩(๑ᵒ̴̶͈᷄ᗨᵒ̴̶͈᷅)و q🕓🕛"

print(tc.clean(_str))

# output
# 繁体字是smasd1234艹艹艹nm大大彩呗我干什么+++1112136789wxasd鬼东西错针q

Metadata

Release files for text-clean 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for text-clean 0.1.5
File Size Uploaded Provenance Actions
text-clean-0.1.5.tar.gz 147.7 kB Without provenance Details for text-clean-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for text-clean 0.1.5
File Interpreter ABI Platform Actions
text_clean-0.1.5-py3-none-any.whl Python 3 none any Details for text_clean-0.1.5-py3-none-any.whl

Total release size: 294.4 kB

Release files / text-clean-0.1.5.tar.gz

Download URL text-clean-0.1.5.tar.gz
Size 147.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a3091959c0b00dff2ed3253f51a8da4027bbe67a97abb142c8d9a279b0f1cc7e
BLAKE2b-256 checksum
How to use checksums
e9d23a30eff09fbd895081271ae7f55caabbf0ab3d26c296d8fba5f53c7883d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.5

Release files / text_clean-0.1.5-py3-none-any.whl

Download URL text_clean-0.1.5-py3-none-any.whl
Size 146.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80cefdfd8f34d3d836aae9e07a83ba585555b8d424ff1ac6bb147d01e04d0875
BLAKE2b-256 checksum
How to use checksums
0928ad8d3bba41c3962daa9529808f67bef2758bc4d5e2f14a2565c5aaf80358
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.5

Security for text-clean 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page