@gukhanmun/types 0.2.0-dev.95 → 0.2.0

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +7 -5
  2. 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"` when a unit hanja follows the
103
- * numeral (`年月日時分秒號世紀` and others); uses `"positional-arabic"`
104
- * for pure-digit runs of four or more characters (year convention);
105
- * otherwise falls back to `"hangul-phonetic"`. Corresponds to Rust
106
- * `NumeralStrategy::Smart`.
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
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gukhanmun/types",
3
- "version": "0.2.0-dev.95",
3
+ "version": "0.2.0",
4
4
  "description": "TypeScript API contract for Gukhanmun (type declarations only, no runtime code).",
5
5
  "type": "module",
6
6
  "exports": {