WeTextProcessing Runtime

0.1.2 · abandoned · verified Thu Apr 16

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.

Common errors

Warnings

Install

Imports

Quickstart

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}")

view raw JSON →