Registry / ai-ml / wetext

wetext

JSON →
library0.1.4pypypi✓ verified 87d ago

WeTextProcessing Runtime is a Python library providing text processing capabilities, including tokenization, POS tagging, and NER. It focuses on functionalities often relevant for Chinese text due to its dependencies on libraries like `jieba` and `hanlp`. The current version is `0.1.2`, and its development appears to be abandoned, with the last commit dating back to March 2022.

pip install wetext
INSTALL
IMPORT
SIG · WETEXT
W
wetext
ai-mlpythonv0.1.4
Install
2.1s avg
Import
—
Disk
37MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v0.1.4 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.920 runs
build_error
glibc
py 3.10–3.920 runs
installs and imports cleanly · install 2.1s · import 0.000s · 39MB
37MB installed
● package 37MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Normalizer
✓ from wetext import Normalizer
✗ from wetext import WeTextProcessing

Initializes `WeTextProcessing` and processes a sample string.

from wetext import WeTextProcessing # Create a WeTextProcessing object wetext = WeTextProcessing() # Process text text = "This is a sample text for WeTextProcessing." result = wetext.process(text) # Print the result print(f"Processed text: {result}")
Debug
Known issues
breakingThe library explicitly depends on `hanlp==0.0.0a11`, which is a very old alpha version. This specific version is known to be difficult to install, may have security vulnerabilities, or could conflict with newer Python versions or other dependencies.
fix
Attempt `pip install hanlp==0.0.0a11` separately to diagnose issues. Given the age and specificity, manual intervention or considering an alternative library for modern use is highly recommended.
affects: 0.1.2
gotchaThe `wetext` library appears to be abandoned since March 2022 (version 0.1.2). This means there are no ongoing bug fixes, security updates, or compatibility improvements for newer Python versions or upstream dependencies.
fix
Evaluate the long-term viability for your project. Be prepared for potential compatibility issues with newer Python environments (e.g., Python 3.10+), or consider alternative, actively maintained text processing libraries.
affects: 0.1.2
gotchaMinimal documentation is available, primarily consisting of the README. This makes it challenging to understand the full capabilities, internal workings, or advanced configuration options of the `WeTextProcessing` class.
fix
Review the source code directly on GitHub for deeper understanding. For complex use cases, expect to spend time reverse-engineering functionality or exploring alternatives with better documentation.
affects: 0.1.2
Upgrade
Version history
0.1.4latest on PyPI · released Jun 10, 2026
Audit
Dependencies
nltkrequiredRequired for various NLP tasks.
jiebarequiredChinese text segmentation.
regexrequiredRegular expression operations.
hanlp==0.0.0a11requiredA specific alpha version of HanLP, critical for core functionality but problematic.
tqdmrequiredProgress bar utility.
Agent activity
44 hits · last 30 days
node
40
OpenAI (training)
1
Resources
wetext — pip install wetext · libregistry