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"when a unit hanja follows the numeral (年月日時分秒號世紀and others); uses"positional-arabic"for pure-digit runs of four or more characters (year convention); otherwise falls back to"hangul-phonetic". Corresponds to RustNumeralStrategy::Smart.