From d7bb9e2f188861f57f17933524178e94c2e418c4 Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Fri, 20 Nov 2026 09:45:10 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20catalogue=20457=20systems=20=E2=80=94?= =?UTF-8?q?=20the=20ISO=202026-edition=20wave=20(maps=20v3.3.2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refreshes the map catalogue for the maps v3.3.2 release (tag 32d3920, the 2026-edition wave), regenerated with `npm run generate:catalogue` against the v3.3.2 corpus: 457/457 maps parse, exact corpus bijection. Catalogue: 451 -> 457 systems (+6) - Encoded from purchased published editions (ISO Store order OP-1130631, verification-grade provenance): iso-kat-Geor-Latn-9984-2026 (ISO 9984:2026, second edition), iso-hye-Armn-Latn-9985-2026 (ISO 9985:2026, second edition; no first-edition map existed), and iso-prs-Arab-Latn-233-3-2026 (ISO 233-3:2026, third edition, the strict clause-4 system) - Encoded from FDIS ballot copies, awaiting published-edition verification: iso-rus-Cyrl-Latn-9-2026 (ISO/FDIS 9:2026, ballot N127) and the ISO/FDIS 233-1:2026 Arabic pair iso-ara-Arab-Latn-233-2026 (strict, clause 4) + iso-ara-Arab-Latn-233-2026-modified (clause 5) - Provenance recorded on the coverage page per the maps docs/coverage conventions (FDIS ballot vs published edition sources) public/maps runtime bundle synced to the v3.3.2 release artifacts (391 -> 398 .isc, release tarballs sha256-verified before commit) - 6 corpus maps added, plus the shared-ruleset library ara-latn-233-2026 required by the 233-2026 pair via `use` - 2 phinthu-fix refreshes: iso-tha-Thai-Latn-11940-1998 and iso-pli-Thai-Latn-15919-2001 (which runs through it) - LIBRARY_STEMS in test/maps-integration.test.ts gains ara-latn-233-2026 Docs counts updated: 457 systems, 16,325 embedded tests. ## Test plan - [x] npm run generate:catalogue -> 457/457, catalogue keys == corpus files (no missing, no orphans; diff vs main is exactly +6) - [x] npm run check -> 0 errors; npm run build -> complete (457 detail pages) - [x] npm test -> 239 passed, 14/15 files (the known sandbox-only api-endpoints spawn timeout; the built server verified manually: /api/systems -> 457, all six new /maps// pages -> 200, transliterate API returns output on sampled new maps) - [x] All 853 embedded vectors of the 6 new + 2 refreshed maps pass on the installed runtime --- public/maps/ara-latn-233-2026.isc | 97 +++ .../iso-ara-Arab-Latn-233-2026-modified.isc | 318 +++++++ public/maps/iso-ara-Arab-Latn-233-2026.isc | 188 ++++ public/maps/iso-hye-Armn-Latn-9985-2026.isc | 264 ++++++ public/maps/iso-kat-Geor-Latn-9984-2026.isc | 212 +++++ public/maps/iso-pli-Thai-Latn-15919-2001.isc | 29 +- public/maps/iso-prs-Arab-Latn-233-3-2026.isc | 239 ++++++ public/maps/iso-rus-Cyrl-Latn-9-2026.isc | 812 ++++++++++++++++++ public/maps/iso-tha-Thai-Latn-11940-1998.isc | 143 ++- src/content/docs/Coverage_and_Gaps.adoc | 30 +- src/content/docs/Libraries.adoc | 2 +- src/data/maps-catalogue.json | 128 ++- test/maps-integration.test.ts | 1 + 13 files changed, 2446 insertions(+), 17 deletions(-) create mode 100644 public/maps/ara-latn-233-2026.isc create mode 100644 public/maps/iso-ara-Arab-Latn-233-2026-modified.isc create mode 100644 public/maps/iso-ara-Arab-Latn-233-2026.isc create mode 100644 public/maps/iso-hye-Armn-Latn-9985-2026.isc create mode 100644 public/maps/iso-kat-Geor-Latn-9984-2026.isc create mode 100644 public/maps/iso-prs-Arab-Latn-233-3-2026.isc create mode 100644 public/maps/iso-rus-Cyrl-Latn-9-2026.isc diff --git a/public/maps/ara-latn-233-2026.isc b/public/maps/ara-latn-233-2026.isc new file mode 100644 index 00000000..2f8182ed --- /dev/null +++ b/public/maps/ara-latn-233-2026.isc @@ -0,0 +1,97 @@ +system "ara-latn-233-2026" { + +# Shared ISO 233-1:2026 Arabic-to-Latin machinery: rows byte-identical between the +# strict map (iso-ara-Arab-Latn-233-2026, clause 4 Tables 1-5) and the modified map +# (iso-ara-Arab-Latn-233-2026-modified, clause 5; per 5.1.2 the strict tables apply +# unless specified otherwise). The rulesets are spliced into each map's single +# parallel pass so match semantics see one rule set. + +ruleset consonants { + # Table 1 No. 3-28 (the consonant rows shared verbatim by both systems, + # including tāʾ marbūṭaẗ which 5.2.4 renders ẗ in all positions) + # bāʾ + sub "\u0628" "b" + # tāʾ + sub "\u062a" "t" + # ṯāʾ + sub "\u062b" "\u1e6f" + # ǧīm + sub "\u062c" "\u01e7" + # ḥāʾ + sub "\u062d" "\u1e25" + # ẖāʾ + sub "\u062e" "\u1e96" + # dāl + sub "\u062f" "d" + # ḏāl + sub "\u0630" "\u1e0f" + # rāʾ + sub "\u0631" "r" + # zāy + sub "\u0632" "z" + # sīn + sub "\u0633" "s" + # šīn + sub "\u0634" "\u0161" + # ṣād + sub "\u0635" "\u1e63" + # ḍād + sub "\u0636" "\u1e0d" + # ṭāʾ + sub "\u0637" "\u1e6d" + # ẓāʾ + sub "\u0638" "\u1e93" + # ʿayn + sub "\u0639" "\u02bf" + # ġayn + sub "\u063a" "\u0121" + # fāʾ + sub "\u0641" "f" + # qāf + sub "\u0642" "q" + # kāf + sub "\u0643" "k" + # lām + sub "\u0644" "l" + # mīm + sub "\u0645" "m" + # nūn + sub "\u0646" "n" + # hāʾ + sub "\u0647" "h" + # tāʾ marbūṭaẗ + sub "\u0629" "\u1e97" + # wāw + sub "\u0648" "w" + # yāʾ + sub "\u064a" "y" +} + +ruleset short_vowels { + # Table 2 No. 30-32 (bare harakat are identical in both systems) + sub "\u064e" "a" + sub "\u064f" "u" + sub "\u0650" "i" +} + +ruleset punctuation { + # Table 4 (fāṣilaẗ, fāṣilaẗ manqūṭaẗ, ʿalāmaẗ istifhām) + sub "\u060c" "," + sub "\u061b" ";" + sub "\u061f" "?" +} + +ruleset numerals { + # Table 5 (0660-0669 -> 0030-0039) + sub "\u0660" "0" + sub "\u0661" "1" + sub "\u0662" "2" + sub "\u0663" "3" + sub "\u0664" "4" + sub "\u0665" "5" + sub "\u0666" "6" + sub "\u0667" "7" + sub "\u0668" "8" + sub "\u0669" "9" +} +} diff --git a/public/maps/iso-ara-Arab-Latn-233-2026-modified.isc b/public/maps/iso-ara-Arab-Latn-233-2026-modified.isc new file mode 100644 index 00000000..d0e3275c --- /dev/null +++ b/public/maps/iso-ara-Arab-Latn-233-2026-modified.isc @@ -0,0 +1,318 @@ +system "ISO:ara-Arab:Latn:233-2026-modified" { + +metadata { + authority_id iso + id 233-2026-modified + language iso-639-2:ara + source_script Arab + destination_script Latn + name "ISO 233-1:2026 Information and documentation -- Transliteration of Perso-Arabic characters into Latin characters -- Part 1: Arabic language (modified transliteration, clause 5; FDIS stage)" + url https://www.iso.org/committee/48820.html + creation_date 2026 + adoption_date 2026 + description { Modified (clause 5) transliteration of ISO 233-1:2026: Tables 6-8 plus the + mechanical clauses (5.2.2 initial alif, 5.2.4 tāʾ marbūṭaẗ, 5.3.2 definite + article) over the strict tables (5.1.2). Not necessarily reversible by design + (5.1.1). Encoded from ISO/TC 46/WG 3 N129 (FDIS) with the N130 adjudications. + See notes for the language-knowledge steps that stay outside stateless scope. } + + notes { + note "Encoded from ISO/FDIS 233-1:2026 (ISO/TC 46/WG 3 N129, 2026-11-02) clause 5, Tables 6-8; adjudications honored from N130: CN-017 rejected (strict and modified treat alif differently by design), CN-018 rejected (the article stands al- even unpronounced; l- only after the prepositions li-/bi-), CN-019 rejected (4.3.2 and 5.3.2 examples intentionally differ). Verify against the published edition when available." + note "5.1.2: the strict tables apply unless specified otherwise - the shared rows come from the ara-latn-233-2026 library (byte-identical with the strict map). Map-specific rows: sukūn omitted (5.2.1, Table 8 No. 7), šadda duplication (Table 8 No. 8), tanwīn omitted (Table 6 No. 2/5a/6a), the á/â/ā/ī/ū vowel options (Table 6), hamza options (Table 7), and the article families of 5.3.2." + note "Language-knowledge steps of the modified system that stay outside stateless scope and are NOT encoded: supplying unwritten vowels (5.2.1 - the printed example li-l-walad corresponds to لِلْوَلَدِ with the flexional final kasra omitted; this map renders the written vowel, li-l-waladi), general 5.3.1 hyphenation of li-/bi-/ka-/wa- beyond the article constructions (a word-initial لِسَان lisān is one word, not li+sān), the article after wa-/ka- (the 5.3.2 l- exception is encoded only for the documented li-/bi- forms; والشَّمْس-class words are ambiguous, e.g. والد wālid), and the šadda of an assimilated article preceded by wa-/ka-." + note "Table 8 No. 8 duplication is encoded as consonant doubling (28 digraph rules - the corpus idiom of iso-ara-Arab-Latn-233-1984), suppressed in the article assimilation context per the 5.3.2 examples (al-šams, bi-l-layl): the article rendering al-/l- carries the assimilation, and the doubled article lām emits the second l (al-ladhi -> al-laḏī). The suppression is a before-constraint on the preceding word-initial article; the parallel group is therefore megaregexp-ordered (specific rules first), which is cross-runtime consistent - the parity audit's G1 divergence concerns capture/ref only." + note "Table errata encoded per the governing column/example and flagged against the published edition: Table 6 No. 1 prints hex 0622 where the example (aẖ) and Table 7 No. 4b show the initial alif-with-hamza reading; Table 6 No. 2 prints 0101 in the Hex column of an (omitted) row; Table 7 No. 4 prints sāʾala where the written signs of سَأَلَ yield saʾala." + note "Reversibility: the modified system is not necessarily reversible (5.1.1); the reverse direction restores strict-sign equivalents of the outputs (e.g. walâkin -> وَلٰكِن without the omitted sukūn). A stateless map cannot supply unwritten vowels (level (b) is documented on the strict map)." + } +} + +dependency "ara-latn-233-2026" as iso233 + +tests { + # Hand-written worked-example and structure tests. + "\u0623\u064e\u062e" -> "a\u1e96" # Table 6 No. 1 + example: aẖ + "\u0648\u064e\u0644\u064e\u0670\u0643\u0650\u0646" -> "wal\u00e2kin" # Table 6 No. 1a + example: walâkin + "\u0645\u064e\u0631\u064e\u0627\u064a\u064e\u0627" -> "mar\u0101y\u0101" # Table 6 No. 1b + example: marāyā + "\u0634\u064e\u062c\u064e\u0631\u064e\u0629\u064b" -> "\u0161a\u01e7ara\u1e97" # Table 6 No. 2 + example: šaǧaraẗ (tanwīn omitted) + "\u0623\u064e\u064a\u0652\u0636\u064b\u0627" -> "ay\u1e0dan" # Table 6 No. 2a + example: ayḍan + "\u0623\u064e\u064a\u0652\u0636\u0627\u064b" -> "ay\u1e0dan" # Table 6 No. 2b + example: ayḍan (alif-first order) + "\u0635\u064e\u062f\u0649" -> "\u1e63ad\u00e1" # Table 6 No. 3 + example: ṣadá + "\u0635\u064e\u062f\u0649\u0670" -> "\u1e63ad\u00e1" # Table 6 No. 3a: ṣadá + "\u0635\u064e\u062f\u064e\u0649" -> "\u1e63ad\u00e1" # Table 6 No. 3b: ṣadá + "\u0635\u064e\u062f\u064e\u0649\u0670" -> "\u1e63ad\u00e1" # Table 6 No. 3c: ṣadá + "\u0641\u064e\u062a\u064b\u0649" -> "fat\u00e1" # Table 6 No. 4 + example: fatá + "\u0641\u064e\u062a\u0649\u064b" -> "fat\u00e1" # Table 6 No. 4a: fatá + "\u062f\u064f\u0631\u064f\u0648\u0633" -> "dur\u016bs" # Table 6 No. 5 + example: durūs + "\u0634\u064e\u062c\u064e\u0631\u064e\u0629\u064c" -> "\u0161a\u01e7ara\u1e97" # Table 6 No. 5a: šaǧaraẗ + "\u0633\u064e\u0639\u0650\u064a\u062f" -> "sa\u02bf\u012bd" # Table 6 No. 6 + example: saʿīd + "\u0634\u064e\u062c\u064e\u0631\u064e\u0629\u064d" -> "\u0161a\u01e7ara\u1e97" # Table 6 No. 6a: šaǧaraẗ + "\u0621\u064e\u0644\u064e" -> "\u02beala" # Table 7 No. 4 (rule-derived saʾala; the printed sāʾala is an erratum) + "\u0628\u0650\u0626\u0652\u0631" -> "bi\u02ber" # Table 7 No. 4a + example: biʾr + "\u0623\u064e\u062e\u0628\u064e\u0627\u064c" -> "a\u1e96b\u0101" # Table 7 No. 4b + example: aḫbār + "\u0642\u064f\u0631\u0652\u0622\u0646" -> "qur\u02be\u0101n" # Table 7 No. 5 + example: qurʾān + "\u0622\u062f\u064e\u0627\u0628" -> "\u0101d\u0101b" # Table 7 No. 5a + example: ādāb + "\u0641\u0650\u064a \u0646\u064f\u0648\u0631\u0650 \u0671\u0644\u0652\u0642\u064e\u0645\u064e\u0631" -> "f\u012b n\u016bri al-qamar" # Table 7 No. 6 + example: fī nūri al-qamar (flexional -i rendered) + "\u0647\u064e\u0645\u0652\u0629" -> "ham\u1e97" # Table 8 No. 7 + example: hamzaẗ (sukūn omitted) + "\u0639\u064e\u0628\u0651\u0627\u0633" -> "\u02bfabb\u0101s" # Table 8 No. 8 + example: ʿabbās + "\u0645\u064e\u062f\u0650\u064a\u064e\u0629\u064c" -> "mad\u012ba\u1e97" # 5.2.4 + example: madīnaẗ + "\u0627\u0644\u0634\u0651\u064e\u0645\u0652\u0633" -> "al-\u0161ams" # 5.3.2 example: al-šams (assimilation šadda suppressed) + "\u0627\u0644\u0642\u064e\u0645\u064e\u0631" -> "al-qamar" # moon article: al-qamar + "\u0628\u0650\u0671\u0644\u0644\ufc60\u064a\u0652\u0644" -> "bi-l-layl" # 5.3.2 example, document encoding (بِٱللَّيْل): bi-l-layl + "\u0628\u0650\u0627\u0644\u0644\u064e\u0651\u064a\u0652\u0644" -> "bi-l-layl" # 5.3.2 example, NFC canonical order: bi-l-layl + "\u0628\u0650\u0671\u0644\ufc60\u064a\u0652\u0644" -> "bi-l-layl" # 5.3.2 example, one-lām encoding: bi-l-layl + "\u0628\u0650\u0671\u0644\u0652\u0642\u064e\u0645\u064e\u0631\u0650" -> "bi-l-qamari" # 5.3.2 bi- moon article: bi-l-qamari + "\u0644\u0650\u0644\u0652\u0648\u064e\u0644\u064e\u062f\u0650" -> "li-l-waladi" # 5.3.2 example: li-l-waladi (flexional -i rendered) + "\u0644\u0650\u0644\u0644\ufc60\u0647" -> "li-l-lah" # li- doubled lām (lillāhi-type): li-l-lahi + "\u0627\u0644\u0644\ufc60\u0630\u0650\u064a" -> "al-la\u1e0f\u012b" # doubled article lām (al-ladhi): al-laḏī + "\u0644\u0650\u0633\u064e\u0627\u0646" -> "lis\u0101n" # no false prefix: lisān (5.3.1 gap: no standalone li- rule) + "\u0642\u064e\u0627\u0644\u064e\u0645\u064e" -> "q\u0101lama" # mid-word al- sequence stays per-letter: qālama + "\u0628\u0627\u0628" -> "b\u0101b" # medial bare alif -> ā (5.2.2) + "\u062e" -> "\u1e96" # shared consonant ruleset passthrough + + # Hand-written worked-example and structure tests below; the exhaustive per-row + # tests follow, generated from the source document's tables (Tables 6-8; the 14 non-empty rows transcribed, the six (omitted) rows covered by the hand tests per the artifact note); + # the strict-table rows inherited per 5.1.2 carry their provenance in the strict + # map's artifact). + # Source: ISO/FDIS 233-1:2026, ISO/TC 46/WG 3 N129 (FDIS for ballot, 2026-11-02), + # clause 5; adjudications ISO/TC 46/WG 3 N130. Expected strings are the map outputs. + # Provenance artifact: scripts/row-sources/iso-ara-Arab-Latn-233-2026-modified.json (21 rows). + # generated-by: maps/scripts/gen-row-tests.mjs (2026-11-19); regenerate from the artifact, do not hand-edit. +# Exhaustive per-row tests for iso-ara-Arab-Latn-233-2026-modified, generated from the source +# document's table. +# Source: ISO 233-1:2026 (FDIS) modified transliteration, clause 5 Tables +# 6-8: the rows with a non-empty romanization, 14 rows in document order, +# plus eight (omitted or position-qualified) rows documented here because +# the generator requires a non-empty output: Table 6 No. 1 (word-initial +# alif with hamza omitted; the printed hex 0622 is an erratum for the +# initial-alif-with-hamza reading per the row's own example aẖ), No. 2, No. +# 5a, No. 6a (tanwīn rows omitted), Table 7 No. 4a (the 0654/0655 rows are +# position-qualified: non-initial ʾ, initial omitted - biʾr/aḫbār are +# hand-tested; a standalone mark string is word-initial), No. 6 (hamzat +# al-waṣl omitted), Table 8 No. 7 (sukūn omitted) - all covered by the map's +# hand tests (aẖ, šaǧaraẗ, aḫbār, fī nūri al-qamar, hamzaẗ). +# Position-qualified equivalents of the transcribed rows: No. 1 non-initial +# alif renders ā (5.2.2), No. 5 non-initial 0622 renders ʾā (qurʾān), No. 4b +# initial hamza omitted (aḫbār). Table 8 No. 8 'duplication of consonant' is +# implemented as the 28 consonant+šadda digraph rules of the map, so it has +# no single-row transcription (ʿabbās is hand-tested). The strict-table rows +# the modified system inherits (5.1.2) carry their provenance in +# iso-ara-Arab-Latn-233-2026.json. Source: ISO/TC 46/WG 3 N129 with N130 +# adjudications (CN-017/018/019 rejections honored). Verify against the +# published edition when available. +# Provenance artifact: scripts/row-sources/iso-ara-Arab-Latn-233-2026-modified.json (14 rows). +# generated-by: maps/scripts/gen-row-tests.mjs (2026-11-19); regenerate from the artifact, do not hand-edit. + "ٰ" -> "â" + "َا" -> "ā" + "ًا" -> "an" + "اً" -> "an" + "ى" -> "á" + "ىٰ" -> "á" + "َى" -> "á" + "َىٰ" -> "á" + "ًى" -> "á" + "ىً" -> "á" + "ُو" -> "ū" + "ِي" -> "ī" + "ء" -> "ʾ" + "آ" -> "ā" +} + +stage main { + # Pass 1: mark-order and ligature normalization. NFC canonical order places + # harakat (ccc 30-32) before šadda (ccc 33); the FDIS examples decompose + # U+FC60 shadda-first. This pass normalizes harakat+šadda to šadda+harakat + # and decomposes the šadda ligatures, so every source order transliterates + # identically and the šadda output attaches to the consonant (Table 3 + # footnote a: the macron above ā, ī, ū does not represent šaddaẗ). + parallel { + sub "\ufc5f" "\u0651\u064d" + sub "\ufc60" "\u0651\u064e" + sub "\ufc61" "\u0651\u064f" + sub "\ufc62" "\u0651\u0650" + sub "\ufc63" "\u0651\u0670" + sub "\u064e\u0651" "\u0651\u064e" + sub "\u064f\u0651" "\u0651\u064f" + sub "\u0650\u0651" "\u0651\u0650" + sub "\u064b\u0651" "\u0651\u064b" + sub "\u064c\u0651" "\u0651\u064c" + sub "\u064d\u0651" "\u0651\u064d" + } + + # Pass 2: clause 5 over the strict tables (5.1.2). The group carries word-initial + # article rules (boundary forms) and before-constrained suppressions, so it runs + # megaregexp-ordered: specific before generic, suppressions before duplication. + parallel { + use iso233.consonants + use iso233.short_vowels + use iso233.punctuation + use iso233.numerals + # 5.3.2 article assimilation: the šadda of the sun-letter assimilation and of the + # doubled article lām is carried by the article rendering al-/l- (examples al-šams, + # bi-l-layl, li-l-walad), so the duplication of Table 8 No. 8 is suppressed + # immediately after the article. Constrained rules come first: the megaregexp + # group resolves equal-position matches in document order. The constraints are + # fixed-length look-behinds (ruby Onigmo rejects variable length) over the bare + # article form; the assimilated article is written bare (the assimilated lam + # carries the shadda, not a sukun), and sukun-marked article orthography of the + # al-shadda type falls back to duplication (flagged in the notes). + sub { from "\u062a\u0651" to "t" before boundary + any("\u0627\u0671") + "\u0644" } + sub { from "\u062a\u0651" to "t" before boundary + "\u0628\u0650" + any("\u0627\u0671") + "\u0644" } + sub { from "\u062a\u0651" to "t" before boundary + "\u0644\u0650\u0644" } + sub { from "\u062b\u0651" to "\u1e6f" before boundary + any("\u0627\u0671") + "\u0644" } + sub { from "\u062b\u0651" to "\u1e6f" before boundary + "\u0628\u0650" + any("\u0627\u0671") + "\u0644" } + sub { from "\u062b\u0651" to "\u1e6f" before boundary + "\u0644\u0650\u0644" } + sub { from "\u062f\u0651" to "d" before boundary + any("\u0627\u0671") + "\u0644" } + sub { from "\u062f\u0651" to "d" before boundary + "\u0628\u0650" + any("\u0627\u0671") + "\u0644" } + sub { from "\u062f\u0651" to "d" before boundary + "\u0644\u0650\u0644" } + sub { from "\u0630\u0651" to "\u1e0f" before boundary + any("\u0627\u0671") + "\u0644" } + sub { from "\u0630\u0651" to "\u1e0f" before boundary + "\u0628\u0650" + any("\u0627\u0671") + "\u0644" } + sub { from "\u0630\u0651" to "\u1e0f" before boundary + "\u0644\u0650\u0644" } + sub { from "\u0631\u0651" to "r" before boundary + any("\u0627\u0671") + "\u0644" } + sub { from "\u0631\u0651" to "r" before boundary + "\u0628\u0650" + any("\u0627\u0671") + "\u0644" } + sub { from "\u0631\u0651" to "r" before boundary + "\u0644\u0650\u0644" } + sub { from "\u0632\u0651" to "z" before boundary + any("\u0627\u0671") + "\u0644" } + sub { from "\u0632\u0651" to "z" before boundary + "\u0628\u0650" + any("\u0627\u0671") + "\u0644" } + sub { from "\u0632\u0651" to "z" before boundary + "\u0644\u0650\u0644" } + sub { from "\u0633\u0651" to "s" before boundary + any("\u0627\u0671") + "\u0644" } + sub { from "\u0633\u0651" to "s" before boundary + "\u0628\u0650" + any("\u0627\u0671") + "\u0644" } + sub { from "\u0633\u0651" to "s" before boundary + "\u0644\u0650\u0644" } + sub { from "\u0634\u0651" to "\u0161" before boundary + any("\u0627\u0671") + "\u0644" } + sub { from "\u0634\u0651" to "\u0161" before boundary + "\u0628\u0650" + any("\u0627\u0671") + "\u0644" } + sub { from "\u0634\u0651" to "\u0161" before boundary + "\u0644\u0650\u0644" } + sub { from "\u0635\u0651" to "\u1e63" before boundary + any("\u0627\u0671") + "\u0644" } + sub { from "\u0635\u0651" to "\u1e63" before boundary + "\u0628\u0650" + any("\u0627\u0671") + "\u0644" } + sub { from "\u0635\u0651" to "\u1e63" before boundary + "\u0644\u0650\u0644" } + sub { from "\u0636\u0651" to "\u1e0d" before boundary + any("\u0627\u0671") + "\u0644" } + sub { from "\u0636\u0651" to "\u1e0d" before boundary + "\u0628\u0650" + any("\u0627\u0671") + "\u0644" } + sub { from "\u0636\u0651" to "\u1e0d" before boundary + "\u0644\u0650\u0644" } + sub { from "\u0637\u0651" to "\u1e6d" before boundary + any("\u0627\u0671") + "\u0644" } + sub { from "\u0637\u0651" to "\u1e6d" before boundary + "\u0628\u0650" + any("\u0627\u0671") + "\u0644" } + sub { from "\u0637\u0651" to "\u1e6d" before boundary + "\u0644\u0650\u0644" } + sub { from "\u0638\u0651" to "\u1e93" before boundary + any("\u0627\u0671") + "\u0644" } + sub { from "\u0638\u0651" to "\u1e93" before boundary + "\u0628\u0650" + any("\u0627\u0671") + "\u0644" } + sub { from "\u0638\u0651" to "\u1e93" before boundary + "\u0644\u0650\u0644" } + sub { from "\u0644\u0651" to "l" before boundary + any("\u0627\u0671") + "\u0644" } + sub { from "\u0644\u0651" to "l" before boundary + "\u0628\u0650" + any("\u0627\u0671") + "\u0644" } + sub { from "\u0644\u0651" to "l" before boundary + "\u0644\u0650\u0644" } + sub { from "\u0646\u0651" to "n" before boundary + any("\u0627\u0671") + "\u0644" } + sub { from "\u0646\u0651" to "n" before boundary + "\u0628\u0650" + any("\u0627\u0671") + "\u0644" } + sub { from "\u0646\u0651" to "n" before boundary + "\u0644\u0650\u0644" } + # doubled article lām (al-ladhi-type): emits the second l + sub { from "\u0644\u0651" to "l" before boundary + any("\u0627\u0671") + "\u0644" } + sub { from "\u0644\u0651" to "l" before boundary + "\u0628\u0650" + any("\u0627\u0671") + "\u0644" } + sub { from "\u0644\u0651" to "l" before boundary + "\u0644\u0650\u0644" } + # 5.3.2 article families, word-initial (specific before generic). + # bi- article, doubled lām (bi-l-layl): + sub { from boundary + "\u0628\u0650" + any("\u0627\u0671") + maybe("\u0652") + "\u0644" + "\u0651\u064e" to "bi-l-la" } + sub { from boundary + "\u0628\u0650" + any("\u0627\u0671") + maybe("\u0652") + "\u0644" + "\u0651\u064f" to "bi-l-lu" } + sub { from boundary + "\u0628\u0650" + any("\u0627\u0671") + maybe("\u0652") + "\u0644" + "\u0651\u0650" to "bi-l-li" } + sub { from boundary + "\u0628\u0650" + any("\u0627\u0671") + maybe("\u0652") + "\u0644" + "\u0651" to "bi-l-l" } + # bi- article, moon letters (bi-l-qamar): + sub { from boundary + "\u0628\u0650" + any("\u0627\u0671") + "\u0644" to "bi-l-" } + # li- article, doubled lām: + sub { from boundary + "\u0644\u0650\u0644" + "\u0651\u064e" to "li-l-la" } + sub { from boundary + "\u0644\u0650\u0644" + "\u0651\u064f" to "li-l-lu" } + sub { from boundary + "\u0644\u0650\u0644" + "\u0651\u0650" to "li-l-li" } + sub { from boundary + "\u0644\u0650\u0644" + "\u0651" to "li-l-l" } + # li- article, moon letters (li-l-walad): + sub { from boundary + "\u0644\u0650\u0644" to "li-l-" } + # bare article, doubled lām (al-ladhi): + sub { from boundary + any("\u0627\u0671") + maybe("\u0652") + "\u0644" + "\u0651\u064e" to "al-la" } + sub { from boundary + any("\u0627\u0671") + maybe("\u0652") + "\u0644" + "\u0651\u064f" to "al-lu" } + sub { from boundary + any("\u0627\u0671") + maybe("\u0652") + "\u0644" + "\u0651\u0650" to "al-li" } + sub { from boundary + any("\u0627\u0671") + maybe("\u0652") + "\u0644" + "\u0651" to "al-l" } + # bare article (al-qamar, al-šams): + sub { from boundary + any("\u0627\u0671") + "\u0644" to "al-" } + # + # Table 6 - modified transliteration options for vowels (rows 1-6a). + # No. 1a: alif ẖanǧariyyaẗ -> â (walâkin); the fatḥa the dagger alif supplies is absorbed + sub "\u064e\u0670" "\u00e2" + sub "\u0670" "\u00e2" + # No. 1b: fatḥa + lengthening alif -> ā (marāyā; 5.2.2) + sub "\u064e\u0627" "\u0101" + # No. 2/2a/2b: tanwīn al-fatḥ omitted; an before/following alif (ayḍan) + sub "\u064b\u0627" "an" + sub "\u0627\u064b" "an" + sub "\u064b" "" + # No. 3-4a: alif maqṣūraẗ -> á (ṣadá, fatá) + sub "\u064e\u0649\u0670" "\u00e1" + sub "\u0649\u0670" "\u00e1" + sub "\u064b\u0649" "\u00e1" + sub "\u0649\u064b" "\u00e1" + sub "\u064e\u0649" "\u00e1" + sub "\u0649" "\u00e1" + # No. 5: ḍamma + wāw -> ū (durūs); No. 6: kasra + yāʾ -> ī (saʿīd) + sub "\u064f\u0648" "\u016b" + sub "\u0650\u064a" "\u012b" + # No. 5a/6a: tanwīn al-ḍamm / al-kasr omitted + sub "\u064c" "" + sub "\u064d" "" + # No. 1 + 5.2.2: initial alif omitted, T7 No. 4b: initial hamza omitted (aḫbār); + # word-initial only - the multi-char Table 6 rules above take precedence in + # megaregexp document order (e.g. اً renders an, not the omission) + sub { from "\u0627" to "" before boundary } + sub { from "\u0623" to "" before boundary } + sub { from "\u0625" to "" before boundary } + sub { from "\u0654" to "" before boundary } + sub { from "\u0655" to "" before boundary } + sub { from "\u0624" to "" before boundary } + sub { from "\u0626" to "" before boundary } + # Table 7 - hamzaẗ and alif maddaẗ options. + # No. 5a/5: 0622 word-initial -> ā (ādāb), non-initial -> ʾā (qurʾān) + sub { from boundary + "\u0622" to "\u0101" } + sub "\u0622" "\u02be\u0101" + # No. 4: hamzaẗ non-initial -> ʾ (saʾala; the printed sāʾala is an erratum, see notes) + sub "\u0621" "\u02be" + # No. 4a: combining hamzaẗ non-initial -> ʾ (biʾr); initial omitted above (No. 4b) + sub "\u0654" "\u02be" + sub "\u0655" "\u02be" + # 4.1.4 precomposed hamza seats: non-initial -> ʾ (5.2.3: the vocalic-context hamza + # is not represented; the seat is not separately represented) + sub "\u0623" "\u02be" + sub "\u0625" "\u02be" + sub "\u0624" "\u02be" + sub "\u0626" "\u02be" + # No. 6: hamzaẗ al-waṣl omitted (fī nūr al-qamar); the word-initial wasla article + # family above renders al- per the table's own example + sub "\u0671" "" + # 5.2.2 non-initial bare alif: the lengthening alif renders ā + sub "\u0627" "\u0101" + # Table 8 - other signs. + # No. 7: sukūn omitted (hamzaẗ) + sub "\u0652" "" + # No. 8: šaddaẗ -> duplication of consonant (ʿabbās; the corpus idiom of + # iso-ara-Arab-Latn-233-1984); a bare orphan šadda with no consonant to double is dropped + sub "\u0651" "" + sub "\u0628\u0651" "bb" + sub "\u062a\u0651" "tt" + sub "\u062b\u0651" "\u1e6f\u1e6f" + sub "\u062c\u0651" "\u01e7\u01e7" + sub "\u062d\u0651" "\u1e25\u1e25" + sub "\u062e\u0651" "\u1e96\u1e96" + sub "\u062f\u0651" "dd" + sub "\u0630\u0651" "\u1e0f\u1e0f" + sub "\u0631\u0651" "rr" + sub "\u0632\u0651" "zz" + sub "\u0633\u0651" "ss" + sub "\u0634\u0651" "\u0161\u0161" + sub "\u0635\u0651" "\u1e63\u1e63" + sub "\u0636\u0651" "\u1e0d\u1e0d" + sub "\u0637\u0651" "\u1e6d\u1e6d" + sub "\u0638\u0651" "\u1e93\u1e93" + sub "\u0639\u0651" "\u02bf\u02bf" + sub "\u063a\u0651" "\u0121\u0121" + sub "\u0641\u0651" "ff" + sub "\u0642\u0651" "qq" + sub "\u0643\u0651" "kk" + sub "\u0644\u0651" "ll" + sub "\u0645\u0651" "mm" + sub "\u0646\u0651" "nn" + sub "\u0647\u0651" "hh" + sub "\u0629\u0651" "\u1e97\u1e97" + sub "\u0648\u0651" "ww" + sub "\u064a\u0651" "yy" + # 5.3.1 general prefix hyphenation, vowel supplying, and flexional-omission are + # language-knowledge steps outside stateless scope (see notes). + } +} +} diff --git a/public/maps/iso-ara-Arab-Latn-233-2026.isc b/public/maps/iso-ara-Arab-Latn-233-2026.isc new file mode 100644 index 00000000..aa256f12 --- /dev/null +++ b/public/maps/iso-ara-Arab-Latn-233-2026.isc @@ -0,0 +1,188 @@ +system "ISO:ara-Arab:Latn:233-2026" { + +metadata { + authority_id iso + id 233-2026 + language iso-639-2:ara + source_script Arab + destination_script Latn + name "ISO 233-1:2026 Information and documentation -- Transliteration of Perso-Arabic characters into Latin characters -- Part 1: Arabic language (strict transliteration, clause 4; FDIS stage)" + url https://www.iso.org/committee/48820.html + creation_date 2026 + adoption_date 2026 + description { Strict (fully reversible, level (a)) transliteration of ISO 233-1:2026, clause 4, + Tables 1-5: written signs only, diacritical vowels transliterated only where written + in the source. Encoded from the committee ballot ISO/TC 46/WG 3 N129 (FDIS, + 2026-11-02; ballot closed 2026-11-07) with the comment adjudications of N130. + See notes for provenance, errata and reversibility. } + + notes { + note "Encoded from ISO/FDIS 233-1:2026, ISO/TC 46/WG 3 N129 (2026-11-02, FDIS ballot closed 2026-11-07), clause 4 Tables 1-5; adjudications honored from the collated comments N130: DE-002 accepted (hamzaẗ al-waṣl renders 02BE+0331), CN-017 rejected (alif treatment intentionally differs between strict and modified), CN-016 rejected (Table 4 intentionally lists only Arabic-encoded punctuation). Source documents archived in interscript/interscript-private-references (iso/ISO-TC46-WG3-N129-*, N130-*). Verify against the published edition when available. The FDIS cancels and replaces ISO 233:1984 and ISO 233-2:1993: new work uses this map while the legacy corpus maps iso-ara-Arab-Latn-233-1984 and iso-ara-Arab-Latn-233-2-1993 remain for existing data. ISO 233-3:2026 (Persian) is a separate part, already published; its legacy corpus coverage is iso-prs-Arab-Latn-233-3-1999." + note "Three levels of transliteration (Introduction): this map implements level (a), strict fully reversible, written signs only. Level (b) - strict with the diacritical vowels supplied regardless of the source - is an application mode of the same Tables 1-2, not a separate table; a stateless map cannot supply unwritten vowels, so the level is documented here rather than forced into the map." + note "Reversibility (4.1.3) holds one-to-one for every row except the merger the standard itself prescribes: Table 1 No. 2a maps both U+0654 and U+0655 to 02C8, so the reverse direction restores 0654. The foreword legacy variants for existing text (02BC, 0329, 02B9, 02BB) are notes, not rules of this map." + note "4.1.4 precomposed/decomposed equality: the map adds canonical-decomposition equivalents of the precomposed alef forms (0623, 0625, 0624, 0626; 0622 is a table row itself) and decomposes the šadda-haraka ligatures U+FC5F..U+FC63 in the normalization pass. Letter positional presentation forms (U+FE70..U+FEFF; Annex A is informative) pass through unchanged." + note "Mark order: a first pass normalizes harakat+šadda to šadda+harakat (NFC orders harakat ccc 30-32 before šadda ccc 33; the FDIS examples decompose U+FC60 shadda-first), so every source order transliterates identically and the šadda macron (0304) attaches to the consonant output. Per Table 3 footnote a, the macron above ā, ī, ū does not represent šaddaẗ - the precomposed ā/ī/ū outputs of the vowel rows are vowels, not šadda." + note "4.3.2 examples: example 1 (أَلشَّمْسُ ʾˈalš̄am̊su) is conformant with the tables and is tested verbatim in NFC-composed form. Printed examples 2-3 are errata: bi-̓llaẙli carries the DIS rendering of U+0671 (U+002D+U+0313) that DE-002 replaced with 02BE+0331 and omits the šadda macron; lilwaladi omits the sukūn ring. The rule-derived forms are tested instead (N130 CN-019: 4.3.2 and 5.3.2 intentionally represent different methods)." + } +} + +dependency "ara-latn-233-2026" as iso233 + +tests { + # Hand-written worked-example and structure tests. + "\u0623\u064e\u0644\u0634\u0651\u064e\u0645\u0652\u0633\u064f" -> "\u02be\u02c8al\u0161\u0304am\u030asu" # 4.3.2 example 1 verbatim: ʾˈalš̄am̊su + "\u0646\u064e\u0642\u0650\u0641\u064f" -> "naqifu" # Introduction worked example: naqifu + "\u0646\u0642\u0641" -> "nqf" # Introduction worked example: nqf (unvocalized) + "\u0623\u064e\u062e" -> "\u02be\u02c8a\u1e96" # 4.1.4 precomposed أَ -> ʾˈa + "\u0627\u0654\u064e\u062e" -> "\u02be\u02c8a\u1e96" # 4.1.4 decomposed ا+0654+َ identical + "\u0634\ufc60\u0645" -> "\u0161\u0304am" # U+FC60 ligature + "\u0634\u064e\u0651\u0645" -> "\u0161\u0304am" # NFC order identical + "\u0634\u0651\u064e\u0645" -> "\u0161\u0304am" # typed order identical + "\u0628\u0651" -> "b\u0304" # šadda macron attaches to the consonant + "\u0645\u0652" -> "m\u030a" # sukūn ring attaches to the consonant + "\u0628\u0651\u064e\u0642\u064f" -> "b\u0304aqu" # šadda macron stays on the consonant before a following vowel + + # Hand-written worked-example and structure tests below; the exhaustive per-row tests + # follow, generated from the source document's tables (Tables 1-5, 57 rows: 56 document rows, No. 2a split into its 0654/0655 pair). + # Source: ISO/FDIS 233-1:2026, ISO/TC 46/WG 3 N129 (FDIS for ballot, 2026-11-02; + # ballot closed 2026-11-07), clause 4. Adjudications: ISO/TC 46/WG 3 N130 collated + # comments. Expected strings are the map outputs (precomposed Latin per the hex + # columns; combining marks 030A/0304/0331 attach to the preceding output character). + # Provenance artifact: scripts/row-sources/iso-ara-Arab-Latn-233-2026.json (57 rows). + # generated-by: maps/scripts/gen-row-tests.mjs (2026-11-19); regenerate from the artifact, do not hand-edit. +# Exhaustive per-row tests for iso-ara-Arab-Latn-233-2026, generated from the source +# document's table. +# Source: ISO 233-1:2026 (FDIS) strict transliteration, clause 4 Tables 1-5, +# 57 rows (56 document rows; the 0654-or-0655 pair of No. 2a split) in +# document order: Table 1 consonants (No. 1-29a including 1a/2a; the +# 0654-or-0655 pair of No. 2a encoded as two rows sharing 02C8 per the +# standard), Table 2 vowels for the fully reversible system (No. 30-32a; the +# foreword's á-to-ã, í-to-ĩ, ú-to-ũ changes), Table 3 other conventional +# signs (No. 33 sukūn 030A, No. 34 šadda 0304 with footnote a 'The macron +# above ā, ī, ū does not represent šaddaẗ', No. 35 hamzat al-waṣl 02BE+0331 +# per the accepted DE-002), Table 4 punctuation (the CN-016 rejection: +# intentionally only Arabic-encoded marks), Table 5 numerals. Source: ISO/TC +# 46/WG 3 N129 (ISO_FDIS 233-1 ed.1, 2026-11-02; ballot closed 2026-11-07), +# hex columns authoritative, cross-checked against the N130 collated +# comments. Ballot documents archived in +# interscript/interscript-private-references (iso/ISO-TC46-WG3-N129-* and +# N130-*). Verify against the published edition when available. +# Provenance artifact: scripts/row-sources/iso-ara-Arab-Latn-233-2026.json (57 rows). +# generated-by: maps/scripts/gen-row-tests.mjs (2026-11-19); regenerate from the artifact, do not hand-edit. + "ا" -> "ʾ" + "آ" -> "ʾâ" + "ء" -> "ˌ" + "ٔ" -> "ˈ" + "ٕ" -> "ˈ" + "ب" -> "b" + "ت" -> "t" + "ث" -> "ṯ" + "ج" -> "ǧ" + "ح" -> "ḥ" + "خ" -> "ẖ" + "د" -> "d" + "ذ" -> "ḏ" + "ر" -> "r" + "ز" -> "z" + "س" -> "s" + "ش" -> "š" + "ص" -> "ṣ" + "ض" -> "ḍ" + "ط" -> "ṭ" + "ظ" -> "ẓ" + "ع" -> "ʿ" + "غ" -> "ġ" + "ف" -> "f" + "ق" -> "q" + "ك" -> "k" + "ل" -> "l" + "م" -> "m" + "ن" -> "n" + "ه" -> "h" + "ة" -> "ẗ" + "و" -> "w" + "ي" -> "y" + "ى" -> "ỳ" + "َ" -> "a" + "ٰ" -> "ā" + "ً" -> "ã" + "ُ" -> "u" + "ٌ" -> "ũ" + "ِ" -> "i" + "ٍ" -> "ĩ" + "ْ" -> "̊" + "ّ" -> "̄" + "ٱ" -> "ʾ̱" + "،" -> "," + "؛" -> ";" + "؟" -> "?" + "٠" -> "0" + "١" -> "1" + "٢" -> "2" + "٣" -> "3" + "٤" -> "4" + "٥" -> "5" + "٦" -> "6" + "٧" -> "7" + "٨" -> "8" + "٩" -> "9" +} + +stage main { + # Pass 1: mark-order and ligature normalization. NFC canonical order places + # harakat (ccc 30-32) before šadda (ccc 33); the FDIS examples decompose + # U+FC60 shadda-first. This pass normalizes harakat+šadda to šadda+harakat + # and decomposes the šadda ligatures, so every source order transliterates + # identically and the šadda output attaches to the consonant (Table 3 + # footnote a: the macron above ā, ī, ū does not represent šaddaẗ). + parallel { + sub "\ufc5f" "\u0651\u064d" + sub "\ufc60" "\u0651\u064e" + sub "\ufc61" "\u0651\u064f" + sub "\ufc62" "\u0651\u0650" + sub "\ufc63" "\u0651\u0670" + sub "\u064e\u0651" "\u0651\u064e" + sub "\u064f\u0651" "\u0651\u064f" + sub "\u0650\u0651" "\u0651\u0650" + sub "\u064b\u0651" "\u0651\u064b" + sub "\u064c\u0651" "\u0651\u064c" + sub "\u064d\u0651" "\u0651\u064d" + } + + # Pass 2: Tables 1-5 (clause 4). Single-constraint-free parallel pass (trie semantics). + parallel { + use iso233.consonants + use iso233.short_vowels + use iso233.punctuation + use iso233.numerals + # Table 1 No. 1: alif + sub "\u0627" "\u02be" + # Table 1 No. 1a: alif maddaẗ + sub "\u0622" "\u02be\u00e2" + # Table 1 No. 2: hamzaẗ (footnote b: legacy combining vertical line below 0329) + sub "\u0621" "\u02cc" + # Table 1 No. 2a: hamzaẗ combining above/below (footnote c: legacy modifier letter prime 02B9) + sub "\u0654" "\u02c8" + sub "\u0655" "\u02c8" + # Table 1 No. 29a: alif maqṣūraẗ + sub "\u0649" "\u1ef3" + # 4.1.4: canonical-decomposition equivalents of the precomposed alef forms + sub "\u0623" "\u02be\u02c8" + sub "\u0625" "\u02be\u02c8" + sub "\u0624" "w\u02c8" + sub "\u0626" "y\u02c8" + # Table 2 No. 30a: alif ẖanǧariyyaẗ + sub "\u0670" "\u0101" + # Table 2 No. 30b/31a/32a: tanwīn (foreword: á→ã, í→ĩ, ú→ũ) + sub "\u064b" "\u00e3" + sub "\u064c" "\u0169" + sub "\u064d" "\u0129" + # Table 3 No. 33: sukūn (combining ring above) + sub "\u0652" "\u030a" + # Table 3 No. 34: šaddaẗ (combining macron; footnote a) + sub "\u0651" "\u0304" + # Table 3 No. 35: hamzaẗ al-waṣl 02BE+0331 (N130 DE-002 accepted) + sub "\u0671" "\u02be\u0331" + } +} +} diff --git a/public/maps/iso-hye-Armn-Latn-9985-2026.isc b/public/maps/iso-hye-Armn-Latn-9985-2026.isc new file mode 100644 index 00000000..360cb766 --- /dev/null +++ b/public/maps/iso-hye-Armn-Latn-9985-2026.isc @@ -0,0 +1,264 @@ +system "ISO:hye-Armn:Latn:9985-2026" { + +metadata { + authority_id iso + id 9985-2026 + language iso-639-2:hye + source_script Armn + destination_script Latn + name "ISO 9985:2026 Information and documentation -- Transliteration of Armenian characters into Latin characters" + url https://www.iso.org/committee/48820.html + # Source document: interscript-private-references/iso/ISO-9985-2026.pdf + # (purchased published edition, ISO Store order OP-1130631, downloaded + # 2026-11-19; verification-grade provenance). + creation_date 2026 + adoption_date 2026 + description { Second edition (cancels and replaces ISO 9985:1996; no map for the + first edition exists in the corpus). Table 1 transliterates all 38 + letters of the Armenian alphabet, each upper/lower case pair to its + upper/lower Latin pair, with the aspirate rows (Թ Չ Ց Փ Ք) carrying + the neutral (vertical line) apostrophe U+0027 - the edition's stated + change is that all aspirates now share the one visual convention + (formerly a right single quotation mark U+2019) and the unaspirated + pairs Ծ/Ճ are now shown unmarked like their p/t/k counterparts. + The yew ligature և is transliterated as the digraph /ew/; the ու + letter sequence romanizes /ow/ character by character. Table 2 + transliterates the eight Armenian punctuation marks. + } + + notes { + note "Encoded from the purchased published edition (ISO Store order OP-1130631, downloaded 2026-11-19); the PDF text layer is clean and the hex column is authoritative over the printed glyphs. Extracted 2026-11-19." + note "Case-mapping quirk preserved exactly as the standard's hex column prints it: uppercase J-caron (the Ջ row) is the decomposed pair U+004A+U+030C because no precomposed uppercase form exists, while the lowercase row is the precomposed U+01F0; 4.1 requires systems to treat precomposed and decomposed input equally." + note "Reverse-direction ambiguity, flagged per the source: forward, both the ligature և (Table 1 provision) and the two-letter sequence ե+ւ produce /ew/, while the document states the system is entirely reversible. This map reverses /ew/ to the ligature և (the standard now treats it as a distinct digraph character of the alphabet); a source sequence ե+ւ therefore does not round-trip. The ու sequence has no ligature row and round-trips as ow." + note "Table 2 punctuation, hex column authoritative: row 1 is the identity comma U+002C; row 2 maps the Armenian middle mark (U+2024, the one dot leader as printed in the hex column) to the semicolon; the Armenian full stop U+0589 maps to the full stop; the question/exclamation marks and the shesht (U+055B, to modifier circumflex U+02C6) and hyphen (U+058A) follow the printed column." + note "Edition difference (1996 -> 2026), from the 2026 Foreword: aspirates moved from the right single quotation mark U+2019 to the neutral U+0027, and the unaspirated convention was extended to the Ծ (c) and Ճ (c-caron) pairs, formerly shown as c'/c-caron-apostrophe. The 1996 document is not held; no legacy map exists to verify against (Armenia in the corpus is covered by din-hye-Armn-Latn-32706-2010, a different, untouched system)." + note "No capitalization provisions: Armenian distinguishes upper and lower case and Table 1 maps each case explicitly; document examples print capitalized name forms only as optional target-language convention." + } +} + +tests { + "և" -> "ew" + "ու" -> "ow" + "Երևան" -> "Erewan" + "Հայաստան" -> "Hayastan" + "ՀԱՅԱՍՏԱՆ" -> "HAYASTAN" + "Ղարաբաղ" -> "Ġarabaġ" + "Թ" -> "T'" + "թ" -> "t'" + "Չ" -> "Č'" + "Ց" -> "C'" + "Փ" -> "P'" + "Ք" -> "K'" + "Ջ" -> "J̌" + "ջ" -> "ǰ" + "Ընդհանուր" -> "Ëndhanowr" + "․" -> ";" + "։" -> "." + "՝" -> ":" + "՞" -> "?" + "՜" -> "!" + "՛" -> "ˆ" + "֊" -> "-" +# Exhaustive per-row tests for iso-hye-Armn-Latn-9985-2026, generated from the source +# document's table. +# Source: ISO 9985:2026(en), second edition, purchased published edition +# (ISO Store order OP-1130631, downloaded 2026-11-19; verification-grade +# provenance). Rows in document order: Table 1 rows 1-38, each Armenian +# upper/lower case pair mapping to the upper/lower Latin pair (hex column +# authoritative; the aspirate rows carry U+0027 neutral apostrophe; +# uppercase J-caron is the decomposed U+004A+U+030C because no precomposed +# form exists, lowercase is the precomposed U+01F0 - both exactly as printed +# in the standard's own hex column), then the post-Table-1 ligature +# provision (yew ligature U+0587, a distinct digraph character, +# transliterated as rows 5+34 /ew/), then Table 2 rows 1-8 (Armenian +# punctuation; row 1 is the identity comma; row 2 maps U+2024 one dot leader +# to the semicolon). +# Provenance artifact: scripts/row-sources/iso-hye-Armn-Latn-9985-2026.json (85 rows). +# generated-by: maps/scripts/gen-row-tests.mjs (2026-11-19); regenerate from the artifact, do not hand-edit. + "Ա" -> "A" + "ա" -> "a" + "Բ" -> "B" + "բ" -> "b" + "Գ" -> "G" + "գ" -> "g" + "Դ" -> "D" + "դ" -> "d" + "Ե" -> "E" + "ե" -> "e" + "Զ" -> "Z" + "զ" -> "z" + "Է" -> "Ē" + "է" -> "ē" + "Ը" -> "Ë" + "ը" -> "ë" + "Թ" -> "T'" + "թ" -> "t'" + "Ժ" -> "Ž" + "ժ" -> "ž" + "Ի" -> "I" + "ի" -> "i" + "Լ" -> "L" + "լ" -> "l" + "Խ" -> "X" + "խ" -> "x" + "Ծ" -> "C" + "ծ" -> "c" + "Կ" -> "K" + "կ" -> "k" + "Հ" -> "H" + "հ" -> "h" + "Ձ" -> "J" + "ձ" -> "j" + "Ղ" -> "Ġ" + "ղ" -> "ġ" + "Ճ" -> "Č" + "ճ" -> "č" + "Մ" -> "M" + "մ" -> "m" + "Յ" -> "Y" + "յ" -> "y" + "Ն" -> "N" + "ն" -> "n" + "Շ" -> "Š" + "շ" -> "š" + "Ո" -> "O" + "ո" -> "o" + "Չ" -> "Č'" + "չ" -> "č'" + "Պ" -> "P" + "պ" -> "p" + "Ջ" -> "J̌" + "ջ" -> "ǰ" + "Ռ" -> "Ṙ" + "ռ" -> "ṙ" + "Ս" -> "S" + "ս" -> "s" + "Վ" -> "V" + "վ" -> "v" + "Տ" -> "T" + "տ" -> "t" + "Ր" -> "R" + "ր" -> "r" + "Ց" -> "C'" + "ց" -> "c'" + "Ւ" -> "W" + "ւ" -> "w" + "Փ" -> "P'" + "փ" -> "p'" + "Ք" -> "K'" + "ք" -> "k'" + "Օ" -> "Ō" + "օ" -> "ō" + "Ֆ" -> "F" + "ֆ" -> "f" + "և" -> "ew" + "," -> "," + "․" -> ";" + "՝" -> ":" + "։" -> "." + "՞" -> "?" + "՜" -> "!" + "՛" -> "ˆ" + "֊" -> "-" +} + +stage main { + # Table 1 - transliteration of Armenian characters (rows 1-38, each + # upper/lower pair to its upper/lower Latin pair), the yew ligature + # provision, and Table 2 - Armenian punctuation (rows 1-8) + parallel { + sub "Ա" "A" + sub "ա" "a" + sub "Բ" "B" + sub "բ" "b" + sub "Գ" "G" + sub "գ" "g" + sub "Դ" "D" + sub "դ" "d" + sub "Ե" "E" + sub "ե" "e" + sub "Զ" "Z" + sub "զ" "z" + sub "Է" "Ē" + sub "է" "ē" + sub "Ը" "Ë" + sub "ը" "ë" + sub "Թ" "T'" + sub "թ" "t'" + sub "Ժ" "Ž" + sub "ժ" "ž" + sub "Ի" "I" + sub "ի" "i" + sub "Լ" "L" + sub "լ" "l" + sub "Խ" "X" + sub "խ" "x" + sub "Ծ" "C" + sub "ծ" "c" + sub "Կ" "K" + sub "կ" "k" + sub "Հ" "H" + sub "հ" "h" + sub "Ձ" "J" + sub "ձ" "j" + sub "Ղ" "Ġ" + sub "ղ" "ġ" + sub "Ճ" "Č" + sub "ճ" "č" + sub "Մ" "M" + sub "մ" "m" + sub "Յ" "Y" + sub "յ" "y" + sub "Ն" "N" + sub "ն" "n" + sub "Շ" "Š" + sub "շ" "š" + sub "Ո" "O" + sub "ո" "o" + sub "Չ" "Č'" + sub "չ" "č'" + sub "Պ" "P" + sub "պ" "p" + sub "Ջ" "J̌" + sub "ջ" "ǰ" + sub "Ռ" "Ṙ" + sub "ռ" "ṙ" + sub "Ս" "S" + sub "ս" "s" + sub "Վ" "V" + sub "վ" "v" + sub "Տ" "T" + sub "տ" "t" + sub "Ր" "R" + sub "ր" "r" + sub "Ց" "C'" + sub "ց" "c'" + sub "Ւ" "W" + sub "ւ" "w" + sub "Փ" "P'" + sub "փ" "p'" + sub "Ք" "K'" + sub "ք" "k'" + sub "Օ" "Ō" + sub "օ" "ō" + sub "Ֆ" "F" + sub "ֆ" "f" + + # post-Table-1 provision: the yew ligature, a distinct digraph + # character, transliterated as rows 5+34 /ew/ + sub "և" "ew" + + # Table 2 - Armenian punctuation (rows 1-8) + sub "," "," + sub "․" ";" + sub "՝" ":" + sub "։" "." + sub "՞" "?" + sub "՜" "!" + sub "՛" "ˆ" + sub "֊" "-" + } + +} + +} diff --git a/public/maps/iso-kat-Geor-Latn-9984-2026.isc b/public/maps/iso-kat-Geor-Latn-9984-2026.isc new file mode 100644 index 00000000..115c9ee6 --- /dev/null +++ b/public/maps/iso-kat-Geor-Latn-9984-2026.isc @@ -0,0 +1,212 @@ +system "ISO:kat-Geor:Latn:9984-2026" { + +metadata { + authority_id iso + id 9984-2026 + language iso-639-2:kat + source_script Geor + destination_script Latn + name "ISO 9984:2026 Information and documentation -- Transliteration of Georgian characters into Latin characters" + url https://www.iso.org/committee/48820.html + # Source document: interscript-private-references/iso/ISO-9984-2026.pdf + # (purchased published edition, ISO Store order OP-1130631, downloaded + # 2026-11-19; verification-grade provenance). + creation_date 2026 + adoption_date 2026 + description { Second edition. The main system (Table 4) is limited to the 33 + characters of the current Georgian alphabet and is now based on the + Georgian national system of 2002 (presidential decree of 2011), with + modifications incorporated to ensure reversibility. Ten romanizations + changed from the 1996 edition: the digraph letters now romanize as + zh (ჟ), gh (ღ), sh (შ), ch (ჩ), ts (ც), dz (ძ), kh (ხ); ჯ loses its + caron (ǰ -> j); the glottalized consonants კ პ ტ ყ წ ჭ gain the + neutral (vertical line) apostrophe U+0027 (k' p' t' q' ts' ch'), + which the aspirated თ ფ ქ ჩ ც lose. Obsolete letters are retained + for reference in Table 5 (its rows 1-6 are unchanged from 1996). A + new digraph-disambiguation provision (4.2) inserts a middle dot + U+00B7 between adjoining source characters whose romanization would + form a digraph. + } + + notes { + note "Encoded from the purchased published edition (ISO Store order OP-1130631, downloaded 2026-11-19); the PDF text layer is clean and the hex column is authoritative over the printed glyphs. Extracted 2026-11-19." + note "Table 4 rows are single-character parallel subs (33 rows). Table 5 (other characters, 14 rows) is in the same parallel stage; its rows 1-6 (ჱ ჲ ჳ ჴ ჵ ჶ) are noted by the standard as unchanged from the 1996 edition, which the corpus's legacy map iso-kat-Geor-Latn-9984-1996 encodes identically." + note "Section 4.2 digraph disambiguation: for the six adjoining source pairs გჰ ზჰ სჰ ქჰ თს დზ (g/z/s/k followed by h; t followed by s; d followed by z) the romanization inserts a middle dot U+00B7 between the two romanized tokens so they cannot be read as the digraphs gh zh sh kh ts dz. Encoded as the document's pair rows, which run before the parallel stage." + note "Reverse-direction limitation, flagged: the transliteration engine inverts rows with a single-character source or target; these six pair rows are multi-character on both sides, so a reversed run does not consume the middle dot (reversed z-dot-h yields zed plus dot plus he instead of zedil-he, and reversed zh resolves to zhet as the digraph row governs). Dotted forward output is unambiguous and round-trips through the forward direction; the limitation only affects reconstruction of the pair form from undotted reverse input and is documented here rather than hacked around." + note "Residual digraph ambiguity, flagged per the source: the standard dots only the six listed pairs, so e.g. შჰ romanizes shh and the reverse direction resolves it by longest match to შ+ჰ; a source ს+ჰ+ჰ would be dotted (s·hh) and round-trips, but undotted reverse input shh cannot distinguish სჰჰ. The document itself provides no provision beyond the six pairs." + note "Edition difference (1996 -> 2026), from the 2026 Introduction tables: ჟ ž->zh, ღ ḡ->gh, შ š->sh, ჩ č'->ch, ც c'->ts, ძ j->dz, წ c->ts', ჭ č->ch', ხ x->kh, ჯ ǰ->j; glottalized კ k->k', პ p->p', ტ t->t', ყ q->q', წ c->ts', ჭ č->ch'; aspirated თ t'->t, ფ p'->p, ქ k'->k, ჩ č'->ch, ც c'->ts. The 1996 ejective mark (high comma off centre, ISO 5426 4/11, encoded U+0315 in the legacy map) is replaced by the neutral apostrophe U+0027 exactly as the 2026 hex column prints." + note "The first edition's clause 5 (three old-Georgian punctuation marks to comma, full stop, and the ISO 5426 2/7 section mark) is removed in this edition as infrequently used; the legacy map never encoded them and their 1996 glyphs are unreadable in the held scan (flagged there)." + note "Capitalization: 4.1.2 makes capitalization of transliterated forms optional and outside the scope of the document; the map transliterates to lowercase as the table prints, and document-example tests are lowercased accordingly." + } +} + +tests { + "ამბროლაური" -> "ambrolauri" + "ბათუმი" -> "batumi" + "გორი" -> "gori" + "დუშეთი" -> "dusheti" + "ერგე" -> "erge" + "ვანი" -> "vani" + "ზუგდიდი" -> "zugdidi" + "თბილისი" -> "tbilisi" + "კასპი" -> "k'asp'i" + "ნინოწმინდა" -> "ninots'minda" + "პანტნარი" -> "p'ant'nari" + "ჟანივრი" -> "zhanivri" + "სამტრედია" -> "samt'redia" + "ღრმაღელე" -> "ghrmaghele" + "ყუმისთავი" -> "q'umistavi" + "შხარა" -> "shkhara" + "ჩუნეში" -> "chuneshi" + "ცაგერი" -> "tsageri" + "ძეძილეთი" -> "dzedzileti" + "წალკა" -> "ts'alk'a" + "აჭარა" -> "ach'ara" + "ხაშური" -> "khashuri" + "ჯვარი" -> "jvari" + "ჰეღო" -> "hegho" + "ზჰ" -> "z·h" + "გჰ" -> "g·h" + "თს" -> "t·s" + "დზ" -> "d·z" + "ჱ" -> "ē" + "ჸ" -> "ʔ" + "ჿ" -> "ʷ" +# Exhaustive per-row tests for iso-kat-Geor-Latn-9984-2026, generated from the source +# document's table. +# Source: ISO 9984:2026(en), second edition, purchased published edition +# (ISO Store order OP-1130631, downloaded 2026-11-19; verification-grade +# provenance). Rows in document order: Table 4 rows 1-33 (the 33 characters +# of the current Georgian alphabet; hex column authoritative: ejectives +# carry U+0027 neutral apostrophe, digraphs zh/gh/sh/ch/ts/dz/kh per hex), +# then the §4.2 digraph-disambiguation provision (middle dot U+00B7 inserted +# between the six adjoining source pairs whose romanization would form a +# digraph: გჰ ზჰ სჰ ქჰ თს დზ), then Table 5 rows 1-14 (other characters; +# rows 1-6 unchanged from the 1996 edition). Expected strings are the +# printed Latin column (lowercase; capitalization optional per 4.1.2 and not +# part of the system). +# Provenance artifact: scripts/row-sources/iso-kat-Geor-Latn-9984-2026.json (53 rows). +# generated-by: maps/scripts/gen-row-tests.mjs (2026-11-19); regenerate from the artifact, do not hand-edit. + "ა" -> "a" + "ბ" -> "b" + "გ" -> "g" + "დ" -> "d" + "ე" -> "e" + "ვ" -> "v" + "ზ" -> "z" + "თ" -> "t" + "ი" -> "i" + "კ" -> "k'" + "ლ" -> "l" + "მ" -> "m" + "ნ" -> "n" + "ო" -> "o" + "პ" -> "p'" + "ჟ" -> "zh" + "რ" -> "r" + "ს" -> "s" + "ტ" -> "t'" + "უ" -> "u" + "ფ" -> "p" + "ქ" -> "k" + "ღ" -> "gh" + "ყ" -> "q'" + "შ" -> "sh" + "ჩ" -> "ch" + "ც" -> "ts" + "ძ" -> "dz" + "წ" -> "ts'" + "ჭ" -> "ch'" + "ხ" -> "kh" + "ჯ" -> "j" + "ჰ" -> "h" + "გჰ" -> "g·h" + "ზჰ" -> "z·h" + "სჰ" -> "s·h" + "ქჰ" -> "k·h" + "თს" -> "t·s" + "დზ" -> "d·z" + "ჱ" -> "ē" + "ჲ" -> "y" + "ჳ" -> "w" + "ჴ" -> "ẖ" + "ჵ" -> "ō" + "ჶ" -> "f" + "ჷ" -> "ȳ" + "ჸ" -> "ʔ" + "ჹ" -> "ĝ" + "ჺ" -> "ʕ" + "ჼ" -> "ⁿ" + "ჽ" -> "æ" + "ჾ" -> "ʸ" + "ჿ" -> "ʷ" +} + +stage main { + # Section 4.2 digraph disambiguation: adjoining source pairs whose + # romanization would form a digraph are separated by the middle dot + # U+00B7. Encoded as the document's pair rows; they run before the + # parallel stage. + sub "გჰ" "g·h" + sub "ზჰ" "z·h" + sub "სჰ" "s·h" + sub "ქჰ" "k·h" + sub "თს" "t·s" + sub "დზ" "d·z" + + # Table 4 - transliteration of Georgian characters (rows 1-33) + # Table 5 - transliteration of other characters (rows 1-14) + parallel { + sub "ა" "a" + sub "ბ" "b" + sub "გ" "g" + sub "დ" "d" + sub "ე" "e" + sub "ვ" "v" + sub "ზ" "z" + sub "თ" "t" + sub "ი" "i" + sub "კ" "k'" + sub "ლ" "l" + sub "მ" "m" + sub "ნ" "n" + sub "ო" "o" + sub "პ" "p'" + sub "ჟ" "zh" + sub "რ" "r" + sub "ს" "s" + sub "ტ" "t'" + sub "უ" "u" + sub "ფ" "p" + sub "ქ" "k" + sub "ღ" "gh" + sub "ყ" "q'" + sub "შ" "sh" + sub "ჩ" "ch" + sub "ც" "ts" + sub "ძ" "dz" + sub "წ" "ts'" + sub "ჭ" "ch'" + sub "ხ" "kh" + sub "ჯ" "j" + sub "ჰ" "h" + + sub "ჱ" "ē" + sub "ჲ" "y" + sub "ჳ" "w" + sub "ჴ" "ẖ" + sub "ჵ" "ō" + sub "ჶ" "f" + sub "ჷ" "ȳ" + sub "ჸ" "ʔ" + sub "ჹ" "ĝ" + sub "ჺ" "ʕ" + sub "ჼ" "ⁿ" + sub "ჽ" "æ" + sub "ჾ" "ʸ" + sub "ჿ" "ʷ" + } + +} + +} diff --git a/public/maps/iso-pli-Thai-Latn-15919-2001.isc b/public/maps/iso-pli-Thai-Latn-15919-2001.isc index 10938a07..c2ff2a13 100644 --- a/public/maps/iso-pli-Thai-Latn-15919-2001.isc +++ b/public/maps/iso-pli-Thai-Latn-15919-2001.isc @@ -24,21 +24,28 @@ metadata { note "All transliterations made using this International Standard shall be case-insensitive." note "If a character in an Indic script is defined in such a way as to be equivalent to another character in any\n script, where the second character has a transliteration in this International Standard, then the first character shall\n be transliterated in the same way as the second character." + note "The test expectations for phinthu were corrected on 2026-11-19 + from en dash plus ring below to bare ring below U+0325: the en dash + was an encoding artifact inherited from the phinthu rule of the + dependency iso-tha-Thai-Latn-11940-1998, which this map's stage + runs through, and is not a value of this standard, whose printed + tables carry no Thai column. The corrected rendering follows the + ISO 11940 phinthu column (ring below)." } } tests { - "โย กปฺปโกฏีหิปิ อปฺปเมยฺยํ;" -> "oy kp–̥pokṭīh̄ipi xp–̥pemy–̥ẙ;" - "ตตฺถ ตํ วณฺณยิสฺสํ วินยนฺติ วุตฺตตฺตา วินโย ตาว ววตฺถเปตพฺโพฯ เตเนตํ วุจฺจติ" -> "tt–̥t̄h t̊ wṇ–̥ṇyis̄–̥s̄̊ winyn–̥ti wut–̥tt–̥tā winoy tāw wwt–̥t̄heptph–̥ophǂ etent̊ wuc–̥cti" - "วุตฺตํ เยน ยทา ยสฺมา, ธาริตํ เยน จาภตํ; ยตฺถปฺปติฏฺฐิตเจตเมตํ วตฺวา วิธิํ ตโตฯ" -> "wut–̥t̊ eyn ythā ys̄–̥mā, ṭhārit̊ eyn cāp̣ht̊; yt–̥t̄hp–̥ptiṭ–̥ṭ̄hitectemt̊ wt–̥wā wiṭhi̊ totǂ" - "เตนาติอาทิปาฐสฺส, อตฺถํ นานปฺปการโต; ทสฺสยนฺโต กริสฺสามิ, วินยสฺสตฺถวณฺณนนฺติฯ" -> "etnātixāthipāṭ̄hs̄–̥s̄, xt–̥t̄h̊ nānp–̥pkārot; ths̄–̥s̄yn–̥ot kris̄–̥s̄āmi, winys̄–̥s̄t–̥t̄hwṇ–̥ṇnn–̥tiǂ" - "ยํนูนาหํ ธมฺมญฺจ วินยญฺจ สงฺคาเยยฺยํ, ยถยิทํ สาสนํ อทฺธนิยํ อสฺส จิรฏฺฐิติกํฯ" -> "ẙnūnāh̄̊ ṭhm–̥mỵ–̥c winyỵ–̥c s̄ng–̥khāeyy–̥ẙ, yt̄hyith̊ s̄ās̄n̊ xth–̥ṭhniẙ xs̄–̥s̄ cirṭ–̥ṭ̄hitik̊ǂ" - "ธาเรสฺสสิ ปน เม ตฺวํ, กสฺสป, สาณานิ ปํสุกูลานิ นิพฺพสนานี’ติ วตฺวา จีวเร สาธารณปริโภเคน เจว" -> "ṭhāers̄–̥s̄s̄i pn em t–̥ẘ, ks̄–̥s̄p, s̄āṇāni p̊s̄ukūlāni niph–̥phs̄nānī’ti wt–̥wā cīwer s̄āṭhārṇpriop̣hekhn ecw" - "อถ โข อายสฺมา มหากสฺสโป ภิกฺขู อามนฺเตสิ" -> "xt̄h ok̄h xāys̄–̥mā mh̄āks̄–̥s̄op p̣hik–̥k̄hū xāmn–̥ets̄i" - "อกาโล โข, มาณวก, อตฺถิ เม อชฺช เภสชฺชมตฺตา ปีตา, อปฺเปว นาม สฺเวปิ อุปสงฺกเมยฺยามา" -> "xkāol ok̄h, māṇwk, xt–̥t̄hi em xch–̥ch ep̣hs̄ch–̥chmt–̥tā pītā, xp–̥epw nām s̄–̥ewpi xups̄ng–̥kemy–̥yāmā" - "สฺเว สนฺนิปาโต, น โข ปน เมตํ ปติรูปํ ยฺวาหํ เสกฺโข สมาโน สนฺนิปาตํ คจฺเฉยฺย" -> "s̄–̥ew s̄n–̥nipāot, n ok̄h pn emt̊ ptirūp̊ y–̥wāh̄̊ es̄k–̥ok̄h s̄māon s̄n–̥nipāt̊ khc–̥ec̄hy–̥y" - "สุณาตุ เม, ภนฺเต, สงฺโฆฯ ยทิ สงฺฆสฺส ปตฺตกลฺลํ, อหํ อายสฺมตา มหากสฺสเปน วินยํ ปุฏฺโฐ วิสฺสชฺเชยฺย" -> "s̄uṇātu em, p̣hn–̥et, s̄ng–̥oḳhǂ ythi s̄ng–̥ḳhs̄–̥s̄ pt–̥tkl–̥l̊, xh̄̊ xāys̄–̥mtā mh̄āks̄–̥s̄epn winẙ puṭ–̥oṭ̄h wis̄–̥s̄ch–̥echy–̥y" - "สุณาตุ เม, อาวุโส, สงฺโฆฯ ยทิ สงฺฆสฺส ปตฺตกลฺลํ, อหํ อานนฺทํ ธมฺมํ ปุจฺเฉยฺย" -> "s̄uṇātu em, xāwuos̄, s̄ng–̥oḳhǂ ythi s̄ng–̥ḳhs̄–̥s̄ pt–̥tkl–̥l̊, xh̄̊ xānn–̥th̊ ṭhm–̥m̊ puc–̥ec̄hy–̥y" + "โย กปฺปโกฏีหิปิ อปฺปเมยฺยํ;" -> "oy kp̥pokṭīh̄ipi xp̥pemy̥ẙ;" + "ตตฺถ ตํ วณฺณยิสฺสํ วินยนฺติ วุตฺตตฺตา วินโย ตาว ววตฺถเปตพฺโพฯ เตเนตํ วุจฺจติ" -> "tt̥t̄h t̊ wṇ̥ṇyis̥̄s̄̊ winyn̥ti wut̥tt̥tā winoy tāw wwt̥t̄heptph̥ophǂ etent̊ wuc̥cti" + "วุตฺตํ เยน ยทา ยสฺมา, ธาริตํ เยน จาภตํ; ยตฺถปฺปติฏฺฐิตเจตเมตํ วตฺวา วิธิํ ตโตฯ" -> "wut̥t̊ eyn ythā ys̥̄mā, ṭhārit̊ eyn cāp̣ht̊; yt̥t̄hp̥ptiṭ̥ṭ̄hitectemt̊ wt̥wā wiṭhi̊ totǂ" + "เตนาติอาทิปาฐสฺส, อตฺถํ นานปฺปการโต; ทสฺสยนฺโต กริสฺสามิ, วินยสฺสตฺถวณฺณนนฺติฯ" -> "etnātixāthipāṭ̄hs̥̄s̄, xt̥t̄h̊ nānp̥pkārot; ths̥̄s̄yn̥ot kris̥̄s̄āmi, winys̥̄s̄t̥t̄hwṇ̥ṇnn̥tiǂ" + "ยํนูนาหํ ธมฺมญฺจ วินยญฺจ สงฺคาเยยฺยํ, ยถยิทํ สาสนํ อทฺธนิยํ อสฺส จิรฏฺฐิติกํฯ" -> "ẙnūnāh̄̊ ṭhm̥mỵ̥c winyỵ̥c s̄ng̥khāeyy̥ẙ, yt̄hyith̊ s̄ās̄n̊ xth̥ṭhniẙ xs̥̄s̄ cirṭ̥ṭ̄hitik̊ǂ" + "ธาเรสฺสสิ ปน เม ตฺวํ, กสฺสป, สาณานิ ปํสุกูลานิ นิพฺพสนานี’ติ วตฺวา จีวเร สาธารณปริโภเคน เจว" -> "ṭhāers̥̄s̄s̄i pn em t̥ẘ, ks̥̄s̄p, s̄āṇāni p̊s̄ukūlāni niph̥phs̄nānī’ti wt̥wā cīwer s̄āṭhārṇpriop̣hekhn ecw" + "อถ โข อายสฺมา มหากสฺสโป ภิกฺขู อามนฺเตสิ" -> "xt̄h ok̄h xāys̥̄mā mh̄āks̥̄s̄op p̣hik̥k̄hū xāmn̥ets̄i" + "อกาโล โข, มาณวก, อตฺถิ เม อชฺช เภสชฺชมตฺตา ปีตา, อปฺเปว นาม สฺเวปิ อุปสงฺกเมยฺยามา" -> "xkāol ok̄h, māṇwk, xt̥t̄hi em xch̥ch ep̣hs̄ch̥chmt̥tā pītā, xp̥epw nām s̥̄ewpi xups̄ng̥kemy̥yāmā" + "สฺเว สนฺนิปาโต, น โข ปน เมตํ ปติรูปํ ยฺวาหํ เสกฺโข สมาโน สนฺนิปาตํ คจฺเฉยฺย" -> "s̥̄ew s̄n̥nipāot, n ok̄h pn emt̊ ptirūp̊ y̥wāh̄̊ es̄k̥ok̄h s̄māon s̄n̥nipāt̊ khc̥ec̄hy̥y" + "สุณาตุ เม, ภนฺเต, สงฺโฆฯ ยทิ สงฺฆสฺส ปตฺตกลฺลํ, อหํ อายสฺมตา มหากสฺสเปน วินยํ ปุฏฺโฐ วิสฺสชฺเชยฺย" -> "s̄uṇātu em, p̣hn̥et, s̄ng̥oḳhǂ ythi s̄ng̥ḳhs̥̄s̄ pt̥tkl̥l̊, xh̄̊ xāys̥̄mtā mh̄āks̥̄s̄epn winẙ puṭ̥oṭ̄h wis̥̄s̄ch̥echy̥y" + "สุณาตุ เม, อาวุโส, สงฺโฆฯ ยทิ สงฺฆสฺส ปตฺตกลฺลํ, อหํ อานนฺทํ ธมฺมํ ปุจฺเฉยฺย" -> "s̄uṇātu em, xāwuos̄, s̄ng̥oḳhǂ ythi s̄ng̥ḳhs̥̄s̄ pt̥tkl̥l̊, xh̄̊ xānn̥th̊ ṭhm̥m̊ puc̥ec̄hy̥y" } dependency "iso-tha-Thai-Latn-11940-1998" as thailatn diff --git a/public/maps/iso-prs-Arab-Latn-233-3-2026.isc b/public/maps/iso-prs-Arab-Latn-233-3-2026.isc new file mode 100644 index 00000000..018e0d1c --- /dev/null +++ b/public/maps/iso-prs-Arab-Latn-233-3-2026.isc @@ -0,0 +1,239 @@ +system "ISO:prs-Arab:Latn:233-3-2026" { + +metadata { + authority_id iso + id 233-3-2026 + language iso-639-3:prs + source_script Arab + destination_script Latn + name "ISO 233-3:2026 Information and documentation -- Transliteration of Perso-Arabic characters into Latin characters -- Part 3: Persian language" + url https://www.iso.org/committee/48820.html + # Source document: interscript-private-references/iso/ISO-233-3-2026.pdf + # (purchased published edition, ISO Store order OP-1130631, downloaded + # 2026-11-19; verification-grade provenance). + creation_date 2026 + adoption_date 2026 + description { Third edition (cancels and replaces ISO 233-3:2023 as a minor + revision; the corpus's legacy map implements the 1999 first edition). + Encodes the strict transliteration of clause 4, the one-to-one + fully reversible system: Table 1 consonants (32 rows), Table 2 + vowels (alef madda and the three written diacritical vowel signs), + Table 3 conventional signs (tashdid and the three tanvin marks), + 4.4.3 ta marbuta per ISO 233, 4.4.4 the Allah word, Table 4 hamze + forms, Table 5 the ezafe he-plus-hamze form, Table 1 note d's + strict provision for the yeh-plus-superscript-alef clarity variant, + Table 6 punctuation and Table 7 numerals. The clause 5 modified + transliteration (Tables 8-11) is not reversible - it depends on + word position and on whether a letter functions as consonant or + vowel - and is not encoded. + } + + notes { + note "Encoded from the purchased published edition (ISO Store order OP-1130631, downloaded 2026-11-19); the PDF text layer is clean and the hex column is authoritative over the printed glyphs. Extracted 2026-11-19." + note "NFC quirk preserved exactly as the published standard prints it: the zal row (ذ, hex 1E95) and the zain row (ظ, hex 1E93) use precomposed codepoints, while the thal row (ث, hex 0073+0331) and the dad row (ض, hex 007A+0324) are printed decomposed; no precomposed forms exist for those two. Note that the decomposed zal (U+007A+U+0331) is canonically equivalent to the precomposed U+1E95, so NFC input affects which of the two Arabic letters a normalized application resolves; 4.1.3 requires systems to treat precomposed and decomposed characters equally on input." + note "Clause 4.1.3: a system transliterating from Latin into Persian script shall be case insensitive, and precomposed/decomposed input must be treated equally; both are input-normalization concerns left to the implementing engine, not rows of the map." + note "Tolerance notes of the source, flagged and not encoded as rows: Table 1 note b (U+2018 may be encountered for the ayn), note c (Arabic yeh U+064A may be encountered in existing text; no strict value is given for it, so bare U+064A passes through unromanized), Table 1 note d and Table 5 note b (U+06C0 may be encountered; it is not canonically equivalent to the encoded he-plus-hamze sequence U+0647+U+0654 and is not permitted in ISIRI 6219), Table 4 note a (U+2019 may be encountered for the hamze apostrophe). Bare alef maqsur U+0649 likewise has no explicit strict row: the source says Persian usually writes it as U+06CC or, for clarity, U+06CC+U+0670 (the latter is the encoded ý row)." + note "Strict alef rule (Table 1 note a and 4.2.1): alef is always transliterated as a-macron, even as the bearer of a written short vowel (alef + pish = a-macron + o, e.g. اُمید = āomyd); this falls out of the character-by-character rows." + note "The Allah word (4.4.4, hex 0627 0644 0644 0651 0670 0647) is encoded as one strict multi-character row producing Allāh (capital A as printed); the superscript alef U+0670 occurs in no other row. Reverse-direction limitation, flagged: the transliteration engine inverts rows with a single-character source or target, and this row is multi-character on both sides, so a reversed run does not reconstruct the six-character source from Allāh (the capital A, the shadda and the superscript alef are the unrecoverable parts). The forward direction - the bibliographic direction of the standard - is fully faithful." + note "Ezafe in the strict system (4.6): the written zir-e ezafe is treated as zir (e) by the character rows; he plus hamze above (hex 0647+0654) is the encoded h-apostrophe row (Table 5) as a pair row; after final alef or vav the ezafe ye is plain yeh (y) per 4.6.2. The clause 5 modified system's -e/-ye hyphenation and the tashdid double-letter U+035F convention are part of the non-reversible system and are not encoded." + note "Forward collision inherited from the source, flagged: he followed by the standalone hamza letter (hex 0647, 0621, Table 4 row 1 + Table 1 row 31) and he with hamze above (hex 0647+0654, Table 5) both romanize h-apostrophe, and the document provides no disambiguator. The reverse direction resolves h-apostrophe to the standalone form (he plus hamza) because the ezafe pair row does not invert; the choice is recorded here rather than hacked around." + note "Clause 4.4.1: an Arabic element present in Persian text but not covered by this document follows ISO 233-1; no ISO 233-1 rows are added here." + note "Provenance lineage: the legacy corpus map iso-prs-Arab-Latn-233-3-1999.isc implements the 1999 first edition (a simplified system); neither the 1999 nor the 2023 second edition document is held, and the legacy map is untouched. This map is the 2026 third edition strict system." + } +} + +tests { + "آذَر" -> "âẕar" + "آذر" -> "âẕr" + "سَم" -> "sam" + "سم" -> "sm" + "پُر" -> "por" + "پر" -> "pr" + "سِپَر" -> "separ" + "سپر" -> "spr" + "اُمید" -> "āomyd" + "امید" -> "āmyd" + "مثلاً" -> "ms̱lāã" + "مربّع" -> "mrbʺʻ" + "جزء" -> "jzʼ" + "رأس" -> "rāʼs" + "سؤال" -> "svʼāl" + "پائین" -> "pāyʼyn" + "اللّٰه" -> "Allāh" + "هٔ" -> "hʼ" + "یٰ" -> "ý" + "ة" -> "ẗ" + "،" -> "," + "؛" -> ";" + "؟" -> "?" + "۱۲۳" -> "123" +# Exhaustive per-row tests for iso-prs-Arab-Latn-233-3-2026, generated from the source +# document's table. +# Source: ISO 233-3:2026(en), third edition, purchased published edition +# (ISO Store order OP-1130631, downloaded 2026-11-19; verification-grade +# provenance). STRICT transliteration only (clause 4, the fully reversible +# system); the clause 5 modified transliteration is not reversible and is +# not encoded. Rows in document order: Table 1 rows 1-32 (consonants; NFC +# quirk preserved as printed: the zal row uses precomposed U+1E95 and the +# zain row precomposed U+1E93, while the sin-e-thalathah row is the +# decomposed U+0073+U+0331 and the dad row the decomposed U+007A+U+0324 - no +# precomposed forms exist for these two), Table 2 rows 1-4 (vowels: +# alef-madda as a-circumflex, zebar a, pish o, zir e), Table 3 (tashdid +# double-prime U+02BA and the three tanvin rows), 4.4.3 (ta marbuta to +# t-with-line-below U+1E97 per ISO 233), 4.4.4 (the Allah word as one strict +# row over hex 0627,0644,0644,0651,0670,0647), Table 4 rows 1-4 (hamze +# forms; apostrophe U+02BC), Table 5 row 1 (ezafe he plus hamze above h with +# following U+02BC), Table 1 note d strict provision (yeh plus superscript +# alef clarity variant to y-acute U+00FD), Table 6 (three punctuation +# marks), Table 7 (ten numerals). +# Provenance artifact: scripts/row-sources/iso-prs-Arab-Latn-233-3-2026.json (61 rows). +# generated-by: maps/scripts/gen-row-tests.mjs (2026-11-19); regenerate from the artifact, do not hand-edit. + "ا" -> "ā" + "ب" -> "b" + "پ" -> "p" + "ت" -> "t" + "ث" -> "s̱" + "ج" -> "j" + "چ" -> "č" + "ح" -> "ḥ" + "خ" -> "x" + "د" -> "d" + "ذ" -> "ẕ" + "ر" -> "r" + "ز" -> "z" + "ژ" -> "ž" + "س" -> "s" + "ش" -> "š" + "ص" -> "ṣ" + "ض" -> "z̤" + "ط" -> "ṭ" + "ظ" -> "ẓ" + "ع" -> "ʻ" + "غ" -> "ġ" + "ف" -> "f" + "ق" -> "q" + "ک" -> "k" + "گ" -> "g" + "ل" -> "l" + "م" -> "m" + "ن" -> "n" + "و" -> "v" + "ه" -> "h" + "ی" -> "y" + "آ" -> "â" + "َ" -> "a" + "ُ" -> "o" + "ِ" -> "e" + "ّ" -> "ʺ" + "ً" -> "ã" + "ٍ" -> "ẽ" + "ٌ" -> "õ" + "ة" -> "ẗ" + "اللّٰه" -> "Allāh" + "ء" -> "ʼ" + "أ" -> "āʼ" + "ؤ" -> "vʼ" + "ئ" -> "yʼ" + "هٔ" -> "hʼ" + "یٰ" -> "ý" + "،" -> "," + "؛" -> ";" + "؟" -> "?" + "۰" -> "0" + "۱" -> "1" + "۲" -> "2" + "۳" -> "3" + "۴" -> "4" + "۵" -> "5" + "۶" -> "6" + "۷" -> "7" + "۸" -> "8" + "۹" -> "9" +} + +stage main { + # 4.4.4 the Allah word: one strict row over hex 0627 0644 0644 0651 0670 0647 + sub "اللّٰه" "Allāh" + # Table 5 row 1: ezafe, he plus hamze above (hex 0647+0654) + sub "هٔ" "hʼ" + # Table 1 note d: the clarity variant, yeh plus superscript alef + # (hex 06CC+0670), is transliterated y-acute (hex 00FD) in the strict system + sub "یٰ" "ý" + + # Table 1 consonants (rows 1-32) + parallel { + sub "ا" "ā" + sub "ب" "b" + sub "پ" "p" + sub "ت" "t" + sub "ث" "s̱" + sub "ج" "j" + sub "چ" "č" + sub "ح" "ḥ" + sub "خ" "x" + sub "د" "d" + sub "ذ" "ẕ" + sub "ر" "r" + sub "ز" "z" + sub "ژ" "ž" + sub "س" "s" + sub "ش" "š" + sub "ص" "ṣ" + sub "ض" "z̤" + sub "ط" "ṭ" + sub "ظ" "ẓ" + sub "ع" "ʻ" + sub "غ" "ġ" + sub "ف" "f" + sub "ق" "q" + sub "ک" "k" + sub "گ" "g" + sub "ل" "l" + sub "م" "m" + sub "ن" "n" + sub "و" "v" + sub "ه" "h" + sub "ی" "y" + + # Table 2 vowels for the fully reversible system (rows 1-4) + sub "آ" "â" + sub "َ" "a" + sub "ُ" "o" + sub "ِ" "e" + + # Table 3 conventional signs: tashdid and the three tanvin marks + sub "ّ" "ʺ" + sub "ً" "ã" + sub "ٍ" "ẽ" + sub "ٌ" "õ" + + # 4.4.3 ta marbuta per ISO 233 (Arabic) + sub "ة" "ẗ" + + # Table 4 hamze forms (rows 1-4) + sub "ء" "ʼ" + sub "أ" "āʼ" + sub "ؤ" "vʼ" + sub "ئ" "yʼ" + + # Table 6 punctuation marks (rows 1-3) + sub "،" "," + sub "؛" ";" + sub "؟" "?" + + # Table 7 Persian numerals (rows 1-10) + sub "۰" "0" + sub "۱" "1" + sub "۲" "2" + sub "۳" "3" + sub "۴" "4" + sub "۵" "5" + sub "۶" "6" + sub "۷" "7" + sub "۸" "8" + sub "۹" "9" + } + +} + +} diff --git a/public/maps/iso-rus-Cyrl-Latn-9-2026.isc b/public/maps/iso-rus-Cyrl-Latn-9-2026.isc new file mode 100644 index 00000000..5f63b2b0 --- /dev/null +++ b/public/maps/iso-rus-Cyrl-Latn-9-2026.isc @@ -0,0 +1,812 @@ +system "ISO:rus-Cyrl:Latn:9-2026" { + +metadata { + authority_id iso + id 9-2026 + language iso-639-2:rus + source_script Cyrl + destination_script Latn + name "ISO/FDIS 9:2026 Information and documentation -- Transliteration of Cyrillic characters into Latin characters -- Slavic and non-Slavic languages (Russian) (FDIS stage)" + url https://www.iso.org/committee/48820.html + creation_date 2026 + description { Third edition (FDIS stage) of ISO 9, Transliteration of Cyrillic characters into + Latin characters. Table 1 encodes all 168 main rows (upper and lower case + where given; rows 158-159 are caseless), Table 2 the 15 rare-or-obsolete + rows (lower case only), and the clause 4.4 formula example. Hex columns of + the source table are authoritative over printed glyphs. + } + + notes { + note "Encoded from ISO/FDIS 9:2026, ISO/TC 46/WG 3 N127 (FDIS ballot; document date 2026-10-26, id 89763). FDIS stage: verify against the published edition when available." + note "Source footnote b: rows 138, 143 and 168 normally transliterate with the lower-case form only; where an upper-case distinction is needed a prefixed circumflex U+02C6 is added (encoded as the printed upper-case forms)." + note "Source footnote a: row 97 (OE ligature) has no encoding in the Cyrillic block; the Latin-block codepoints 0152/0153 serve both sides." + note "Against the 2nd edition (1995), combining comma below U+0326 is replaced by combining cedilla U+0327 throughout (rows 38 43 60 79 105 109 124 132 167); rows 68 78 87 115 116 152 165 166 are changed or reassigned per the source's informative type column." + note "Clause 4.1.2 (precomposed and decomposed characters treated equally on input): each precomposed Cyrillic letter with a canonical Unicode decomposition additionally carries a companion rule keyed on its decomposed sequence, mapping to the same output." + note "Clause 4.4 (unlisted Cyrillic + combining mark -> Latin + U+005F LOW LINE + combining mark) is not generically expressible in the stateless longest-match rule engine; only the clause's own worked example (0451+0301 -> 00EB+005F+0301, plus its decomposed twin per 4.1.2) is encoded as a rule." + note "Table 2 rows are transcribed verbatim by hex code; several printed Latin outputs do not follow the clause 4.4 pattern (e.g. row 170: 0456+0304+0307 -> 0069+0306; rows 169/171/172/174/175/177/179/181) - encoded as printed, pending the published edition." + note "Case-asymmetric rows as printed: row 56 upper 004A+030C / lower 01F0 precomposed; row 127 upper 0048+0331 / lower 1E96 precomposed." + } +} +tests { +# Exhaustive per-row tests for iso-rus-Cyrl-Latn-9-2026, generated from the source +# document's table. +# Source: ISO/FDIS 9:2026, ISO/TC 46/WG 3 N127 (ballot 2026-10-26), Table 1 +# rows 1-168 (upper and lower case where given; rows 158-159 caseless) and +# Table 2 rows 169-183 (lower case only); hex columns authoritative. The +# clause 4.4 example (0451+0301 -> 00EB+005F+0301) is encoded as a hand +# test, not a table row. +# Provenance artifact: scripts/row-sources/iso-rus-Cyrl-Latn-9-2026.json (349 rows). +# generated-by: maps/scripts/gen-row-tests.mjs (2026-11-19); regenerate from the artifact, do not hand-edit. + "А" -> "A" + "а" -> "a" + "Ѧ" -> "Ę" + "ѧ" -> "ę" + "Ӑ" -> "Ă" + "ӑ" -> "ă" + "Ӓ" -> "Ä" + "ӓ" -> "ä" + "Ӕ" -> "Æ" + "ӕ" -> "æ" + "А́" -> "Á" + "а́" -> "á" + "А̄" -> "Ā" + "а̄" -> "ā" + "А̊" -> "Å" + "а̊" -> "å" + "Б" -> "B" + "б" -> "b" + "В" -> "V" + "в" -> "v" + "Ԝ" -> "W" + "ԝ" -> "w" + "Г" -> "G" + "г" -> "g" + "Ѓ" -> "Ǵ" + "ѓ" -> "ǵ" + "Ґ" -> "G̀" + "ґ" -> "g̀" + "Ғ" -> "Ġ" + "ғ" -> "ġ" + "Ҕ" -> "Ğ" + "ҕ" -> "ğ" + "Ӷ" -> "Ģ" + "ӷ" -> "ģ" + "Ӻ" -> "Ĝ" + "ӻ" -> "ĝ" + "Д" -> "D" + "д" -> "d" + "Ђ" -> "Đ" + "ђ" -> "đ" + "Ԁ" -> "Ḏ" + "ԁ" -> "ḏ" + "Ԃ" -> "Ḓ" + "ԃ" -> "ḓ" + "Ԫ" -> "D͜Ž" + "ԫ" -> "d͜ž" + "Ԭ" -> "D͜Č" + "ԭ" -> "d͜č" + "Е" -> "E" + "е" -> "e" + "Ѐ" -> "Ȅ" + "ѐ" -> "ȅ" + "Ё" -> "Ë" + "ё" -> "ë" + "Ѣ" -> "Ě" + "ѣ" -> "ě" + "Ѥ" -> "I͜E" + "ѥ" -> "i͜e" + "Ӗ" -> "Ĕ" + "ӗ" -> "ĕ" + "Ә" -> "Ȧ" + "ә" -> "ȧ" + "Ӛ" -> "A̋" + "ӛ" -> "a̋" + "Ԑ" -> "Ɛ" + "ԑ" -> "ɛ" + "Е́" -> "É" + "е́" -> "é" + "Е̄" -> "Ē" + "е̄" -> "ē" + "Ж" -> "Ž" + "ж" -> "ž" + "Џ" -> "D̂" + "џ" -> "d̂" + "Җ" -> "Ž̧" + "җ" -> "ž̧" + "Ӂ" -> "Z̆" + "ӂ" -> "z̆" + "Ӝ" -> "Z̄" + "ӝ" -> "z̄" + "З" -> "Z" + "з" -> "z" + "Ѕ" -> "Ẑ" + "ѕ" -> "ẑ" + "Ҙ" -> "Z̧" + "ҙ" -> "z̧" + "Ӟ" -> "Z̈" + "ӟ" -> "z̈" + "Ӡ" -> "Ź" + "ӡ" -> "ź" + "Ԅ" -> "Z̭" + "ԅ" -> "z̭" + "Ԇ" -> "Ẕ" + "ԇ" -> "ẕ" + "И" -> "I" + "и" -> "i" + "І" -> "Ì" + "і" -> "ì" + "Ї" -> "Ï" + "ї" -> "ï" + "Ѝ" -> "Ȉ" + "ѝ" -> "ȉ" + "Ӣ" -> "Ī" + "ӣ" -> "ī" + "Ӥ" -> "Î" + "ӥ" -> "î" + "И́" -> "Í" + "и́" -> "í" + "Й" -> "J" + "й" -> "j" + "Ј" -> "J̌" + "ј" -> "ǰ" + "Ҋ" -> "J̊" + "ҋ" -> "j̊" + "К" -> "K" + "к" -> "k" + "Ќ" -> "Ḱ" + "ќ" -> "ḱ" + "Қ" -> "Ķ" + "қ" -> "ķ" + "Ҝ" -> "K̂" + "ҝ" -> "k̂" + "Ҟ" -> "K̄" + "ҟ" -> "k̄" + "Ҡ" -> "Ǩ" + "ҡ" -> "ǩ" + "Ӄ" -> "Ḳ" + "ӄ" -> "ḳ" + "Ԛ" -> "Q" + "ԛ" -> "q" + "Ԟ" -> "Ḵ" + "ԟ" -> "ḵ" + "Л" -> "L" + "л" -> "l" + "Љ" -> "Ĺ" + "љ" -> "ĺ" + "Ӆ" -> "L̥" + "ӆ" -> "l̥" + "Ԉ" -> "Ḽ" + "ԉ" -> "ḽ" + "Ԓ" -> "Ł" + "ԓ" -> "ł" + "Ԕ" -> "L͜H" + "ԕ" -> "l͜h" + "Ԡ" -> "Ľ" + "ԡ" -> "ľ" + "Ԯ" -> "Ļ" + "ԯ" -> "ļ" + "М" -> "M" + "м" -> "m" + "Ӎ" -> "M̥" + "ӎ" -> "m̥" + "Н" -> "N" + "н" -> "n" + "Њ" -> "Ń" + "њ" -> "ń" + "Ң" -> "Ņ" + "ң" -> "ņ" + "Ҥ" -> "Ṅ" + "ҥ" -> "ṅ" + "Ӈ" -> "Ṇ" + "ӈ" -> "ṇ" + "Ӊ" -> "N̥" + "ӊ" -> "n̥" + "Ԋ" -> "Ṋ" + "ԋ" -> "ṋ" + "Ԣ" -> "Ň" + "ԣ" -> "ň" + "Ԩ" -> "Ñ" + "ԩ" -> "ñ" + "О" -> "O" + "о" -> "o" + "Ѡ" -> "Ò" + "ѡ" -> "ò" + "Ѹ" -> "O͜U" + "ѹ" -> "o͜u" + "Ѻ" -> "Ŏ" + "ѻ" -> "ŏ" + "Ѽ" -> "Ò̱" + "ѽ" -> "ò̱" + "Ѿ" -> "O͜T" + "ѿ" -> "o͜t" + "Ӧ" -> "Ö" + "ӧ" -> "ö" + "Ө" -> "Ȯ" + "ө" -> "ȯ" + "Ӫ" -> "Ő" + "ӫ" -> "ő" + "О́" -> "Ó" + "о́" -> "ó" + "О̄" -> "Ō" + "о̄" -> "ō" + "Œ" -> "Œ" + "œ" -> "œ" + "П" -> "P" + "п" -> "p" + "Ҧ" -> "Ṕ" + "ҧ" -> "ṕ" + "Ԥ" -> "P̀" + "ԥ" -> "p̀" + "Р" -> "R" + "р" -> "r" + "Ҏ" -> "R̥" + "ҏ" -> "r̥" + "Ԗ" -> "R͜H" + "ԗ" -> "r͜h" + "С" -> "S" + "с" -> "s" + "Ҫ" -> "Ş" + "ҫ" -> "ş" + "Ԍ" -> "S̭" + "ԍ" -> "s̭" + "Т" -> "T" + "т" -> "t" + "Ћ" -> "Ć" + "ћ" -> "ć" + "Ҭ" -> "Ţ" + "ҭ" -> "ţ" + "Ԏ" -> "Ṱ" + "ԏ" -> "ṱ" + "У" -> "U" + "у" -> "u" + "Ў" -> "Ŭ" + "ў" -> "ŭ" + "Ѵ" -> "Ỳ" + "ѵ" -> "ỳ" + "Ѷ" -> "Y̏" + "ѷ" -> "y̏" + "Ү" -> "U̇" + "ү" -> "u̇" + "Ұ" -> "Ù" + "ұ" -> "ù" + "Ӯ" -> "Ū" + "ӯ" -> "ū" + "Ӱ" -> "Ü" + "ӱ" -> "ü" + "Ӳ" -> "Ű" + "ӳ" -> "ű" + "У́" -> "Ú" + "у́" -> "ú" + "Ф" -> "F" + "ф" -> "f" + "Ѳ" -> "F̀" + "ѳ" -> "f̀" + "Х" -> "H" + "х" -> "h" + "Ҳ" -> "Ḩ" + "ҳ" -> "ḩ" + "Һ" -> "Ḥ" + "һ" -> "ḥ" + "Ӽ" -> "Ȟ" + "ӽ" -> "ȟ" + "Ӿ" -> "H̱" + "ӿ" -> "ẖ" + "Ԧ" -> "Ḣ" + "ԧ" -> "ḣ" + "Ц" -> "C" + "ц" -> "c" + "Ҵ" -> "C̄" + "ҵ" -> "c̄" + "Ч" -> "Č" + "ч" -> "č" + "Ҷ" -> "Ç" + "ҷ" -> "ç" + "Ҹ" -> "Ĉ" + "ҹ" -> "ĉ" + "Ӌ" -> "C̣" + "ӌ" -> "c̣" + "Ӵ" -> "C̈" + "ӵ" -> "c̈" + "Ш" -> "Š" + "ш" -> "š" + "Щ" -> "Ŝ" + "щ" -> "ŝ" + "Ъ" -> "ˆʺ" + "ъ" -> "ʺ" + "Ы" -> "Y" + "ы" -> "y" + "Ӹ" -> "Ÿ" + "ӹ" -> "ÿ" + "Ы́" -> "Ý" + "ы́" -> "ý" + "Ы̄" -> "Ȳ" + "ы̄" -> "ȳ" + "Ь" -> "ˆʹ" + "ь" -> "ʹ" + "Ҍ" -> "Ĵ" + "ҍ" -> "ĵ" + "Э" -> "È" + "э" -> "è" + "Є" -> "Ê" + "є" -> "ê" + "Ӭ" -> "È̤" + "ӭ" -> "è̤" + "Э́" -> "È´" + "э́" -> "è´" + "Э̄" -> "È̱" + "э̄" -> "è̱" + "Ю" -> "Û" + "ю" -> "û" + "Ю́" -> "Û´" + "ю́" -> "û´" + "Ю̄" -> "Û̱" + "ю̄" -> "û̱" + "Я" -> "Â" + "я" -> "â" + "Ѩ" -> "I͜Ę" + "ѩ" -> "i͜ę" + "Ԙ" -> "Ã" + "ԙ" -> "ã" + "Я́" -> "´" + "я́" -> "â´" + "Я̄" -> "Â̱" + "я̄" -> "â̱" + "ʼ" -> "ˋ" + "ˮ" -> "¨" + "Ѫ" -> "Ǫ" + "ѫ" -> "ǫ" + "Ѭ" -> "I͜Ǫ" + "ѭ" -> "i͜ǫ" + "Ѯ" -> "X" + "ѯ" -> "x" + "Ѱ" -> "P͜S" + "ѱ" -> "p͜s" + "Ҁ" -> "K͜P" + "ҁ" -> "k͜p" + "Ҩ" -> "Ẅ" + "ҩ" -> "ẅ" + "Ҽ" -> "Ċ" + "ҽ" -> "ċ" + "Ҿ" -> "Ç̇" + "ҿ" -> "ç̇" + "Ӏ" -> "ˆǂ" + "ӏ" -> "ǂ" + "а̄̈" -> "ạ̈" + "і̄̇" -> "ĭ" + "ј̵" -> "j́" + "к̨" -> "k̀" + "л'" -> "l'" + "н̨" -> "ǹ" + "н̡" -> "n̆" + "н̄" -> "n̄" + "о̄̈" -> "ọ̈" + "с̀" -> "s̀" + "т̨" -> "t̀" + "т̌" -> "ť" + "ӯ̈" -> "ụ̈" + "ӱ̄" -> "ǖ" + "ч̀" -> "c̀" + + # Hand tests: clause 4.4 example and clause 4.1.2 decomposed-input equivalence. + "ё́" -> "ë_́" # clause 4.4 example: 0451+0301 -> 00EB+005F+0301 + "ё́" -> "ë_́" # same input, decomposed (clause 4.1.2) + "Й" -> "J" # row 55 upper, decomposed input (0419 canonical decomposition) + "й" -> "j" # row 55 lower, decomposed input + "Ў" -> "Ŭ" # row 112 upper, decomposed input (040E canonical decomposition) + "Ӭ" -> "È̤" # row 147 upper, decomposed input (04EC canonical decomposition) + "Ӛ" -> "A̋" # row 32 upper, decomposed input (04DA canonical decomposition) +} + +stage main { + + parallel { + sub "А" "A" # row 1; U + sub "а" "a" # row 1; U + sub "Ѧ" "Ę" # row 2; C; formerly Ǎ 01CD; chu + sub "ѧ" "ę" # row 2; C; formerly Ǎ 01CD; chu + sub "Ӑ" "Ă" # row 3; U; chv kca + sub "ӑ" "ă" # row 3; U; chv kca + sub "Ӓ" "Ä" # row 4; U; kca mrj + sub "ӓ" "ä" # row 4; U; kca mrj + sub "Ӕ" "Æ" # row 5; U; oss + sub "ӕ" "æ" # row 5; U; oss + sub "А́" "Á" # row 6; U + sub "а́" "á" # row 6; U + sub "А̄" "Ā" # row 7; U; mns + sub "а̄" "ā" # row 7; U; mns + sub "А̊" "Å" # row 8; U; sel + sub "а̊" "å" # row 8; U; sel + sub "Б" "B" # row 9; U + sub "б" "b" # row 9; U + sub "В" "V" # row 10; U + sub "в" "v" # row 10; U + sub "Ԝ" "W" # row 11; U; kur (glyph renders like W) + sub "ԝ" "w" # row 11; U; kur (glyph renders like W) + sub "Г" "G" # row 12; U + sub "г" "g" # row 12; U + sub "Ѓ" "Ǵ" # row 13; U; mkd + sub "ѓ" "ǵ" # row 13; U; mkd + sub "Ґ" "G̀" # row 14; U; ukr + sub "ґ" "g̀" # row 14; U; ukr + sub "Ғ" "Ġ" # row 15; U; azj bak kaa kaz kjh tgk uzn + sub "ғ" "ġ" # row 15; U; azj bak kaa kaz kjh tgk uzn + sub "Ҕ" "Ğ" # row 16; U; abk ess sah + sub "ҕ" "ğ" # row 16; U; abk ess sah + sub "Ӷ" "Ģ" # row 17; N; abk ess ket niv + sub "ӷ" "ģ" # row 17; N; abk ess ket niv + sub "Ӻ" "Ĝ" # row 18; N; niv + sub "ӻ" "ĝ" # row 18; N; niv + sub "Д" "D" # row 19; U + sub "д" "d" # row 19; U + sub "Ђ" "Đ" # row 20; U; srp + sub "ђ" "đ" # row 20; U; srp + sub "Ԁ" "Ḏ" # row 21; N; kom† + sub "ԁ" "ḏ" # row 21; N; kom† + sub "Ԃ" "Ḓ" # row 22; N; kom† + sub "ԃ" "ḓ" # row 22; N; kom† + sub "Ԫ" "D͜Ž" # row 23; N; kom† oss† + sub "ԫ" "d͜ž" # row 23; N; kom† oss† + sub "Ԭ" "D͜Č" # row 24; N; kom† + sub "ԭ" "d͜č" # row 24; N; kom† + sub "Е" "E" # row 25; U + sub "е" "e" # row 25; U + sub "Ѐ" "Ȅ" # row 26; N; mkd + sub "ѐ" "ȅ" # row 26; N; mkd + sub "Ё" "Ë" # row 27; U + sub "ё" "ë" # row 27; U + sub "Ѣ" "Ě" # row 28; U; rus† + sub "ѣ" "ě" # row 28; U; rus† + sub "Ѥ" "I͜E" # row 29; N; chu + sub "ѥ" "i͜e" # row 29; N; chu + sub "Ӗ" "Ĕ" # row 30; U; chv + sub "ӗ" "ĕ" # row 30; U; chv + sub "Ә" "Ȧ" # row 31; C; formerly A 0041+030B; azj bak kaa kaz kca tat tuk + sub "ә" "ȧ" # row 31; C; formerly A 0041+030B; azj bak kaa kaz kca tat tuk + sub "Ӛ" "A̋" # row 32; CR; formerly À 00C0; previously used for char 31; kca + sub "ӛ" "a̋" # row 32; CR; formerly À 00C0; previously used for char 31; kca + sub "Ԑ" "Ɛ" # row 33; N; enf enh + sub "ԑ" "ɛ" # row 33; N; enf enh + sub "Е́" "É" # row 34; N + sub "е́" "é" # row 34; N + sub "Е̄" "Ē" # row 35; N; mns + sub "е̄" "ē" # row 35; N; mns + sub "Ж" "Ž" # row 36; U + sub "ж" "ž" # row 36; U + sub "Џ" "D̂" # row 37; U; mkd srp (D+circumflex, same as ed.2) + sub "џ" "d̂" # row 37; U; mkd srp (D+circumflex, same as ed.2) + sub "Җ" "Ž̧" # row 38; C; formerly Z̦ 017D+0326/017E+0326; tat tuk xal + sub "җ" "ž̧" # row 38; C; formerly Z̦ 017D+0326/017E+0326; tat tuk xal + sub "Ӂ" "Z̆" # row 39; U; mol + sub "ӂ" "z̆" # row 39; U; mol + sub "Ӝ" "Z̄" # row 40; U; udm + sub "ӝ" "z̄" # row 40; U; udm + sub "З" "Z" # row 41; U + sub "з" "z" # row 41; U + sub "Ѕ" "Ẑ" # row 42; U; mkd + sub "ѕ" "ẑ" # row 42; U; mkd + sub "Ҙ" "Z̧" # row 43; C; formerly Z̦ 005A+0326; bak + sub "ҙ" "z̧" # row 43; C; formerly Z̦ 005A+0326; bak + sub "Ӟ" "Z̈" # row 44; U; udm + sub "ӟ" "z̈" # row 44; U; udm + sub "Ӡ" "Ź" # row 45; U; abk + sub "ӡ" "ź" # row 45; U; abk + sub "Ԅ" "Z̭" # row 46; N; kom† + sub "ԅ" "z̭" # row 46; N; kom† + sub "Ԇ" "Ẕ" # row 47; N; kom† + sub "ԇ" "ẕ" # row 47; N; kom† + sub "И" "I" # row 48; U + sub "и" "i" # row 48; U + sub "І" "Ì" # row 49; U; bel kaz kjh koi kpv rus† ukr + sub "і" "ì" # row 49; U; bel kaz kjh koi kpv rus† ukr + sub "Ї" "Ï" # row 50; U; ukr + sub "ї" "ï" # row 50; U; ukr + sub "Ѝ" "Ȉ" # row 51; N; mkd + sub "ѝ" "ȉ" # row 51; N; mkd + sub "Ӣ" "Ī" # row 52; U; mns tgk + sub "ӣ" "ī" # row 52; U; mns tgk + sub "Ӥ" "Î" # row 53; U; udm + sub "ӥ" "î" # row 53; U; udm + sub "И́" "Í" # row 54; U + sub "и́" "í" # row 54; U + sub "Й" "J" # row 55; U + sub "й" "j" # row 55; U + sub "Ј" "J̌" # row 56; U; alt azj mkd srp (upper decomposed J+030C, lower precomposed 01F0) + sub "ј" "ǰ" # row 56; U; alt azj mkd srp (upper decomposed J+030C, lower precomposed 01F0) + sub "Ҋ" "J̊" # row 57; N; sjd + sub "ҋ" "j̊" # row 57; N; sjd + sub "К" "K" # row 58; U + sub "к" "k" # row 58; U + sub "Ќ" "Ḱ" # row 59; U; mkd + sub "ќ" "ḱ" # row 59; U; mkd + sub "Қ" "Ķ" # row 60; C; formerly K̦ 004B+0326; kaa kaz kca tgk uzn + sub "қ" "ķ" # row 60; C; formerly K̦ 004B+0326; kaa kaz kca tgk uzn + sub "Ҝ" "K̂" # row 61; U; azj + sub "ҝ" "k̂" # row 61; U; azj + sub "Ҟ" "K̄" # row 62; U; abk + sub "ҟ" "k̄" # row 62; U; abk + sub "Ҡ" "Ǩ" # row 63; U; bak + sub "ҡ" "ǩ" # row 63; U; bak + sub "Ӄ" "Ḳ" # row 64; U; ckt kca + sub "ӄ" "ḳ" # row 64; U; ckt kca + sub "Ԛ" "Q" # row 65; U; abk† kur oss† + sub "ԛ" "q" # row 65; U; abk† kur oss† + sub "Ԟ" "Ḵ" # row 66; N; ale† + sub "ԟ" "ḵ" # row 66; N; ale† + sub "Л" "L" # row 67; U + sub "л" "l" # row 67; U + sub "Љ" "Ĺ" # row 68; CR; formerly L 004C+0302, previously used for char 173; mkd srp + sub "љ" "ĺ" # row 68; CR; formerly L 004C+0302, previously used for char 173; mkd srp + sub "Ӆ" "L̥" # row 69; N; sjd + sub "ӆ" "l̥" # row 69; N; sjd + sub "Ԉ" "Ḽ" # row 70; N; kom† + sub "ԉ" "ḽ" # row 70; N; kom† + sub "Ԓ" "Ł" # row 71; N; ckt itl kca + sub "ԓ" "ł" # row 71; N; ckt itl kca + sub "Ԕ" "L͜H" # row 72; N; mdf† + sub "ԕ" "l͜h" # row 72; N; mdf† + sub "Ԡ" "Ľ" # row 73; C; formerly L̦ 004C+0326; chv† + sub "ԡ" "ľ" # row 73; C; formerly L̦ 004C+0326; chv† + sub "Ԯ" "Ļ" # row 74; N; itl kca + sub "ԯ" "ļ" # row 74; N; itl kca + sub "М" "M" # row 75; U + sub "м" "m" # row 75; U + sub "Ӎ" "M̥" # row 76; N; sjd + sub "ӎ" "m̥" # row 76; N; sjd + sub "Н" "N" # row 77; U + sub "н" "n" # row 77; U + sub "Њ" "Ń" # row 78; CR; formerly N 004E+0302, previously used for char 84; mkd srp + sub "њ" "ń" # row 78; CR; formerly N 004E+0302, previously used for char 84; mkd srp + sub "Ң" "Ņ" # row 79; C; formerly N̦ 004E+0326; kaa kaz kca kir kjh tat tuk xal + sub "ң" "ņ" # row 79; C; formerly N̦ 004E+0326; kaa kaz kca kir kjh tat tuk xal + sub "Ҥ" "Ṅ" # row 80; U; alt mhr sah + sub "ҥ" "ṅ" # row 80; U; alt mhr sah + sub "Ӈ" "Ṇ" # row 81; U; ckt kca mns sah yrk + sub "ӈ" "ṇ" # row 81; U; ckt kca mns sah yrk + sub "Ӊ" "N̥" # row 82; N; sjd + sub "ӊ" "n̥" # row 82; N; sjd + sub "Ԋ" "Ṋ" # row 83; N; kom† + sub "ԋ" "ṋ" # row 83; N; kom† + sub "Ԣ" "Ň" # row 84; C; formerly Ń 0143; chv† + sub "ԣ" "ň" # row 84; C; formerly Ń 0143; chv† + sub "Ԩ" "Ñ" # row 85; N; oaa + sub "ԩ" "ñ" # row 85; N; oaa + sub "О" "O" # row 86; U + sub "о" "o" # row 86; U + sub "Ѡ" "Ò" # row 87; CR; new character; Ò previously used for char 165; chu + sub "ѡ" "ò" # row 87; CR; new character; Ò previously used for char 165; chu + sub "Ѹ" "O͜U" # row 88; N; chu + sub "ѹ" "o͜u" # row 88; N; chu + sub "Ѻ" "Ŏ" # row 89; N; chu + sub "ѻ" "ŏ" # row 89; N; chu + sub "Ѽ" "Ò̱" # row 90; N; chu + sub "ѽ" "ò̱" # row 90; N; chu + sub "Ѿ" "O͜T" # row 91; N; chu + sub "ѿ" "o͜t" # row 91; N; chu + sub "Ӧ" "Ö" # row 92; U; alt kca kjh koi kpv mhr mrj + sub "ӧ" "ö" # row 92; U; alt kca kjh koi kpv mhr mrj + sub "Ө" "Ȯ" # row 93; C; formerly Ô 00D4; azj bak bxr kaa kaz kca khk kir sah tat tuk tyv xal + sub "ө" "ȯ" # row 93; C; formerly Ô 00D4; azj bak bxr kaa kaz kca khk kir sah tat tuk tyv xal + sub "Ӫ" "Ő" # row 94; U; evn kca + sub "ӫ" "ő" # row 94; U; evn kca + sub "О́" "Ó" # row 95; U + sub "о́" "ó" # row 95; U + sub "О̄" "Ō" # row 96; U; mns + sub "о̄" "ō" # row 96; U; mns + sub "Œ" "Œ" # row 97; U; sel (identity; footnote a on cyr hex) + sub "œ" "œ" # row 97; U; sel (identity; footnote a on cyr hex) + sub "П" "P" # row 98; U + sub "п" "p" # row 98; U + sub "Ҧ" "Ṕ" # row 99; U; abk + sub "ҧ" "ṕ" # row 99; U; abk + sub "Ԥ" "P̀" # row 100; U; abk + sub "ԥ" "p̀" # row 100; U; abk + sub "Р" "R" # row 101; U + sub "р" "r" # row 101; U + sub "Ҏ" "R̥" # row 102; N; sjd + sub "ҏ" "r̥" # row 102; N; sjd + sub "Ԗ" "R͜H" # row 103; N; mdf† + sub "ԗ" "r͜h" # row 103; N; mdf† + sub "С" "S" # row 104; U + sub "с" "s" # row 104; U + sub "Ҫ" "Ş" # row 105; C; formerly Ș 0218; bak chv + sub "ҫ" "ş" # row 105; C; formerly Ș 0218; bak chv + sub "Ԍ" "S̭" # row 106; N; kom† + sub "ԍ" "s̭" # row 106; N; kom† + sub "Т" "T" # row 107; U + sub "т" "t" # row 107; U + sub "Ћ" "Ć" # row 108; U; srp + sub "ћ" "ć" # row 108; U; srp + sub "Ҭ" "Ţ" # row 109; C; formerly Ț 021A; abk + sub "ҭ" "ţ" # row 109; C; formerly Ț 021A; abk + sub "Ԏ" "Ṱ" # row 110; N; kom† + sub "ԏ" "ṱ" # row 110; N; kom† + sub "У" "U" # row 111; U + sub "у" "u" # row 111; U + sub "Ў" "Ŭ" # row 112; U; bel ess kaa kca uzn + sub "ў" "ŭ" # row 112; U; bel ess kaa kca uzn + sub "Ѵ" "Ỳ" # row 113; U; rus† + sub "ѵ" "ỳ" # row 113; U; rus† + sub "Ѷ" "Y̏" # row 114; N; chu + sub "ѷ" "y̏" # row 114; N; chu + sub "Ү" "U̇" # row 115; CR; formerly Ù 00D9; previously used for char 116; azj bak bxr kaa kaz khk kir sah tat tuk tyv xal + sub "ү" "u̇" # row 115; CR; formerly Ù 00D9; previously used for char 116; azj bak bxr kaa kaz khk kir sah tat tuk tyv xal + sub "Ұ" "Ù" # row 116; CR; formerly U 0055+0307; previously used for char 115; kaz + sub "ұ" "ù" # row 116; CR; formerly U 0055+0307; previously used for char 115; kaz + sub "Ӯ" "Ū" # row 117; U; mns tgk + sub "ӯ" "ū" # row 117; U; mns tgk + sub "Ӱ" "Ü" # row 118; U; alt kca kjh mhr mrj + sub "ӱ" "ü" # row 118; U; alt kca kjh mhr mrj + sub "Ӳ" "Ű" # row 119; U; chv + sub "ӳ" "ű" # row 119; U; chv + sub "У́" "Ú" # row 120; U + sub "у́" "ú" # row 120; U + sub "Ф" "F" # row 121; U + sub "ф" "f" # row 121; U + sub "Ѳ" "F̀" # row 122; U; rus† + sub "ѳ" "f̀" # row 122; U; rus† + sub "Х" "H" # row 123; U + sub "х" "h" # row 123; U + sub "Ҳ" "Ḩ" # row 124; C; formerly H̦ 0048+0326; ess kaa kca tgk uzn + sub "ҳ" "ḩ" # row 124; C; formerly H̦ 0048+0326; ess kaa kca tgk uzn + sub "Һ" "Ḥ" # row 125; U; azj bak kaz sah tat xal + sub "һ" "ḥ" # row 125; U; azj bak kaz sah tat xal + sub "Ӽ" "Ȟ" # row 126; N; itl kca niv + sub "ӽ" "ȟ" # row 126; N; itl kca niv + sub "Ӿ" "H̱" # row 127; N; niv (upper decomposed 0048+0331, lower PRECOMPOSED 1E96) + sub "ӿ" "ẖ" # row 127; N; niv (upper decomposed 0048+0331, lower PRECOMPOSED 1E96) + sub "Ԧ" "Ḣ" # row 128; N; jdt ttt + sub "ԧ" "ḣ" # row 128; N; jdt ttt + sub "Ц" "C" # row 129; U + sub "ц" "c" # row 129; U + sub "Ҵ" "C̄" # row 130; U; abk + sub "ҵ" "c̄" # row 130; U; abk + sub "Ч" "Č" # row 131; U + sub "ч" "č" # row 131; U + sub "Ҷ" "Ç" # row 132; C; formerly C̦ 0043+0326; kca tgk + sub "ҷ" "ç" # row 132; C; formerly C̦ 0043+0326; kca tgk + sub "Ҹ" "Ĉ" # row 133; U; azj + sub "ҹ" "ĉ" # row 133; U; azj + sub "Ӌ" "C̣" # row 134; U; kjh + sub "ӌ" "c̣" # row 134; U; kjh + sub "Ӵ" "C̈" # row 135; U; udm + sub "ӵ" "c̈" # row 135; U; udm + sub "Ш" "Š" # row 136; U + sub "ш" "š" # row 136; U + sub "Щ" "Ŝ" # row 137; U + sub "щ" "ŝ" # row 137; U + sub "Ъ" "ˆʺ" # row 138; N,U; upper=02C6+02BA, lower=02BA ALONE + sub "ъ" "ʺ" # row 138; N,U; upper=02C6+02BA, lower=02BA ALONE + sub "Ы" "Y" # row 139; U + sub "ы" "y" # row 139; U + sub "Ӹ" "Ÿ" # row 140; U; mrj + sub "ӹ" "ÿ" # row 140; U; mrj + sub "Ы́" "Ý" # row 141; N + sub "ы́" "ý" # row 141; N + sub "Ы̄" "Ȳ" # row 142; U; mns + sub "ы̄" "ȳ" # row 142; U; mns + sub "Ь" "ˆʹ" # row 143; N,U; upper=02C6+02B9, lower=02B9 ALONE + sub "ь" "ʹ" # row 143; N,U; upper=02C6+02B9, lower=02B9 ALONE + sub "Ҍ" "Ĵ" # row 144; N; sjd + sub "ҍ" "ĵ" # row 144; N; sjd + sub "Э" "È" # row 145; U + sub "э" "è" # row 145; U + sub "Є" "Ê" # row 146; U; kca ukr + sub "є" "ê" # row 146; U; kca ukr + sub "Ӭ" "È̤" # row 147; N; kca sjd + sub "ӭ" "è̤" # row 147; N; kca sjd + sub "Э́" "È´" # row 148; N + sub "э́" "è´" # row 148; N + sub "Э̄" "È̱" # row 149; N; mns + sub "э̄" "è̱" # row 149; N; mns + sub "Ю" "Û" # row 150; U + sub "ю" "û" # row 150; U + sub "Ю́" "Û´" # row 151; N + sub "ю́" "û´" # row 151; N + sub "Ю̄" "Û̱" # row 152; C; formerly Ů 016E; mns + sub "ю̄" "û̱" # row 152; C; formerly Ů 016E; mns + sub "Я" "Â" # row 153; U + sub "я" "â" # row 153; U + sub "Ѩ" "I͜Ę" # row 154; N; chu + sub "ѩ" "i͜ę" # row 154; N; chu + sub "Ԙ" "Ã" # row 155; N; mdf† + sub "ԙ" "ã" # row 155; N; mdf† + sub "Я́" "´" # row 156; N + sub "я́" "â´" # row 156; N + sub "Я̄" "Â̱" # row 157; N; mns + sub "я̄" "â̱" # row 157; N; mns + sub "ʼ" "ˋ" # row 158; U; azj bel ckt ess mkd ukr yrk (caseless) + sub "ˮ" "¨" # row 159; U; yrk (caseless) + sub "Ѫ" "Ǫ" # row 160; N; chu + sub "ѫ" "ǫ" # row 160; N; chu + sub "Ѭ" "I͜Ǫ" # row 161; N; chu + sub "ѭ" "i͜ǫ" # row 161; N; chu + sub "Ѯ" "X" # row 162; N; chu + sub "ѯ" "x" # row 162; N; chu + sub "Ѱ" "P͜S" # row 163; N; chu + sub "ѱ" "p͜s" # row 163; N; chu + sub "Ҁ" "K͜P" # row 164; N; chu + sub "ҁ" "k͜p" # row 164; N; chu + sub "Ҩ" "Ẅ" # row 165; C; formerly Ò 00D2; abk + sub "ҩ" "ẅ" # row 165; C; formerly Ò 00D2; abk + sub "Ҽ" "Ċ" # row 166; C; formerly C 0043+0306; abk + sub "ҽ" "ċ" # row 166; C; formerly C 0043+0306; abk + sub "Ҿ" "Ç̇" # row 167; C; formerly C̦ 0043+0306+0326; abk + sub "ҿ" "ç̇" # row 167; C; formerly C̦ 0043+0306+0326; abk + sub "Ӏ" "ˆǂ" # row 168; N,C; formerly 2021; ady ava che dar inh kbd lbe lez tab + sub "ӏ" "ǂ" # row 168; N,C; formerly 2021; ady ava che dar inh kbd lbe lez tab + sub "а̄̈" "ạ̈" # row 169 + sub "і̄̇" "ĭ" # row 170 + sub "ј̵" "j́" # row 171 + sub "к̨" "k̀" # row 172 + sub "л'" "l'" # row 173; formerly 013A + sub "н̨" "ǹ" # row 174 + sub "н̡" "n̆" # row 175 + sub "н̄" "n̄" # row 176 + sub "о̄̈" "ọ̈" # row 177 + sub "с̀" "s̀" # row 178 + sub "т̨" "t̀" # row 179 + sub "т̌" "ť" # row 180 + sub "ӯ̈" "ụ̈" # row 181 + sub "ӱ̄" "ǖ" # row 182 + sub "ч̀" "c̀" # row 183 + + sub "Ӑ" "Ă" # 4.1.2 decomposed form of row 3 upper + sub "ӑ" "ă" # 4.1.2 decomposed form of row 3 lower + sub "Ӓ" "Ä" # 4.1.2 decomposed form of row 4 upper + sub "ӓ" "ä" # 4.1.2 decomposed form of row 4 lower + sub "Ѓ" "Ǵ" # 4.1.2 decomposed form of row 13 upper + sub "ѓ" "ǵ" # 4.1.2 decomposed form of row 13 lower + sub "Ѐ" "Ȅ" # 4.1.2 decomposed form of row 26 upper + sub "ѐ" "ȅ" # 4.1.2 decomposed form of row 26 lower + sub "Ё" "Ë" # 4.1.2 decomposed form of row 27 upper + sub "ё" "ë" # 4.1.2 decomposed form of row 27 lower + sub "Ӗ" "Ĕ" # 4.1.2 decomposed form of row 30 upper + sub "ӗ" "ĕ" # 4.1.2 decomposed form of row 30 lower + sub "Ӛ" "A̋" # 4.1.2 decomposed form of row 32 upper + sub "ӛ" "a̋" # 4.1.2 decomposed form of row 32 lower + sub "Ӂ" "Z̆" # 4.1.2 decomposed form of row 39 upper + sub "ӂ" "z̆" # 4.1.2 decomposed form of row 39 lower + sub "Ӝ" "Z̄" # 4.1.2 decomposed form of row 40 upper + sub "ӝ" "z̄" # 4.1.2 decomposed form of row 40 lower + sub "Ӟ" "Z̈" # 4.1.2 decomposed form of row 44 upper + sub "ӟ" "z̈" # 4.1.2 decomposed form of row 44 lower + sub "Ї" "Ï" # 4.1.2 decomposed form of row 50 upper + sub "ї" "ï" # 4.1.2 decomposed form of row 50 lower + sub "Ѝ" "Ȉ" # 4.1.2 decomposed form of row 51 upper + sub "ѝ" "ȉ" # 4.1.2 decomposed form of row 51 lower + sub "Ӣ" "Ī" # 4.1.2 decomposed form of row 52 upper + sub "ӣ" "ī" # 4.1.2 decomposed form of row 52 lower + sub "Ӥ" "Î" # 4.1.2 decomposed form of row 53 upper + sub "ӥ" "î" # 4.1.2 decomposed form of row 53 lower + sub "Й" "J" # 4.1.2 decomposed form of row 55 upper + sub "й" "j" # 4.1.2 decomposed form of row 55 lower + sub "Ќ" "Ḱ" # 4.1.2 decomposed form of row 59 upper + sub "ќ" "ḱ" # 4.1.2 decomposed form of row 59 lower + sub "Ӧ" "Ö" # 4.1.2 decomposed form of row 92 upper + sub "ӧ" "ö" # 4.1.2 decomposed form of row 92 lower + sub "Ӫ" "Ő" # 4.1.2 decomposed form of row 94 upper + sub "ӫ" "ő" # 4.1.2 decomposed form of row 94 lower + sub "Ў" "Ŭ" # 4.1.2 decomposed form of row 112 upper + sub "ў" "ŭ" # 4.1.2 decomposed form of row 112 lower + sub "Ѷ" "Y̏" # 4.1.2 decomposed form of row 114 upper + sub "ѷ" "y̏" # 4.1.2 decomposed form of row 114 lower + sub "Ӯ" "Ū" # 4.1.2 decomposed form of row 117 upper + sub "ӯ" "ū" # 4.1.2 decomposed form of row 117 lower + sub "Ӱ" "Ü" # 4.1.2 decomposed form of row 118 upper + sub "ӱ" "ü" # 4.1.2 decomposed form of row 118 lower + sub "Ӳ" "Ű" # 4.1.2 decomposed form of row 119 upper + sub "ӳ" "ű" # 4.1.2 decomposed form of row 119 lower + sub "Ӵ" "C̈" # 4.1.2 decomposed form of row 135 upper + sub "ӵ" "c̈" # 4.1.2 decomposed form of row 135 lower + sub "Ӹ" "Ÿ" # 4.1.2 decomposed form of row 140 upper + sub "ӹ" "ÿ" # 4.1.2 decomposed form of row 140 lower + sub "Ӭ" "È̤" # 4.1.2 decomposed form of row 147 upper + sub "ӭ" "è̤" # 4.1.2 decomposed form of row 147 lower + + sub "ё́" "ë_́" # clause 4.4 example (0451+0301 -> 00EB+005F+0301) + sub "ё́" "ë_́" # clause 4.4 example, decomposed input (4.1.2) + } + +} + +} diff --git a/public/maps/iso-tha-Thai-Latn-11940-1998.isc b/public/maps/iso-tha-Thai-Latn-11940-1998.isc index 4120c04e..aa854a10 100644 --- a/public/maps/iso-tha-Thai-Latn-11940-1998.isc +++ b/public/maps/iso-tha-Thai-Latn-11940-1998.isc @@ -13,12 +13,153 @@ metadata { description notes { + note "Encoded from the Wikipedia presentation of ISO 11940 + (https://en.wikipedia.org/wiki/ISO_11940, CC BY-SA 4.0, retrieved + 2026-11-19) as the interim working source; the official ISO + 11940:1998 document remains the purchase of record for provenance." + note "The standard distinguishes the abbreviation symbol paiyannoi + from the sentence terminator angkhandiao (transliterated ǂ and + ǀ), but TIS 620-2533 and Unicode encode both uses as U+0E2F; the + map carries the paiyannoi reading ǂ. The ICU/CLDR implementation + substitutes a double dagger for both uses." + note "ICU/CLDR divergences from ISO 11940 are not reproduced: the + horn is U+031B, not a prime (ฅ ฒ ษ); ฏ is ṭ, not t̩; ำ is å, not + ả; phinthu U+0E3A is ring below U+0325, not ˌ; ฯ is ǂ, not ‡; + ๚ is ǁ, not ||. Preposed vowels are not transposed, per the + standard's recommendation: เชียงใหม่ transliterates + echīyngıh̄m̀, not the ICU form cheīyngh̄ım̀." + note "Character sequencing (clause 4.2): left to right, and top to + bottom at the same horizontal position, with tone marks and + thanthakhat preceding any other marks attached to a consonant. + The parallel substitution preserves Thai storage order, so marks + stacked on one consonant are emitted in stored order; a stateless + map cannot reorder a stack into the clause's tone-marks-first + sequence. The standard denies that sara u and nikkhahit can + combine; stored together they emit u plus ring above in stored + order." + note "Consonant diacritics follow the standard's entry order - + base letter, macron, then dot below, horn, or macron below - + and compose normalises each output to canonical (NFC) form + where a precomposed character exists (e.g. k with dot below as + U+1E33). U+0E45 (isolated lakkhangyao) transliterates ɨ per the + standard's provision, which notes the isolated letter should not + occur. U+0E3F (baht) is outside the working source's tables and + passes through unchanged." } } tests { "ภาษาไทย" -> "p̣hās̛̄āịthy" "เชียงใหม่" -> "echīyngıh̄m̀" + +# Exhaustive per-row tests for iso-tha-Thai-Latn-11940-1998, generated from the source +# document's table. +# Source: ISO 11940:1998 Thai transliteration, all tables. Working source: +# the Wikipedia presentation "ISO 11940" +# (https://en.wikipedia.org/wiki/ISO_11940), CC BY-SA 4.0, retrieved +# 2026-11-19; used as the interim source pending acquisition of the official +# ISO 11940:1998 document, which remains the purchase of record for +# provenance. Rows in document order: the 46-consonant presentation table +# (44 consonant letters plus the ฤ/ฦ rows), the vowel-sign table (repeated ฤ +# ฦ ย ว อ entries deduplicated; ฤๅ/ฦๅ encoded as the constituent pairs), the +# isolated-lakkhangyao provision (ɨ), the other-combining-marks table +# (phinthu as ring below per the ISO column; the ICU CLDR implementation's ˌ +# is a recorded divergence), and the punctuation-and-digits table (paiyannoi +# reading ǂ for U+0E2F; the standard's angkhandiao reading ǀ is +# unrepresentable because TIS 620/Unicode do not distinguish the two uses). +# Expected strings are the post-compose (NFC where a precomposed character +# exists) forms. Excludes U+0E3F baht, which the working source's tables do +# not cover. +# Provenance artifact: scripts/row-sources/iso-tha-Thai-Latn-11940-1998.json (88 rows). +# generated-by: maps/scripts/gen-row-tests.mjs (2026-11-19); regenerate from the artifact, do not hand-edit. + "ก" -> "k" + "ข" -> "k̄h" + "ฃ" -> "ḳ̄h" + "ค" -> "kh" + "ฅ" -> "k̛h" + "ฆ" -> "ḳh" + "ง" -> "ng" + "จ" -> "c" + "ฉ" -> "c̄h" + "ช" -> "ch" + "ซ" -> "s" + "ฌ" -> "c̣h" + "ญ" -> "ỵ" + "ฎ" -> "ḍ" + "ฏ" -> "ṭ" + "ฐ" -> "ṭ̄h" + "ฑ" -> "ṯh" + "ฒ" -> "t̛h" + "ณ" -> "ṇ" + "ด" -> "d" + "ต" -> "t" + "ถ" -> "t̄h" + "ท" -> "th" + "ธ" -> "ṭh" + "น" -> "n" + "บ" -> "b" + "ป" -> "p" + "ผ" -> "p̄h" + "ฝ" -> "f̄" + "พ" -> "ph" + "ฟ" -> "f" + "ภ" -> "p̣h" + "ม" -> "m" + "ย" -> "y" + "ร" -> "r" + "ฤ" -> "v" + "ล" -> "l" + "ฦ" -> "ł" + "ว" -> "w" + "ศ" -> "ṣ̄" + "ษ" -> "s̛̄" + "ส" -> "s̄" + "ห" -> "h̄" + "ฬ" -> "ḷ" + "อ" -> "x" + "ฮ" -> "ḥ" + "ะ" -> "a" + "ั" -> "ạ" + "า" -> "ā" + "ำ" -> "å" + "ิ" -> "i" + "ี" -> "ī" + "ึ" -> "ụ" + "ื" -> "ụ̄" + "ุ" -> "u" + "ู" -> "ū" + "เ" -> "e" + "แ" -> "æ" + "โ" -> "o" + "ใ" -> "ı" + "ไ" -> "ị" + "ฤๅ" -> "vɨ" + "ฦๅ" -> "łɨ" + "ๅ" -> "ɨ" + "่" -> "̀" + "้" -> "̂" + "๊" -> "́" + "๋" -> "̌" + "็" -> "̆" + "์" -> "̒" + "๎" -> "~" + "ํ" -> "̊" + "ฺ" -> "̥" + "ๆ" -> "«" + "ฯ" -> "ǂ" + "๏" -> "§" + "๚" -> "ǁ" + "๛" -> "»" + "๐" -> "0" + "๑" -> "1" + "๒" -> "2" + "๓" -> "3" + "๔" -> "4" + "๕" -> "5" + "๖" -> "6" + "๗" -> "7" + "๘" -> "8" + "๙" -> "9" } @@ -83,7 +224,7 @@ stage main { sub "\u0e37" "ụ̄" sub "\u0e38" "u" sub "\u0e39" "ū" - sub "\u0e3a" "–̥" + sub "\u0e3a" "̥" sub "\u0e40" "e" sub "\u0e41" "æ" sub "\u0e42" "o" diff --git a/src/content/docs/Coverage_and_Gaps.adoc b/src/content/docs/Coverage_and_Gaps.adoc index 9b2252c7..5fce433b 100644 --- a/src/content/docs/Coverage_and_Gaps.adoc +++ b/src/content/docs/Coverage_and_Gaps.adoc @@ -7,10 +7,10 @@ check. == What is covered -The map registry contains **451 systems** drawn from +The map registry contains **457 systems** drawn from https://github.com/interscript/maps[the maps repository] — each an executable, test-carrying transliteration map with a named authority -and source document, 15,485 embedded tests from those documents, all +and source document, 16,325 embedded tests from those documents, all green. Browse them on the https://interscript.org/maps[map catalogue]; every system has its own page with its description, source document, scripts, mapping counts, @@ -23,6 +23,28 @@ ledger]: systems are classed as lossless one-to-one (reversible), lossy many-to-one, or context-only. The counts are re-derived from the maps themselves, not asserted. +The six ISO 2026-edition systems added in maps v3.3.2 follow the +provenance conventions of the +https://github.com/interscript/maps/tree/main/docs/coverage[coverage +ledger]. Three are encoded from purchased published editions — +verification-grade sources acquired from the ISO Store (order +OP-1130631): `iso-kat-Geor-Latn-9984-2026` (ISO 9984:2026, second +edition), `iso-hye-Armn-Latn-9985-2026` (ISO 9985:2026, second +edition; no first-edition map exists), and `iso-prs-Arab-Latn-233-3-2026` +(ISO 233-3:2026, third edition, the strict clause-4 system) — each +carrying exhaustive per-row embedded tests generated from its +row-sources provenance artifact. Three are encoded from FDIS ballot +copies held in the project's private reference collection and await +verification against the published editions: `iso-rus-Cyrl-Latn-9-2026` +(ISO/FDIS 9:2026, ballot N127) and the ISO/FDIS 233-1:2026 Arabic pair +`iso-ara-Arab-Latn-233-2026` and `iso-ara-Arab-Latn-233-2026-modified` +(ballot N129; the strict clause-4 system and the clause-5 modified +system, which share the `ara-latn-233-2026` ruleset library). The +in-place refreshes of `iso-tha-Thai-Latn-11940-1998` and the Pali map +that runs through it correct the phinthu rendering (the spurious en +dash before ring below is gone) under the interim working source +recorded in the coverage ledger. + == What is not covered yet The open queue is tracked as work orders in @@ -33,7 +55,9 @@ source: * *ISO* — ISO 9 non-Russian Cyrillic coverage check, ISO 7089/7098 Chinese pinyin, and the remaining ISO 15919 Indic scripts. The source documents are not yet in the project's reference collection; - acquisition is owner-held. + acquisition is owner-held. The published editions that would lift the + FDIS-grade maps (ISO 9:2026, ISO 233-1:2026) to published-edition + provenance are likewise owner-held acquisitions. * *ALA-LC* — the batch campaigns landed through 2026-11-09 (Brahmic/ SE-Asian, Arabic-script, Cyrillic, East Asian, and misc-script systems; 93 ALA-LC maps in the registry). The systems listed in the diff --git a/src/content/docs/Libraries.adoc b/src/content/docs/Libraries.adoc index 7e24284d..d31e070f 100644 --- a/src/content/docs/Libraries.adoc +++ b/src/content/docs/Libraries.adoc @@ -13,7 +13,7 @@ Install: npm install interscript ``` -Transliterate with any of the 451 authority systems: +Transliterate with any of the 457 authority systems: ```ts import { transliterateAsync } from "interscript" diff --git a/src/data/maps-catalogue.json b/src/data/maps-catalogue.json index 6d2a3b89..6e1ea86e 100644 --- a/src/data/maps-catalogue.json +++ b/src/data/maps-catalogue.json @@ -7573,6 +7573,48 @@ "one_to_many": 0 } }, + "iso-ara-Arab-Latn-233-2026-modified": { + "class": "Interscript::Node::MetaData", + "data": { + "authority_id": "iso", + "id": "233-2026-modified", + "language": "iso-639-2:ara", + "source_script": "Arab", + "destination_script": "Latn", + "name": "ISO 233-1:2026 Information and documentation -- Transliteration of Perso-Arabic characters into Latin characters -- Part 1: Arabic language (modified transliteration, clause 5; FDIS stage)", + "description": "Modified (clause 5) transliteration of ISO 233-1:2026: Tables 6-8 plus the\n mechanical clauses (5.2.2 initial alif, 5.2.4 tāʾ marbūṭaẗ, 5.3.2 definite\n article) over the strict tables (5.1.2). Not necessarily reversible by design\n (5.1.1). Encoded from ISO/TC 46/WG 3 N129 (FDIS) with the N130 adjudications.\n See notes for the language-knowledge steps that stay outside stateless scope.", + "url": "https://www.iso.org/committee/48820.html", + "creation_date": "2026", + "nonstandard": {} + }, + "test": [ + "أَخ", + "aẖ", + null + ], + "skip_js": false + }, + "iso-ara-Arab-Latn-233-2026": { + "class": "Interscript::Node::MetaData", + "data": { + "authority_id": "iso", + "id": "233-2026", + "language": "iso-639-2:ara", + "source_script": "Arab", + "destination_script": "Latn", + "name": "ISO 233-1:2026 Information and documentation -- Transliteration of Perso-Arabic characters into Latin characters -- Part 1: Arabic language (strict transliteration, clause 4; FDIS stage)", + "description": "Strict (fully reversible, level (a)) transliteration of ISO 233-1:2026, clause 4,\n Tables 1-5: written signs only, diacritical vowels transliterated only where written\n in the source. Encoded from the committee ballot ISO/TC 46/WG 3 N129 (FDIS,\n 2026-11-02; ballot closed 2026-11-07) with the comment adjudications of N130.\n See notes for provenance, errata and reversibility.", + "url": "https://www.iso.org/committee/48820.html", + "creation_date": "2026", + "nonstandard": {} + }, + "test": [ + "أَلشَّمْسُ", + "ʾˈalš̄am̊su", + null + ], + "skip_js": false + }, "iso-asm-Beng-Latn-15919-2001": { "class": "Interscript::Node::MetaData", "data": { @@ -7867,6 +7909,27 @@ "one_to_many": 0 } }, + "iso-hye-Armn-Latn-9985-2026": { + "class": "Interscript::Node::MetaData", + "data": { + "authority_id": "iso", + "id": "9985-2026", + "language": "iso-639-2:hye", + "source_script": "Armn", + "destination_script": "Latn", + "name": "ISO 9985:2026 Information and documentation -- Transliteration of Armenian characters into Latin characters", + "description": "Second edition (cancels and replaces ISO 9985:1996; no map for the\n first edition exists in the corpus). Table 1 transliterates all 38\n letters of the Armenian alphabet, each upper/lower case pair to its\n upper/lower Latin pair, with the aspirate rows (Թ Չ Ց Փ Ք) carrying\n the neutral (vertical line) apostrophe U+0027 - the edition's stated\n change is that all aspirates now share the one visual convention\n (formerly a right single quotation mark U+2019) and the unaspirated\n pairs Ծ/Ճ are now shown unmarked like their p/t/k counterparts.\n The yew ligature և is transliterated as the digraph /ew/; the ու\n letter sequence romanizes /ow/ character by character. Table 2\n transliterates the eight Armenian punctuation marks.", + "url": "https://www.iso.org/committee/48820.html", + "creation_date": "2026", + "nonstandard": {} + }, + "test": [ + "և", + "ew", + null + ], + "skip_js": false + }, "iso-inc-Deva-Latn-15919-2001": { "class": "Interscript::Node::MetaData", "data": { @@ -8063,6 +8126,27 @@ "one_to_many": 0 } }, + "iso-kat-Geor-Latn-9984-2026": { + "class": "Interscript::Node::MetaData", + "data": { + "authority_id": "iso", + "id": "9984-2026", + "language": "iso-639-2:kat", + "source_script": "Geor", + "destination_script": "Latn", + "name": "ISO 9984:2026 Information and documentation -- Transliteration of Georgian characters into Latin characters", + "description": "Second edition. The main system (Table 4) is limited to the 33\n characters of the current Georgian alphabet and is now based on the\n Georgian national system of 2002 (presidential decree of 2011), with\n modifications incorporated to ensure reversibility. Ten romanizations\n changed from the 1996 edition: the digraph letters now romanize as\n zh (ჟ), gh (ღ), sh (შ), ch (ჩ), ts (ც), dz (ძ), kh (ხ); ჯ loses its\n caron (ǰ -> j); the glottalized consonants კ პ ტ ყ წ ჭ gain the\n neutral (vertical line) apostrophe U+0027 (k' p' t' q' ts' ch'),\n which the aspirated თ ფ ქ ჩ ც lose. Obsolete letters are retained\n for reference in Table 5 (its rows 1-6 are unchanged from 1996). A\n new digraph-disambiguation provision (4.2) inserts a middle dot\n U+00B7 between adjoining source characters whose romanization would\n form a digraph.", + "url": "https://www.iso.org/committee/48820.html", + "creation_date": "2026", + "nonstandard": {} + }, + "test": [ + "ამბროლაური", + "ambrolauri", + null + ], + "skip_js": false + }, "iso-kor-Hang-Latn-1996-method1": { "class": "Interscript::Node::MetaData", "data": { @@ -8464,7 +8548,7 @@ }, "test": [ "โย กปฺปโกฏีหิปิ อปฺปเมยฺยํ;", - "oy kp–̥pokṭīh̄ipi xp–̥pemy–̥ẙ;", + "oy kp̥pokṭīh̄ipi xp̥pemy̥ẙ;", null ], "skip_js": false, @@ -8553,6 +8637,27 @@ "one_to_many": 35 } }, + "iso-prs-Arab-Latn-233-3-2026": { + "class": "Interscript::Node::MetaData", + "data": { + "authority_id": "iso", + "id": "233-3-2026", + "language": "iso-639-3:prs", + "source_script": "Arab", + "destination_script": "Latn", + "name": "ISO 233-3:2026 Information and documentation -- Transliteration of Perso-Arabic characters into Latin characters -- Part 3: Persian language", + "description": "Third edition (cancels and replaces ISO 233-3:2023 as a minor\n revision; the corpus's legacy map implements the 1999 first edition).\n Encodes the strict transliteration of clause 4, the one-to-one\n fully reversible system: Table 1 consonants (32 rows), Table 2\n vowels (alef madda and the three written diacritical vowel signs),\n Table 3 conventional signs (tashdid and the three tanvin marks),\n 4.4.3 ta marbuta per ISO 233, 4.4.4 the Allah word, Table 4 hamze\n forms, Table 5 the ezafe he-plus-hamze form, Table 1 note d's\n strict provision for the yeh-plus-superscript-alef clarity variant,\n Table 6 punctuation and Table 7 numerals. The clause 5 modified\n transliteration (Tables 8-11) is not reversible - it depends on\n word position and on whether a letter functions as consonant or\n vowel - and is not encoded.", + "url": "https://www.iso.org/committee/48820.html", + "creation_date": "2026", + "nonstandard": {} + }, + "test": [ + "آذَر", + "âẕar", + null + ], + "skip_js": false + }, "iso-rus-Cyrl-Latn-9-1995": { "class": "Interscript::Node::MetaData", "data": { @@ -8581,6 +8686,27 @@ "one_to_many": 0 } }, + "iso-rus-Cyrl-Latn-9-2026": { + "class": "Interscript::Node::MetaData", + "data": { + "authority_id": "iso", + "id": "9-2026", + "language": "iso-639-2:rus", + "source_script": "Cyrl", + "destination_script": "Latn", + "name": "ISO/FDIS 9:2026 Information and documentation -- Transliteration of Cyrillic characters into Latin characters -- Slavic and non-Slavic languages (Russian) (FDIS stage)", + "description": "Third edition (FDIS stage) of ISO 9, Transliteration of Cyrillic characters into\n Latin characters. Table 1 encodes all 168 main rows (upper and lower case\n where given; rows 158-159 are caseless), Table 2 the 15 rare-or-obsolete\n rows (lower case only), and the clause 4.4 formula example. Hex columns of\n the source table are authoritative over printed glyphs.", + "url": "https://www.iso.org/committee/48820.html", + "creation_date": "2026", + "nonstandard": {} + }, + "test": [ + "А", + "A", + null + ], + "skip_js": false + }, "iso-san-Deva-Latn-15919-2001": { "class": "Interscript::Node::MetaData", "data": { diff --git a/test/maps-integration.test.ts b/test/maps-integration.test.ts index d8711338..7b7865e9 100644 --- a/test/maps-integration.test.ts +++ b/test/maps-integration.test.ts @@ -27,6 +27,7 @@ const LIBRARY_STEMS = new Set([ "unicode", "var-Cyrl", "var-kor", + "ara-latn-233-2026", "hebr-latn", "jawi-latn", "thai-latn",