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 wetextVerified import paths — ran on the pinned version, not inferred.
Initializes `WeTextProcessing` and processes a sample string.
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.
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.
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.