-# ***************************************************************************
-# *
-# * Copyright (C) 2004-2016, International Business Machines
-# * Corporation; Unicode, Inc.; and others. All Rights Reserved.
-# *
-# ***************************************************************************
+# © 2016 and later: Unicode, Inc. and others.
+# License & terms of use: http://www.unicode.org/copyright.html#License
+#
# File: hy_hy_Latn_BGN.txt
-# Generated from CLDR
+# Generated from CLDR
#
-#
-########################################################################
# BGN/PCGN 1981 System
#
# The BGN/PCGN system for Armenian was designed for use in romanizing
# աբգդեզէըթժիլխծկհձղճմյնշոչպջռսվտրցփքևօֆ
#
# Originally prepared by Michael Everson <everson@evertype.com>
-########################################################################
-#
-# MINIMAL FILTER: Armenian-Latin
-#
-:: [ԱԲԳԴԵԶԷԸԹԺԻԼԽԾԿՀՁՂՃՄՅՆՇՈՉՊՋՌՍՎՏՐՑՒՓՔՕՖաբգդեզէըթժիլխծկհձղճմյնշոչպջռսվտրցւփքօֆև] ;
-:: NFD (NFC) ;
-#
-#
-########################################################################
-#
-########################################################################
-#
-# Define All Transformation Variables
-#
-########################################################################
#
+# https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/614615/ROMANIZATION_SYSTEM_FOR_ARMENIAN.PDF
+::[ԱԲԳԴԵԶԷԸԹԺԻԼԽԾԿՀՁՂՃՄՅՆՇՈՉՊՋՌՍՎՏՐՑՒՓՔՕՖաբգդեզէըթժիլխծկհձղճմյնշոչպջռսվտրցւփքօֆև։];
+::NFC;
$upperConsonants = [ԲԳԴԶԹԺԼԽԾԿՀՁՂՃՄՅՆՇՉՊՋՌՍՎՐՑՓՔՖ] ;
$lowerConsonants = [բգդզթժլխծկհձղճմյնշչպջռսվտրցփքֆ] ;
$consonants = [$upperConsonants $lowerConsonants] ;
$vowels = [$upperVowels $lowerVowels] ;
$lower = [$lowerConsonants $lowerVowels] ;
$aspirate = ’ ;
-#
-#
# Use this $wordBoundary until bug 2034 is fixed in ICU:
# http://bugs.icu-project.org/cgi-bin/icu-bugs/transliterate?id=2034;expression=boundary;user=guest
-#
$wordBoundary = [^[:L:][:M:][:N:]] ;
-#
-#
-########################################################################
-#
-########################################################################
-#
-# BGN Page 12 Rule 3:
-#
-# The character և should be romanized yev initially, after the vowel
-# characters ա, ե, է, ը, ի, ո, ւ, and օ.
-# In all other instances, it should be romanized ev.
-#
-########################################################################
-#
-$wordBoundary{ԵՒ}$wordBoundary → YEV ; # ARMENIAN CAPITAL ECH + CAPITAL YIWN
-$wordBoundary{ԵՒ → YEV ; # ARMENIAN CAPITAL ECH + CAPITAL YIWN
-$vowels{ԵՒ → YEV ; # ARMENIAN CAPITAL ECH + CAPITAL YIWN
-ԵՒ → EV ; # ARMENIAN CAPITAL ECH + CAPITAL YIWN
-$wordBoundary{Եւ}$wordBoundary → Yev ; # ARMENIAN CAPITAL ECH + SMALL YIWN
-$wordBoundary{Եւ → Yev ; # ARMENIAN CAPITAL ECH + SMALL YIWN
-$vowels{Եւ → Yev ; # ARMENIAN CAPITAL ECH + SMALL YIWN
-Եւ → Ev ; # ARMENIAN CAPITAL ECH + SMALL YIWN
-$wordBoundary{եւ}$wordBoundary → yev ; # ARMENIAN SMALL ECH + SMALL YIWN
-$wordBoundary{եւ → yev ; # ARMENIAN SMALL ECH + SMALL YIWN
-$vowels{եւ → yev ; # ARMENIAN SMALL ECH + SMALL YIWN
-եւ → ev ; # ARMENIAN SMALL ECH + SMALL YIWN
-$wordBoundary{և}$wordBoundary → yev ; # ARMENIAN SMALL LIGATURE ECH YIWN
-$wordBoundary{և → yev ; # ARMENIAN SMALL LIGATURE ECH YIWN
-$vowels{և → yev ; # ARMENIAN SMALL LIGATURE ECH YIWN
-և → ev ; # ARMENIAN SMALL LIGATURE ECH YIWN
-#
-#
-########################################################################
-#
-# End of Rule 3
-#
-########################################################################
-#
-########################################################################
-#
-# Start of Alphabetic Transformations
-#
-########################################################################
-#
+# BGN/PCGN 1981, Note 5: “The characters ԵՎ , եւ and և should be romanized
+# yev initially and after the vowel characters ա, ե, է, ի, ո, ու, and օ.
+# In all other instances these characters should be romanized ev.”
+#
+# BGN/PCGN 1981, Note 3: “In Soviet-era sources this upper-case digraph
+# character is found as Ե ի.”
+$YEV = [{ԵՎ} {ԵՒ} {ԵԻ}];
+$Yev = [{Եվ} {Եւ} {Եի}];
+$yev = [{եվ} {եւ} և {եի}];
+$yev_vowels = [ա ե է ի ո {ու} օ Ա Ե Է Ի Ո {ՈՒ} {Ու} Օ];
+[$wordBoundary $yev_vowels] {$YEV} → YEV;
+[$wordBoundary $yev_vowels] {$Yev} → Yev;
+[$wordBoundary $yev_vowels] {$yev} → yev;
+$YEV → EV;
+$Yev → Ev;
+$yev → ev;
+::null;
+# BGN Page 12 Rule 1: The character ե should be romanized ye initially,
+# after the vowel characters ա, ե, է, ը, ի, ո, ւ, and օ.
+# In all other instances, it should be romanized e.
+$upperVowels {Ե → YE ; # ARMENIAN CAPITAL LETTER ECH
+$lowerVowels {Ե → Ye ; # ARMENIAN CAPITAL LETTER ECH
+$wordBoundary {Ե → Ye ; # ARMENIAN CAPITAL LETTER ECH
+Ե → E ; # ARMENIAN CAPITAL LETTER ECH
+$vowels {ե → ye ; # ARMENIAN SMALL LETTER ECH
+$wordBoundary {ե → ye ; # ARMENIAN SMALL LETTER ECH
+ե → e ; # ARMENIAN SMALL LETTER ECH
+::null;
Ա → A ; # ARMENIAN CAPITAL LETTER AYB
ա → a ; # ARMENIAN SMALL LETTER AYB
Բ → B ; # ARMENIAN CAPITAL LETTER BEN
գ → g ; # ARMENIAN SMALL LETTER GIM
Դ → D ; # ARMENIAN CAPITAL LETTER DA
դ → d ; # ARMENIAN SMALL LETTER DA
-#
-#
-########################################################################
-#
-# BGN Page 12 Rule 1:
-#
-# The character ե should be romanized ye initially, after the vowel
-# characters ա, ե, է, ը, ի, ո, ւ, and օ.
-# In all other instances, it should be romanized e.
-#
-########################################################################
-#
-$upperVowels{Ե → YE ; # ARMENIAN CAPITAL LETTER ECH
-$lowerVowels{Ե → Ye ; # ARMENIAN CAPITAL LETTER ECH
-$wordBoundary{Ե → Ye ; # ARMENIAN CAPITAL LETTER ECH
-Ե → E ; # ARMENIAN CAPITAL LETTER ECH
-$vowels{ե → ye ; # ARMENIAN SMALL LETTER ECH
-$wordBoundary{ե → ye ; # ARMENIAN SMALL LETTER ECH
-ե → e ; # ARMENIAN SMALL LETTER ECH
-#
-#
-########################################################################
-#
-# End of Rule 1
-#
-########################################################################
-#
Զ → Z ; # ARMENIAN CAPITAL LETTER ZA
զ → z ; # ARMENIAN SMALL LETTER ZA
Է → E ; # ARMENIAN CAPITAL LETTER EH
Շ} $lower → Sh ; # ARMENIAN CAPITAL LETTER SHA
Շ → SH ; # ARMENIAN CAPITAL LETTER SHA
շ → sh ; # ARMENIAN SMALL LETTER SHA
-#
-#
-########################################################################
-#
# Transliteration Case 34:
-#
Ու} $lower → U ; # ARMENIAN CAPITAL LETTER VO + SMALL YIWN
ՈՒ → U ; # ARMENIAN CAPITAL LETTER VO + CAPITAL YIWN
ու → u ; # ARMENIAN SMALL LETTER VO + SMALL YIWN
-#
-#
-########################################################################
-#
-########################################################################
-#
# BGN Page 12 Rule 2:
#
# The character ո should be romanized vo initially except in the
# word ով, which should be romanized ov. In all other instances, it
# should be romanized o.
-#
-########################################################################
-#
ՈՎ → OV ;
Ով → Ov ;
ով → ov ;
Ո → O ; # ARMENIAN CAPITAL LETTER ECH
$wordBoundary{ո → vo ; # ARMENIAN SMALL LETTER VO
ո → o ; # ARMENIAN SMALL LETTER VO
-#
-#
-########################################################################
-#
-# End of Rule 2
-#
-########################################################################
-#
Չ} $lower → Ch $aspirate ; # ARMENIAN CAPITAL LETTER CHA
Չ → CH $aspirate ; # ARMENIAN CAPITAL LETTER CHA
չ → ch $aspirate ; # ARMENIAN SMALL LETTER CHA
Ց} $lower → Ts $aspirate ; # ARMENIAN CAPITAL LETTER CHEH
Ց → TS $aspirate ; # ARMENIAN CAPITAL LETTER CO
ց → ts $aspirate ; # ARMENIAN SMALL LETTER CO
-#
-#
########################################################################
#
# The BGN does not show YIWN on its own.
#ւ → w ; # ARMENIAN SMALL LETTER YIWN
#
########################################################################
-#
Փ → P $aspirate ; # ARMENIAN CAPITAL LETTER PIWR
փ → p $aspirate ; # ARMENIAN SMALL LETTER PIWR
Ք → K $aspirate ; # ARMENIAN CAPITAL LETTER KEH
օ → o ; # ARMENIAN SMALL LETTER OH
Ֆ → F ; # ARMENIAN CAPITAL LETTER FEH
ֆ → f ; # ARMENIAN SMALL LETTER FEH
-#
-#
-########################################################################
+։ → \. ; # ARMENIAN FULL STOP