UNPKG

armenian-transliteration

Version:

Multi-standard Armenian transliteration (BGN/PCGN, ISO 9985, Hübschmann-Meillet, ALA-LC, Russian geographic profiles, Russian proper names, IPA)

1 lines 19.5 kB
{"version":3,"sources":["../../src/profiles/index.ts","../../src/profiles/metadata.ts"],"sourcesContent":["import type { Standard } from \"../types.js\";\nimport type { ProfileMetadata } from \"./types.js\";\nimport { profiles } from \"./metadata.js\";\n\nexport type {\n ProfileDomain,\n ProfileMetadata,\n ProfileSource,\n ProfileSourceKind,\n ProfileStatus,\n} from \"./types.js\";\n\nexport { profiles };\n\nexport function getProfile(id: Standard): ProfileMetadata {\n const profile = profiles[id];\n if (!profile) {\n throw new Error(`Unknown transliteration profile: ${String(id)}`);\n }\n return profile;\n}\n\nexport function listProfiles(): readonly ProfileMetadata[] {\n return Object.values(profiles);\n}\n\nexport function getProfilesByTargetLanguage(\n targetLanguage: string,\n): readonly ProfileMetadata[] {\n return listProfiles().filter(\n (profile) => profile.targetLanguage === targetLanguage,\n );\n}\n","import type { Standard } from \"../types.js\";\nimport type { ProfileMetadata } from \"./types.js\";\n\nconst bgnSources = [\n {\n title: \"Romanization of Armenian: BGN/PCGN 1981 System\",\n kind: \"official-standard\",\n year: 2022,\n url: \"https://assets.publishing.service.gov.uk/media/636cd40ad3bf7f164de3c9f3/ROMANIZATION_OF_ARMENIAN_2022_final.pdf\",\n },\n {\n title: \"Thomas T. Pedersen, Transliteration of Armenian, Rev. 2.0\",\n kind: \"reference-table\",\n year: 2009,\n url: \"https://transliteration.eki.ee/pdf/Armenian_2.0.pdf\",\n },\n] as const;\n\nconst canonicalProfiles = {\n \"bgn-pcgn\": {\n id: \"bgn-pcgn\",\n canonicalId: \"bgn-pcgn\",\n status: \"canonical\",\n label: \"BGN/PCGN Romanization (1981)\",\n targetLanguage: null,\n targetScript: \"latin\",\n scriptCode: \"Latn\",\n domain: \"geographic\",\n authority: \"United States Board on Geographic Names / PCGN\",\n year: 1981,\n aliases: [],\n sources: bgnSources,\n notes: [\n \"Designed for romanizing Armenian names in the eastern variety used in the Republic of Armenia.\",\n \"Aspirates use U+2019 RIGHT SINGLE QUOTATION MARK (per BGN/PCGN 2022 validation).\",\n \"Word-initial ե → ye, after vowels → ye (note 4.1); ո → vo word-initial except ով (note 4.2); և → yev initially/isolated/after vowels (note 4.3).\",\n ],\n },\n \"iso-9985\": {\n id: \"iso-9985\",\n canonicalId: \"iso-9985\",\n status: \"canonical\",\n label: \"ISO 9985 Romanization\",\n targetLanguage: null,\n targetScript: \"latin\",\n scriptCode: \"Latn\",\n domain: \"romanization\",\n authority: \"International Organization for Standardization\",\n year: 1996,\n aliases: [],\n sources: [\n {\n title:\n \"ISO 9985:1996 — Information and documentation — Transliteration of Armenian characters into Latin characters\",\n kind: \"official-standard\",\n year: 1996,\n },\n {\n title:\n \"Thomas T. Pedersen, Transliteration of Armenian, Rev. 2.0 (ISO 9985 column)\",\n kind: \"reference-table\",\n year: 2009,\n url: \"https://transliteration.eki.ee/pdf/Armenian_2.0.pdf\",\n },\n ],\n notes: [\n \"Reversible Latin transliteration profile with diacritics.\",\n \"Aspirates use U+02BF MODIFIER LETTER LEFT HALF RING (per ISO 9985:1996).\",\n \"ու digraph romanizes letter-by-letter as 'ow' (ո→o + ւ→w), per Pedersen ISO column entry 35.\",\n ],\n },\n \"hubschmann-meillet\": {\n id: \"hubschmann-meillet\",\n canonicalId: \"hubschmann-meillet\",\n status: \"canonical\",\n label: \"Hübschmann-Meillet Romanization\",\n targetLanguage: null,\n targetScript: \"latin\",\n scriptCode: \"Latn\",\n domain: \"academic\",\n authority: \"Hübschmann-Meillet scholarly tradition\",\n year: 1913,\n aliases: [],\n sources: [\n {\n title:\n \"A. Meillet, Altarmenisches Elementarbuch, Heidelberg, 1913 (2nd ed. 1980)\",\n kind: \"scholarly-system\",\n year: 1913,\n },\n {\n title:\n \"Thomas T. Pedersen, Transliteration of Armenian, Rev. 2.0 (H-M column)\",\n kind: \"reference-table\",\n year: 2009,\n url: \"https://transliteration.eki.ee/pdf/Armenian_2.0.pdf\",\n },\n ],\n notes: [\n \"Academic Latin profile used for classical/linguistic contexts.\",\n \"ու digraph → 'u' (per Pedersen H-M column entry 35).\",\n \"Aspirates use U+02BF MODIFIER LETTER LEFT HALF RING; some scholarly editions use U+02BD instead.\",\n \"ը → ə (U+0259 SCHWA); some sources use U+01DD LATIN SMALL LETTER TURNED E.\",\n ],\n },\n \"ala-lc\": {\n id: \"ala-lc\",\n canonicalId: \"ala-lc\",\n status: \"canonical\",\n label: \"ALA-LC Romanization (2022)\",\n targetLanguage: null,\n targetScript: \"latin\",\n scriptCode: \"Latn\",\n domain: \"romanization\",\n authority: \"American Library Association / Library of Congress\",\n year: 2022,\n aliases: [],\n sources: [\n {\n title: \"ALA-LC Armenian Romanization Table, 2022 version\",\n kind: \"official-standard\",\n year: 2022,\n url: \"https://www.loc.gov/catdir/cpso/romanization/armenian.pdf\",\n },\n {\n title:\n \"Thomas T. Pedersen, Transliteration of Armenian, Rev. 2.0 (ALA-LC 1997 column for historical comparison)\",\n kind: \"secondary-reference\",\n year: 2009,\n url: \"https://transliteration.eki.ee/pdf/Armenian_2.0.pdf\",\n },\n ],\n notes: [\n \"Cataloging romanization profile (LoC 2022).\",\n \"West Armenian bracketed alternates (note 1) are not emitted; East/Classical default only.\",\n \"Word-initial 'ե → y' fires only when followed by a vowel (note 2, Classical orthography).\",\n \"Soft sign U+02B9 inserted between Գհ/Դզ/Կհ/Սհ/Տս bigrams (note 3).\",\n \"Word-initial 'յ → ḥ' (note 4); stem-internal compound boundaries are not detected.\",\n \"'եւ → ew' is the Classical orthography sequence (note 5); modern 'և → ev' (note 6).\",\n \"Note 6 lowercase 'եվ → eʹv' word-start soft-sign exception (with lexical exceptions ևեթ, ևս) is NOT implemented; 'եվ' always maps to 'ev'.\",\n ],\n },\n \"ru-geo-kt-1974\": {\n id: \"ru-geo-kt-1974\",\n canonicalId: \"ru-geo-kt-1974\",\n status: \"canonical\",\n label: \"Russian Geographic Transliteration, Kuzmina-Tumanyan 1974\",\n targetLanguage: \"ru\",\n targetScript: \"cyrillic\",\n scriptCode: \"Cyrl\",\n domain: \"geographic\",\n authority: \"G. G. Kuzmina, editor E. G. Tumanyan\",\n year: 1974,\n aliases: [],\n sources: [\n {\n title:\n \"Инструкция по русской передаче географических названий Армянской ССР / Сост. Г. Г. Кузьмина; Ред. Э. Г. Туманян. — М., 1974. — 22 с. — 1000 экз.\",\n kind: \"geographic-instruction\",\n year: 1974,\n url: \"https://arhiiv.eki.ee/knab/cyr/ins_topo_AM_ru_1974.pdf\",\n },\n ],\n notes: [\n \"Russian is primary in the ID: Ukrainian or Belarusian Cyrillic profiles would use different rules.\",\n \"This profile models the 1974 instruction; official and traditional place names may override productive rules.\",\n ],\n },\n \"ru-geo-ra-2011\": {\n id: \"ru-geo-ra-2011\",\n canonicalId: \"ru-geo-ra-2011\",\n status: \"canonical\",\n label: \"Russian Geographic Transliteration, Republic of Armenia 2011\",\n targetLanguage: \"ru\",\n targetScript: \"cyrillic\",\n scriptCode: \"Cyrl\",\n domain: \"geographic\",\n authority: \"Government of the Republic of Armenia\",\n year: 2011,\n aliases: [],\n sources: [\n {\n title:\n \"ՀՀ կառավարության 2011 թվականի մարտի 3-ի N 220-Ն որոշում / Постановление Правительства Республики Армения № 220 от 3 марта 2011 года\",\n kind: \"government-decision\",\n year: 2011,\n url: \"https://www.arlis.am/hy/acts/66360\",\n },\n ],\n notes: [\n \"Separate from Kuzmina-Tumanyan 1974; it makes different choices for հ and ղ.\",\n \"Designed for Republic of Armenia geographic names, not for general-word Cyrillic transcription.\",\n ],\n },\n \"ru-proper-vartapetyan-1961\": {\n id: \"ru-proper-vartapetyan-1961\",\n canonicalId: \"ru-proper-vartapetyan-1961\",\n status: \"canonical\",\n label: \"Russian Proper Names Transliteration, Vartapetyan 1961\",\n targetLanguage: \"ru\",\n targetScript: \"cyrillic\",\n scriptCode: \"Cyrl\",\n domain: \"proper-names\",\n authority: \"N. A. Vartapetyan\",\n year: 1961,\n aliases: [],\n sources: [\n {\n title:\n \"Н. А. Вартапетян. Справочник по русской транскрипции армянских имен, фамилий и географических названий. Армянское государственное издательство, 1961\",\n kind: \"reference-table\",\n year: 1961,\n url: \"https://books.google.com/books/about/%D0%A1%D0%BF%D1%80%D0%B0%D0%B2%D0%BE%D1%87%D0%BD%D0%B8%D0%BA_%D0%BF%D0%BE_%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%BE%D0%B9.html?id=NYZKAQAAIAAJ\",\n },\n {\n title:\n \"И. Г. Казумян. Вариантные формы армянских фамилий в русском языке. Автореферат диссертации, Ереван, 1990\",\n kind: \"secondary-reference\",\n year: 1990,\n url: \"https://search.rsl.ru/ru/record/01000295426\",\n },\n {\n title:\n \"С. Б. Тошьян. Рецензия на Н. А. Вартапетян. Справочник по русской транскрипции армянских имён, фамилий и географических названий. Известия Академии наук Армянской ССР, 1962\",\n kind: \"critical-review\",\n year: 1962,\n url: \"https://arar.sci.am/Content/109000/file_0.pdf\",\n },\n ],\n notes: [\n \"For Armenian given names, surnames, and geographic names.\",\n \"Not suitable as a default Cyrillic display for common Armenian vocabulary.\",\n ],\n },\n \"ru-phonetic-eastern\": {\n id: \"ru-phonetic-eastern\",\n canonicalId: \"ru-phonetic-eastern\",\n status: \"canonical\",\n label: \"Russian Phonetic Transcription, Eastern Armenian\",\n targetLanguage: \"ru\",\n targetScript: \"cyrillic\",\n scriptCode: \"Cyrl\",\n domain: \"phonemic\",\n authority: \"armenian-transliteration package profile\",\n aliases: [],\n sources: [\n {\n title: \"armenian-transliteration Russian phonetic Eastern Armenian profile\",\n kind: \"package-profile\",\n },\n ],\n notes: [\n \"Learner-facing Cyrillic transcription for common vocabulary.\",\n \"Not an official geographic or proper-name transfer system.\",\n ],\n },\n \"ipa-eastern\": {\n id: \"ipa-eastern\",\n canonicalId: \"ipa-eastern\",\n status: \"canonical\",\n label: \"Eastern Armenian IPA (broad phonemic, Tier 1)\",\n targetLanguage: null,\n targetScript: \"ipa\",\n scriptCode: \"IPA\",\n domain: \"phonemic\",\n authority:\n \"Standard Eastern Armenian — broad phonemic transcription per Dum-Tragut 2009 and JIPA 2024. Tier 1: strict orthography → phoneme, no allophonic detail.\",\n aliases: [],\n sources: [\n {\n title:\n \"Jasmine Dum-Tragut, Armenian: Modern Eastern Armenian, London Oriental and African Language Library 14, Amsterdam: John Benjamins, 2009\",\n kind: \"scholarly-system\",\n year: 2009,\n },\n {\n title:\n \"Seyfarth, Dolatian, Guekguezian, Kelly & Toparlak (2024). Armenian (Yerevan Eastern and Beirut Western). Journal of the International Phonetic Association 54(1): 445–478\",\n kind: \"scholarly-system\",\n year: 2024,\n url: \"https://doi.org/10.1017/S0025100323000130\",\n },\n {\n title:\n \"Hossep Dolatian, Armenian Phonology and Phonetics (Glottothèque lecture series, 2022)\",\n kind: \"scholarly-system\",\n year: 2022,\n },\n {\n title:\n \"Bert Vaux, The Phonology of Armenian, Oxford: Clarendon Press, 1998\",\n kind: \"scholarly-system\",\n year: 1998,\n },\n ],\n notes: [\n \"Broad phonemic transcription of Standard Eastern Armenian.\",\n \"Three-way stop/affricate contrast: voiced (բ դ գ ձ ջ) / voiceless unaspirated (պ տ կ ծ ճ) / voiceless aspirated (թ ք փ ց չ).\",\n \"Open back unrounded /ɑ/ (not /a/) per JIPA 2024: 446.\",\n \"Word-initial yotation: ե → /je/, ո → /vo/ with ո + վ → /o/ exception (ով family).\",\n \"ղ → /ʁ/, ր → /ɾ/ (tap), ռ → /r/ (trill — distinction preserved in Yerevan EA).\",\n \"Excludes allophonic detail (stress, schwa epenthesis, regressive ղ/վ devoicing, word-final devoicing, post-nasal aspiration, -ությ- palatalization). See docs/LINGUISTIC_RATIONALE.md.\",\n ],\n },\n \"ipa-western\": {\n id: \"ipa-western\",\n canonicalId: \"ipa-western\",\n status: \"canonical\",\n label: \"Standard Western Armenian IPA (broad phonemic, Tier 1)\",\n targetLanguage: null,\n targetScript: \"ipa\",\n scriptCode: \"IPA\",\n domain: \"phonemic\",\n authority:\n \"Standard Western Armenian — broad phonemic transcription per JIPA 2024 and Dolatian 2022. Standard Western retains aspiration on թ ք փ ց չ.\",\n aliases: [],\n sources: [\n {\n title:\n \"Seyfarth, Dolatian, Guekguezian, Kelly & Toparlak (2024). Armenian (Yerevan Eastern and Beirut Western). Journal of the International Phonetic Association 54(1): 445–478\",\n kind: \"scholarly-system\",\n year: 2024,\n url: \"https://doi.org/10.1017/S0025100323000130\",\n },\n {\n title:\n \"Hossep Dolatian, Armenian Phonology and Phonetics (Glottothèque lecture series, 2022)\",\n kind: \"scholarly-system\",\n year: 2022,\n },\n {\n title:\n \"Bert Vaux, The Phonology of Armenian, Oxford: Clarendon Press, 1998\",\n kind: \"scholarly-system\",\n year: 1998,\n },\n {\n title:\n \"Luc Baronian, On the diachrony of Armenian stops (in Sayeed & Vaux, eds.), 2017\",\n kind: \"scholarly-system\",\n year: 2017,\n },\n ],\n notes: [\n \"Broad phonemic transcription of Standard Western Armenian.\",\n \"W1 voicing collapse: Eastern voiced (բ գ դ ձ ջ) → Western aspirated (/pʰ kʰ tʰ t͡sʰ t͡ʃʰ/); Eastern voiceless unaspirated (պ կ տ ծ ճ) → Western voiced (/b ɡ d d͡z d͡ʒ/). Aspirated series (թ ք փ ց չ) retained.\",\n \"Word-initial yotation rules same as Eastern.\",\n \"Rhotic merger: ր and ռ both → /ɾ/ in Standard Western (JIPA 2024: 459).\",\n \"W3 phonotactic: sibilant + plain stop (ստ սպ սկ շտ շպ շկ) stays voiceless /st sp sk ʃt ʃp ʃk/.\",\n \"Excludes Western-specific allophonic detail (progressive devoicing, schwa epenthesis, sibilant-adjacent deaspiration, յու → ʏ post-consonant). See docs/LINGUISTIC_RATIONALE.md.\",\n ],\n },\n} as const satisfies Record<Standard, ProfileMetadata>;\n\nexport const profiles: Record<Standard, ProfileMetadata> = canonicalProfiles;\n"],"mappings":"yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,gBAAAE,EAAA,gCAAAC,EAAA,iBAAAC,EAAA,aAAAC,IAAA,eAAAC,EAAAN,GCGA,IAAMO,EAAa,CACjB,CACE,MAAO,iDACP,KAAM,oBACN,KAAM,KACN,IAAK,iHACP,EACA,CACE,MAAO,4DACP,KAAM,kBACN,KAAM,KACN,IAAK,qDACP,CACF,EAEMC,EAAoB,CACxB,WAAY,CACV,GAAI,WACJ,YAAa,WACb,OAAQ,YACR,MAAO,+BACP,eAAgB,KAChB,aAAc,QACd,WAAY,OACZ,OAAQ,aACR,UAAW,iDACX,KAAM,KACN,QAAS,CAAC,EACV,QAASD,EACT,MAAO,CACL,iGACA,mFACA,+LACF,CACF,EACA,WAAY,CACV,GAAI,WACJ,YAAa,WACb,OAAQ,YACR,MAAO,wBACP,eAAgB,KAChB,aAAc,QACd,WAAY,OACZ,OAAQ,eACR,UAAW,iDACX,KAAM,KACN,QAAS,CAAC,EACV,QAAS,CACP,CACE,MACE,yHACF,KAAM,oBACN,KAAM,IACR,EACA,CACE,MACE,8EACF,KAAM,kBACN,KAAM,KACN,IAAK,qDACP,CACF,EACA,MAAO,CACL,4DACA,2EACA,4HACF,CACF,EACA,qBAAsB,CACpB,GAAI,qBACJ,YAAa,qBACb,OAAQ,YACR,MAAO,qCACP,eAAgB,KAChB,aAAc,QACd,WAAY,OACZ,OAAQ,WACR,UAAW,4CACX,KAAM,KACN,QAAS,CAAC,EACV,QAAS,CACP,CACE,MACE,4EACF,KAAM,mBACN,KAAM,IACR,EACA,CACE,MACE,yEACF,KAAM,kBACN,KAAM,KACN,IAAK,qDACP,CACF,EACA,MAAO,CACL,iEACA,sEACA,mGACA,2FACF,CACF,EACA,SAAU,CACR,GAAI,SACJ,YAAa,SACb,OAAQ,YACR,MAAO,6BACP,eAAgB,KAChB,aAAc,QACd,WAAY,OACZ,OAAQ,eACR,UAAW,qDACX,KAAM,KACN,QAAS,CAAC,EACV,QAAS,CACP,CACE,MAAO,mDACP,KAAM,oBACN,KAAM,KACN,IAAK,2DACP,EACA,CACE,MACE,2GACF,KAAM,sBACN,KAAM,KACN,IAAK,qDACP,CACF,EACA,MAAO,CACL,8CACA,4FACA,sGACA,uHACA,oGACA,+GACA,mMACF,CACF,EACA,iBAAkB,CAChB,GAAI,iBACJ,YAAa,iBACb,OAAQ,YACR,MAAO,4DACP,eAAgB,KAChB,aAAc,WACd,WAAY,OACZ,OAAQ,aACR,UAAW,uCACX,KAAM,KACN,QAAS,CAAC,EACV,QAAS,CACP,CACE,MACE,8mBACF,KAAM,yBACN,KAAM,KACN,IAAK,wDACP,CACF,EACA,MAAO,CACL,qGACA,+GACF,CACF,EACA,iBAAkB,CAChB,GAAI,iBACJ,YAAa,iBACb,OAAQ,YACR,MAAO,+DACP,eAAgB,KAChB,aAAc,WACd,WAAY,OACZ,OAAQ,aACR,UAAW,wCACX,KAAM,KACN,QAAS,CAAC,EACV,QAAS,CACP,CACE,MACE,6kBACF,KAAM,sBACN,KAAM,KACN,IAAK,oCACP,CACF,EACA,MAAO,CACL,yFACA,iGACF,CACF,EACA,6BAA8B,CAC5B,GAAI,6BACJ,YAAa,6BACb,OAAQ,YACR,MAAO,yDACP,eAAgB,KAChB,aAAc,WACd,WAAY,OACZ,OAAQ,eACR,UAAW,oBACX,KAAM,KACN,QAAS,CAAC,EACV,QAAS,CACP,CACE,MACE,yvBACF,KAAM,kBACN,KAAM,KACN,IAAK,gLACP,EACA,CACE,MACE,ggBACF,KAAM,sBACN,KAAM,KACN,IAAK,6CACP,EACA,CACE,MACE,u1BACF,KAAM,kBACN,KAAM,KACN,IAAK,+CACP,CACF,EACA,MAAO,CACL,4DACA,4EACF,CACF,EACA,sBAAuB,CACrB,GAAI,sBACJ,YAAa,sBACb,OAAQ,YACR,MAAO,mDACP,eAAgB,KAChB,aAAc,WACd,WAAY,OACZ,OAAQ,WACR,UAAW,2CACX,QAAS,CAAC,EACV,QAAS,CACP,CACE,MAAO,qEACP,KAAM,iBACR,CACF,EACA,MAAO,CACL,+DACA,4DACF,CACF,EACA,cAAe,CACb,GAAI,cACJ,YAAa,cACb,OAAQ,YACR,MAAO,gDACP,eAAgB,KAChB,aAAc,MACd,WAAY,MACZ,OAAQ,WACR,UACE,oKACF,QAAS,CAAC,EACV,QAAS,CACP,CACE,MACE,0IACF,KAAM,mBACN,KAAM,IACR,EACA,CACE,MACE,iLACF,KAAM,mBACN,KAAM,KACN,IAAK,2CACP,EACA,CACE,MACE,2FACF,KAAM,mBACN,KAAM,IACR,EACA,CACE,MACE,sEACF,KAAM,mBACN,KAAM,IACR,CACF,EACA,MAAO,CACL,6DACA,0MACA,6DACA,iIACA,8HACA,sNACF,CACF,EACA,cAAe,CACb,GAAI,cACJ,YAAa,cACb,OAAQ,YACR,MAAO,yDACP,eAAgB,KAChB,aAAc,MACd,WAAY,MACZ,OAAQ,WACR,UACE,4KACF,QAAS,CAAC,EACV,QAAS,CACP,CACE,MACE,iLACF,KAAM,mBACN,KAAM,KACN,IAAK,2CACP,EACA,CACE,MACE,2FACF,KAAM,mBACN,KAAM,IACR,EACA,CACE,MACE,sEACF,KAAM,mBACN,KAAM,IACR,EACA,CACE,MACE,kFACF,KAAM,mBACN,KAAM,IACR,CACF,EACA,MAAO,CACL,6DACA,oWACA,+CACA,8FACA,4KACA,2MACF,CACF,CACF,EAEaE,EAA8CD,EDpVpD,SAASE,EAAWC,EAA+B,CACxD,IAAMC,EAAUC,EAASF,CAAE,EAC3B,GAAI,CAACC,EACH,MAAM,IAAI,MAAM,oCAAoC,OAAOD,CAAE,CAAC,EAAE,EAElE,OAAOC,CACT,CAEO,SAASE,GAA2C,CACzD,OAAO,OAAO,OAAOD,CAAQ,CAC/B,CAEO,SAASE,EACdC,EAC4B,CAC5B,OAAOF,EAAa,EAAE,OACnBF,GAAYA,EAAQ,iBAAmBI,CAC1C,CACF","names":["profiles_exports","__export","getProfile","getProfilesByTargetLanguage","listProfiles","profiles","__toCommonJS","bgnSources","canonicalProfiles","profiles","getProfile","id","profile","profiles","listProfiles","getProfilesByTargetLanguage","targetLanguage"]}