@gukhanmun/types 0.2.0-dev.96 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +7 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -99,11 +99,13 @@ type Segmentation = "lattice" | "eager";
|
|
|
99
99
|
* (`十百千萬億兆京`) using stack-based accumulation and produce Arabic,
|
|
100
100
|
* respecting the Korean convention that bare `十` means 10 not `一十`.
|
|
101
101
|
* Corresponds to Rust `NumeralStrategy::AdditiveArabic`.
|
|
102
|
-
* - `"smart"` — Uses `"additive-arabic"`
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
102
|
+
* - `"smart"` — Uses `"additive-arabic"` for additive numerals that
|
|
103
|
+
* begin with a digit, and for small-place-marker starts (`十`, `百`,
|
|
104
|
+
* `千`) unless the next character is an ambiguous non-unit hanja word
|
|
105
|
+
* character; uses `"positional-arabic"` for pure-digit runs of four or
|
|
106
|
+
* more characters (year convention) or when a unit hanja follows the
|
|
107
|
+
* digit run (`年月日時分秒號世紀` and others); otherwise falls back to
|
|
108
|
+
* `"hangul-phonetic"`. Corresponds to Rust `NumeralStrategy::Smart`.
|
|
107
109
|
*/
|
|
108
110
|
type NumeralStrategy = "hangul-phonetic" | "positional-arabic" | "additive-arabic" | "smart";
|
|
109
111
|
/**
|