FreeBSD.software
Home/textproc/py311-unicode-segmentation-rs

py311-unicode-segmentation-rs

0.2.1textproc

Unicode segmentation and width for Python using Rust

Python bindings for the Rust unicode-segmentation and unicode-width crates, providing Unicode text segmentation and width calculation according to Unicode standards. Features: - Grapheme Cluster Segmentation: Split text into user-perceived characters - Word Segmentation: Split text into words according to Unicode rules - Sentence Segmentation: Split text into sentences - Display Width Calculation: Get the display width of text (for terminal/monospace display) - Gettext PO Wrapping: Wrap text for gettext PO files with proper handling of escape sequences and CJK characters

$pkg install py311-unicode-segmentation-rs
github.com/WeblateOrg/unicode-segmentation-rs
Origin
textproc/py-unicode-segmentation-rs
Size
587KiB
License
MIT
Maintainer
sunpoet@FreeBSD.org
Dependencies
1 packages
Required by
1 packages

Dependencies (1)

Required By (1)