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

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
text-clean-0.1.5.tar.gz 147.7 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

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