Files
ports/textproc/py-unicode-segmentation-rs/pkg-descr
Po-Chuan Hsieh d02fe93101 textproc/py-unicode-segmentation-rs: Add py-unicode-segmentation-rs 0.2.0
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
2025-12-02 20:04:15 +08:00

13 lines
583 B
Plaintext

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