Type Alias: NumeralStrategy
NumeralStrategy =
"hangul-phonetic"|"positional-arabic"|"additive-arabic"|"smart"
Controls how runs of hanja numerals are converted. Corresponds to Rust
NumeralStrategy.
"hangul-phonetic"— Read every digit character-by-character in Korean phonetics. This is Seonbi's behaviour and the preset default. Corresponds to RustNumeralStrategy::HangulPhonetic."positional-arabic"— Treat a run of digit-only hanja (〇一二三四五六七八九and variants) as positional (place-value) notation and convert to Arabic. Corresponds to RustNumeralStrategy::PositionalArabic."additive-arabic"— Parse sequences containing place markers (十百千萬億兆京) using stack-based accumulation and produce Arabic, respecting the Korean convention that bare十means 10 not一十. Corresponds to RustNumeralStrategy::AdditiveArabic."smart"— Uses"additive-arabic"for additive numerals that begin with a digit, and for small-place-marker starts (十,百,千) unless the next character is an ambiguous non-unit hanja word character; uses"positional-arabic"for pure-digit runs of four or more characters (year convention) or when a unit hanja follows the digit run (年月日時分秒號世紀and others); otherwise falls back to"hangul-phonetic". Corresponds to RustNumeralStrategy::Smart.