External capabilities required by the pinned legacy Chinese pipeline.
An implementation must provide behavior equivalent to cn2an.transform
in an2cn mode, jieba.lcut with cut_all=False, and
pypinyin.lazy_pinyin with Style.TONE3 and
neutral_tone_with_five=True. The core does not bundle their data. The
contract is platform-neutral; concrete adapters must validate package and
dictionary availability before use. The sibling misakid_chinese package
implements it in pure Dart over explicit pinned resources.
- Implemented types
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- info → BackendInfo
-
Stable backend identity included in diagnostics and fixture metadata.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
normalizeNumbers(
String text) → String -
Performs cn2an-equivalent
an2cnnormalization over the complete input. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
segmentChinese(
String text) → List< String> - Segments one non-empty U+4E00-U+9FFF run in jieba word order.
-
tone3Pinyin(
String word) → List< String> - Returns tone-3 Pinyin syllables for one segmented word, in source order.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited