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-rsOrigin
textproc/py-unicode-segmentation-rs
Size
587KiB
License
MIT
Maintainer
sunpoet@FreeBSD.org
Dependencies
1 packages
Required by
1 packages