SentenceSegmenter class final

An ICU4X sentence-break segmenter, capable of finding sentence breakpoints in strings.

See the Rust documentation for SentenceSegmenter for more information.

Implemented types

Constructors

SentenceSegmenter(DataProvider provider, Locale locale)
Construct an `SentenceSegmenter`.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
segment(String input) SentenceBreakIteratorUtf16
Segments a string.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

create(DataProvider provider) SentenceSegmenter
Construct an `SentenceSegmenter`.