@mailwoman/core 8.2.0 → 8.4.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.
- package/data/libpostal/README.md +62 -0
- package/env/schema.ts +4 -0
- package/locale/profiles/ja-jp.ts +3 -0
- package/out/env/index.d.ts +2 -0
- package/out/env/index.d.ts.map +1 -1
- package/out/env/schema.d.ts +2 -0
- package/out/env/schema.d.ts.map +1 -1
- package/out/env/schema.js +3 -0
- package/out/env/schema.js.map +1 -1
- package/out/locale/profiles/ja-jp.d.ts.map +1 -1
- package/out/locale/profiles/ja-jp.js +3 -0
- package/out/locale/profiles/ja-jp.js.map +1 -1
- package/out/types/component.d.ts +2 -2
- package/out/types/component.js +3 -3
- package/out/types/component.js.map +1 -1
- package/package.json +2 -2
- package/types/component.ts +3 -3
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# The libpostal dictionaries — provenance, consumers, and the curated-data layering
|
|
2
|
+
|
|
3
|
+
These dictionaries came with Mailwoman's Pelias/libpostal roots: per-language equivalence tables
|
|
4
|
+
(`canonical|variant|variant…`, one class per line) that libpostal uses for classification and
|
|
5
|
+
expansion, across 61 language directories. In Mailwoman v1 they fed the rules classifiers
|
|
6
|
+
directly. **The rules parser was deleted in v7.0.0** — since then their role has flipped from
|
|
7
|
+
_runtime classifier fuel_ to _curation source material_, and this file records exactly who still
|
|
8
|
+
reads what, so nobody has to re-derive it (audited 2026-08-01; re-run the sweep before trusting
|
|
9
|
+
this list across major refactors).
|
|
10
|
+
|
|
11
|
+
## Who reads what (the complete consumer map)
|
|
12
|
+
|
|
13
|
+
| File | Consumer | What it feeds |
|
|
14
|
+
| ----------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
15
|
+
| `<lang>/directionals.txt` | `mailwoman/gazetteer-pipeline/evidence-lexicons.ts` (curation languages) | The **law-1 directional closure**: locality evidence may never paint onto a directional-ish surface (the v3.19 lesson — US neighbourhoods literally named "Northeast" truncated "3rd Ave NE"). Reaches the model through the locality-surface evidence channel. |
|
|
16
|
+
| `en/directionals.txt`, `en/street_types.txt` | `corpus/src/adapters/tiger/street-decompose.ts` | Splitting raw TIGER street strings into prefix/name/suffix for BIO training gold. |
|
|
17
|
+
| `fr/street_types.txt` | `corpus/src/adapters/ban/street-decompose.ts` | Same, for BAN. |
|
|
18
|
+
| `<lang>/street_types.txt` (all 60 locales that ship one) | `mailwoman/gazetteer-pipeline/street-morphology.ts` (+ the `gazetteer build street-morphology` command) | `fst-street-morphology.bin` — the browser street-affix gate (survey #1, shipped v8.1.0). |
|
|
19
|
+
| `all/given_names.txt`, `all/surnames.txt`, `<lang>/personal_titles.txt` | `evidence-lexicons.ts` | The **person-name tier**: 1-token person-name surfaces blocked as locality evidence. |
|
|
20
|
+
| `<lang>/stopwords.txt` | `mailwoman/gazetteer-pipeline/fst.ts` | FST gazetteer curation. |
|
|
21
|
+
|
|
22
|
+
Everything else — 34 of the 40 distinct filenames (`chains.txt`, `near.txt`, `cross_streets.txt`,
|
|
23
|
+
`unit_types_*`, `level_types_*`, `qualifiers.txt`, …) — has **no code consumer** since the rules
|
|
24
|
+
excision, and `core/resources/libpostal.ts`'s generic loader (`prepareLocaleIndex`,
|
|
25
|
+
`generatePlurals`) has no production caller either (only its own test). Total vestigial mass:
|
|
26
|
+
~0.13 MB of the ~0.7 MB dictionary tree.
|
|
27
|
+
|
|
28
|
+
**Deliberately kept anyway.** Deleting buys ~130 KB and costs provenance: the files stay
|
|
29
|
+
byte-comparable with the upstream lineage, and several vestigial classes are plausible inputs to
|
|
30
|
+
named future work (the `unit_types_*`/`level_types_*`/`staircases.txt` families are libpostal's
|
|
31
|
+
unit-parsing vocabulary — relevant when JP floor/unit conventions land with the CJK arc). The
|
|
32
|
+
exotic-POI query surface was explicitly checked before this call: franchise/variant/amenity
|
|
33
|
+
queries run on their own curated tables (`poi-taxonomy`'s phrase table + `variant-aliases`), not
|
|
34
|
+
on these dictionaries — `kind-classifier` declares "no dictionaries in-tree" as an invariant.
|
|
35
|
+
|
|
36
|
+
## The curated-data layering (where these sit in the "dictionary" landscape)
|
|
37
|
+
|
|
38
|
+
Mailwoman has four curated-data families that all look like "dictionaries" from a distance.
|
|
39
|
+
They answer different questions and live in different places on purpose:
|
|
40
|
+
|
|
41
|
+
| Tier | Question it answers | Contents | Lives in |
|
|
42
|
+
| ------------------ | ----------------------------------------- | ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
|
|
43
|
+
| **Spelling** | how is text spelled into the model? | 73k learned subword pieces | the SentencePiece vocab (inside the weights; welded to trained BIO spans) |
|
|
44
|
+
| **Closed classes** | what are the function words of addresses? | directionals, street types, unit types — small, enumerable, stable | **these dictionaries** + `@mailwoman/codex` → consumed at build/training time (lexicons, FSTs, synthesis) |
|
|
45
|
+
| **Open classes** | what places exist? | millions of changing place names | the WOF gazetteer + FST evidence channels + the resolver (never in the weights) |
|
|
46
|
+
| **Query idiom** | what do people call things? | brand/variant/amenity phrases (`servo` → fuel, `Macca's` → McDonald's) | `poi-taxonomy` + `variant-aliases` |
|
|
47
|
+
|
|
48
|
+
The old allow/block semantics didn't die with the rules parser — they migrated up a level into
|
|
49
|
+
the **lexicon curation laws** (law-1: directionals never carry locality evidence; the person-name
|
|
50
|
+
tier) and the graded surface-ambiguity classes in the FST rows. Blocking became a condition on
|
|
51
|
+
_evidence painting_ instead of a hard token gate: the open-world version of the same intent.
|
|
52
|
+
|
|
53
|
+
## Descriptive here, normative in codex
|
|
54
|
+
|
|
55
|
+
`en/directionals.txt` includes `lower`, `upper`, `middle`, `central` — none of which USPS
|
|
56
|
+
recognizes. That's correct _for this file's job_: its consumers are recall-shaped ("don't paint
|
|
57
|
+
locality evidence on anything even directional-ish"). The **normative** tables — USPS Pub-28
|
|
58
|
+
verbatim, preferred abbreviations, branded types — live in `@mailwoman/codex` (see
|
|
59
|
+
`codex/us/street-suffix.ts`, `codex/us/street-directional.ts`) and serve the precision-shaped
|
|
60
|
+
jobs: synthesis recipes, invariance transforms, formatting. The two overlap by design and must
|
|
61
|
+
not be merged: broadening codex breaks formatting; narrowing this file weakens the evidence
|
|
62
|
+
guard.
|
package/env/schema.ts
CHANGED
|
@@ -133,4 +133,8 @@ export const PrivateEnvSchema = z.object({
|
|
|
133
133
|
|
|
134
134
|
// npm 2FA OTP for the release publish flow (`scripts/publish-workspace.ts`).
|
|
135
135
|
RELEASE_IT_WORKSPACES_OTP: z.string().optional(),
|
|
136
|
+
|
|
137
|
+
// FCC Broadband Map (BDC) public-API credentials (`bdc/sdk/client.ts`) — username + hash_value header auth.
|
|
138
|
+
FCC_MAP_USERNAME: z.string().optional(),
|
|
139
|
+
FCC_MAP_API_KEY: z.string().optional(),
|
|
136
140
|
})
|
package/locale/profiles/ja-jp.ts
CHANGED
|
@@ -31,6 +31,9 @@ export const jaJP: LocaleProfile = {
|
|
|
31
31
|
"sub_block",
|
|
32
32
|
"building_number",
|
|
33
33
|
"building_name",
|
|
34
|
+
// D4 (v8 JP encoder design): COMPACT numbers ("2-3-16") are ONE whole-span house_number;
|
|
35
|
+
// the block/sub_block/building_number fine tags label the kanji-designator long form only.
|
|
36
|
+
"house_number",
|
|
34
37
|
],
|
|
35
38
|
policy: [],
|
|
36
39
|
}
|
package/out/env/index.d.ts
CHANGED
|
@@ -84,5 +84,7 @@ export declare const $private: {
|
|
|
84
84
|
RCLONE_S3_SECRET_ACCESS_KEY?: string | undefined;
|
|
85
85
|
OA_BATCH_TOKEN?: string | undefined;
|
|
86
86
|
RELEASE_IT_WORKSPACES_OTP?: string | undefined;
|
|
87
|
+
FCC_MAP_USERNAME?: string | undefined;
|
|
88
|
+
FCC_MAP_API_KEY?: string | undefined;
|
|
87
89
|
};
|
|
88
90
|
//# sourceMappingURL=index.d.ts.map
|
package/out/env/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../env/index.ts"],"names":[],"mappings":"AA2BA;;;;;GAKG;AACH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2B,CAAA;AAE/C;;;;;GAKG;AACH,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../env/index.ts"],"names":[],"mappings":"AA2BA;;;;;GAKG;AACH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2B,CAAA;AAE/C;;;;;GAKG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;CAA4B,CAAA"}
|
package/out/env/schema.d.ts
CHANGED
|
@@ -85,5 +85,7 @@ export declare const PrivateEnvSchema: z.ZodObject<{
|
|
|
85
85
|
RCLONE_S3_SECRET_ACCESS_KEY: z.ZodOptional<z.ZodString>;
|
|
86
86
|
OA_BATCH_TOKEN: z.ZodOptional<z.ZodString>;
|
|
87
87
|
RELEASE_IT_WORKSPACES_OTP: z.ZodOptional<z.ZodString>;
|
|
88
|
+
FCC_MAP_USERNAME: z.ZodOptional<z.ZodString>;
|
|
89
|
+
FCC_MAP_API_KEY: z.ZodOptional<z.ZodString>;
|
|
88
90
|
}, z.core.$strip>;
|
|
89
91
|
//# sourceMappingURL=schema.d.ts.map
|
package/out/env/schema.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../env/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgG1B,CAAA;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../env/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgG1B,CAAA;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;iBA+B3B,CAAA"}
|
package/out/env/schema.js
CHANGED
|
@@ -116,5 +116,8 @@ export const PrivateEnvSchema = z.object({
|
|
|
116
116
|
OA_BATCH_TOKEN: z.string().optional(),
|
|
117
117
|
// npm 2FA OTP for the release publish flow (`scripts/publish-workspace.ts`).
|
|
118
118
|
RELEASE_IT_WORKSPACES_OTP: z.string().optional(),
|
|
119
|
+
// FCC Broadband Map (BDC) public-API credentials (`bdc/sdk/client.ts`) — username + hash_value header auth.
|
|
120
|
+
FCC_MAP_USERNAME: z.string().optional(),
|
|
121
|
+
FCC_MAP_API_KEY: z.string().optional(),
|
|
119
122
|
});
|
|
120
123
|
//# sourceMappingURL=schema.js.map
|
package/out/env/schema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../env/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,6GAA6G;IAC7G,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC;IAC5E,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IAErC,sGAAsG;IACtG,gBAAgB,EAAE,C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,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAExC,uEAAuE;IACvE,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzC,uBAAuB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9C,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAElD,sFAAsF;IACtF,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAErC,6EAA6E;IAC7E,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAEhD,4GAA4G;IAC5G,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ja-jp.d.ts","sourceRoot":"","sources":["../../../locale/profiles/ja-jp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAEjD;;GAEG;AACH,eAAO,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"ja-jp.d.ts","sourceRoot":"","sources":["../../../locale/profiles/ja-jp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAEjD;;GAEG;AACH,eAAO,MAAM,IAAI,EAAE,aAkBlB,CAAA"}
|
|
@@ -28,6 +28,9 @@ export const jaJP = {
|
|
|
28
28
|
"sub_block",
|
|
29
29
|
"building_number",
|
|
30
30
|
"building_name",
|
|
31
|
+
// D4 (v8 JP encoder design): COMPACT numbers ("2-3-16") are ONE whole-span house_number;
|
|
32
|
+
// the block/sub_block/building_number fine tags label the kanji-designator long form only.
|
|
33
|
+
"house_number",
|
|
31
34
|
],
|
|
32
35
|
policy: [],
|
|
33
36
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ja-jp.js","sourceRoot":"","sources":["../../../locale/profiles/ja-jp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAIH;;GAEG;AACH,MAAM,CAAC,MAAM,IAAI,GAAkB;IAClC,MAAM,EAAE,OAAO;IACf,eAAe,EAAE,EAAE;IACnB,mBAAmB,EAAE;QACpB,SAAS;QACT,UAAU;QACV,YAAY;QACZ,cAAc;QACd,UAAU;QACV,OAAO;QACP,WAAW;QACX,iBAAiB;QACjB,eAAe;
|
|
1
|
+
{"version":3,"file":"ja-jp.js","sourceRoot":"","sources":["../../../locale/profiles/ja-jp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAIH;;GAEG;AACH,MAAM,CAAC,MAAM,IAAI,GAAkB;IAClC,MAAM,EAAE,OAAO;IACf,eAAe,EAAE,EAAE;IACnB,mBAAmB,EAAE;QACpB,SAAS;QACT,UAAU;QACV,YAAY;QACZ,cAAc;QACd,UAAU;QACV,OAAO;QACP,WAAW;QACX,iBAAiB;QACjB,eAAe;QACf,yFAAyF;QACzF,2FAA2F;QAC3F,cAAc;KACd;IACD,MAAM,EAAE,EAAE;CACV,CAAA"}
|
package/out/types/component.d.ts
CHANGED
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
* - Street-level (Phase 2): house_number, street, street_prefix*, street_suffix, intersection_a/b, unit
|
|
24
24
|
* - Venue-level (Phase 3): venue, attention, po_box
|
|
25
25
|
* - FR-specific: cedex
|
|
26
|
-
* - JP-specific (Phase
|
|
27
|
-
* building_number, building_name
|
|
26
|
+
* - JP-specific (ACTIVATED at CJK Phase 2, 2026-07-29 — the JP char model's 47-label head trains against them; the Latin
|
|
27
|
+
* model never emits them): prefecture, municipality, district, block, sub_block, building_number, building_name
|
|
28
28
|
*/
|
|
29
29
|
export declare const COMPONENT_TAGS: readonly ["country", "region", "locality", "dependent_locality", "postcode", "subregion", "house_number", "street", "street_prefix", "street_prefix_particle", "street_suffix", "intersection_a", "intersection_b", "unit", "venue", "attention", "po_box", "cedex", "prefecture", "municipality", "district", "block", "sub_block", "building_number", "building_name"];
|
|
30
30
|
/**
|
package/out/types/component.js
CHANGED
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
* - Street-level (Phase 2): house_number, street, street_prefix*, street_suffix, intersection_a/b, unit
|
|
24
24
|
* - Venue-level (Phase 3): venue, attention, po_box
|
|
25
25
|
* - FR-specific: cedex
|
|
26
|
-
* - JP-specific (Phase
|
|
27
|
-
* building_number, building_name
|
|
26
|
+
* - JP-specific (ACTIVATED at CJK Phase 2, 2026-07-29 — the JP char model's 47-label head trains against them; the Latin
|
|
27
|
+
* model never emits them): prefecture, municipality, district, block, sub_block, building_number, building_name
|
|
28
28
|
*/
|
|
29
29
|
export const COMPONENT_TAGS = [
|
|
30
30
|
// Universal
|
|
@@ -49,7 +49,7 @@ export const COMPONENT_TAGS = [
|
|
|
49
49
|
"po_box",
|
|
50
50
|
// FR-specific
|
|
51
51
|
"cedex",
|
|
52
|
-
// JP-specific (Phase
|
|
52
|
+
// JP-specific (ACTIVATED at CJK Phase 2 — the stage3-jp label set; Latin models never emit these)
|
|
53
53
|
"prefecture",
|
|
54
54
|
"municipality",
|
|
55
55
|
"district",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../types/component.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC7B,YAAY;IACZ,SAAS;IACT,QAAQ;IACR,UAAU;IACV,oBAAoB;IACpB,UAAU;IACV,WAAW;IACX,eAAe;IACf,cAAc;IACd,QAAQ;IACR,eAAe;IACf,wBAAwB;IACxB,eAAe;IACf,gBAAgB;IAChB,gBAAgB;IAChB,MAAM;IACN,cAAc;IACd,OAAO;IACP,WAAW;IACX,QAAQ;IACR,cAAc;IACd,OAAO;IACP,
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../types/component.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC7B,YAAY;IACZ,SAAS;IACT,QAAQ;IACR,UAAU;IACV,oBAAoB;IACpB,UAAU;IACV,WAAW;IACX,eAAe;IACf,cAAc;IACd,QAAQ;IACR,eAAe;IACf,wBAAwB;IACxB,eAAe;IACf,gBAAgB;IAChB,gBAAgB;IAChB,MAAM;IACN,cAAc;IACd,OAAO;IACP,WAAW;IACX,QAAQ;IACR,cAAc;IACd,OAAO;IACP,kGAAkG;IAClG,YAAY;IACZ,cAAc;IACd,UAAU;IACV,OAAO;IACP,WAAW;IACX,iBAAiB;IACjB,eAAe;CACN,CAAA;AAOV;;;;;GAKG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,GAAG,EAAE,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,KAAK,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,CAAU,CAAC,CAAU,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mailwoman/core",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.4.0",
|
|
4
4
|
"description": "Mailwoman core: tokenization, decoder, formatter, resources, filters, utils.",
|
|
5
5
|
"license": "AGPL-3.0-only OR LicenseRef-Commercial",
|
|
6
6
|
"repository": {
|
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
},
|
|
289
289
|
"devDependencies": {
|
|
290
290
|
"@duckdb/node-api": "1.5.3-r.3",
|
|
291
|
-
"@mailwoman/codex": "8.
|
|
291
|
+
"@mailwoman/codex": "8.4.0",
|
|
292
292
|
"@types/d3-color": "^3.1.3",
|
|
293
293
|
"@types/d3-scale-chromatic": "^3.1.0"
|
|
294
294
|
}
|
package/types/component.ts
CHANGED
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
* - Street-level (Phase 2): house_number, street, street_prefix*, street_suffix, intersection_a/b, unit
|
|
25
25
|
* - Venue-level (Phase 3): venue, attention, po_box
|
|
26
26
|
* - FR-specific: cedex
|
|
27
|
-
* - JP-specific (Phase
|
|
28
|
-
* building_number, building_name
|
|
27
|
+
* - JP-specific (ACTIVATED at CJK Phase 2, 2026-07-29 — the JP char model's 47-label head trains against them; the Latin
|
|
28
|
+
* model never emits them): prefecture, municipality, district, block, sub_block, building_number, building_name
|
|
29
29
|
*/
|
|
30
30
|
export const COMPONENT_TAGS = [
|
|
31
31
|
// Universal
|
|
@@ -50,7 +50,7 @@ export const COMPONENT_TAGS = [
|
|
|
50
50
|
"po_box",
|
|
51
51
|
// FR-specific
|
|
52
52
|
"cedex",
|
|
53
|
-
// JP-specific (Phase
|
|
53
|
+
// JP-specific (ACTIVATED at CJK Phase 2 — the stage3-jp label set; Latin models never emit these)
|
|
54
54
|
"prefecture",
|
|
55
55
|
"municipality",
|
|
56
56
|
"district",
|