Registry / utility / icu-segmenter

icu-segmenter

JSON →
library2.2.0rscratesunverified

Unicode line breaking and text segmentation algorithms for text boundary analysis.

# Cargo.toml [dependencies] icu_segmenter = "2.2.0"
INSTALL
IMPORT
SIG · ICU-SEGMENTER
I
icu-segmenter
utilityrustv2.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LineBreakIterator
use icu_segmenter::LineBreakIterator;

Iterates over line break opportunities in a string.

use icu_segmenter::LineBreakIterator; fn main() { let text = "Hello, world!"; let iter = LineBreakIterator::new(text); for segment in iter { println!("{:?}", segment); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
icu-segmenter — cargo add icu-segmenter · libregistry