[header]
language = ENE
charset = utf-8

[data]
#
# Siri additions
/÷ \(Deluxe\)/i   -->   "divide deluxe"
/x \(Wembley Edition\)/i   -->   "multiply wembley edition"
/\biPhone X\b/i   -->   "iPhone ten"
/\bBeats 1 live\b/i   -->   "\e/+'bits_'w^n_'la&Iv\e/+"
/\bBeats Solo³/i   -->   "Beats Solo 3"
/\bBeats\s?X\b/i   -->   "\e/+bits_'Eks\e/+"
/\bITE\b/   -->   "\e/+'a&I_ti_'i\e/+"
/\bLogic Pro X\b/   -->   "\e/+'lA+.d&ZIk_pR+o&U_'tEn\e/+"
/\bPowerbeats³/i   -->   "Powerbeats 3"
/\b(Jr)(?![.A-Za-z])/   -->   $1.  #Ensure that Jr is followed by a dot (.)
/\bDr(?=\s[A-Z][a-z])/   -->   Doctor  #Converts Dr to Doctor only when followed by space, capital letter, lowercase letter
/\bdoo uap\b/i   -->   "\e/+'du_@p\e/+"
// --> " Apple "
/\bkg\/m\b/   -->   "kilograms per meter"
/\bKings XI\b/   -->   "kings eleven"
/\bla vie\b/i   -->   "\e/+l@_'vi\e/+"
/\bboh(e|è)me\b/i   -->   "\e/+bo&U.'Em\e/+"
/\b1812 overture\b/i   -->   "eighteen twelve overture"
/\bREI\b/   -->   "r e i"
/\bbass pro\b/i   -->   "\e/+b@s_'pR+o&U\e/+"
/\bsci fi\b/i   -->   "sci-fi"
/\blos ba(n|ñ)os\b/i   -->   "\e/+lA+s_'b@.njA+s\e/+"
/\bLego® (Batman|Movie)\b/i   -->   "lego $1"
/\(Live\)/i   -->   "\e/+'la&Iv\e/+"
/\blive at wembley\b/i   -->   "\e/+la&Iv_@t_'wEm.bli\e/+"
/\*\bNSYNC\b/   -->   "\e/+'En_'sInKk\e/+"
/\bD\.R\.A\.M\./   -->   "dram"
/\b([12]\d{3})\s*(-|–|to)\s*([12]\d{3})\b/   -->   "\e\\tn=date\\$1 to $3\e\\tn=normal\\" #handle space between years
/\b(\d{2})(\d{2})\s*(-|–)\s*(\d{2})\b/   -->   "\e\\tn=date\\$1$2 to $1$4\e\\tn=normal\\"
/\b(\w+)\s(\d|\d{2}),\s*(\d{4})\s*(-|–)\s*(\w+)\s(\d|\d{2}),\s*(\d{4})\b/   -->   "\e\\tn=date\\$1 $2, $3 to $5 $6, $7\e\\tn=normal\\"
/\bToo \$hort\b/i   -->   "too short"
/\bJoey Bada\b\$\$/i   -->   "joey badass"
/\bTravi\$ Scott\b/i   -->   "travis scott"
/\bCa\$h Out\b/i   -->   "cash out"
/\bA\$AP Ferg\b/i   -->   "\e/+'e&I.s@p_'fE0R+g\e/+"
/\bA\$AP Rocky\b/i   -->   "\e/+'e&I.s@p_'R+A.ki\e/+"
/\bncis\b/i   -->   "n c i s"
/\b(\d+) hour\b/   -->   "$1 \e/+'a&U.$R+\e/+"
/\b(\d{4}) to present\b/   -->   "$1\e/+t$_'pR+E.z$nt\e/+"
/\bbon app(é|e)tit\b/i   -->   "\e/+'bA+n_@.p$.'ti\e/+"
/\bthe a team\b/i   -->   "\e/+Di_'e&I_tim\e/+"
/(:(-|–)\(|:(-|–)\[)/   -->   "\e/+'s@d\e/+"
/\b(\w), OH\b/   -->   "$1, Ohio"
/\bl\.?a\.?(‑|-|–|\s)l\.?a\.? land\b/i   -->   "\e/+'lA_'lA_'l@nd\e/+"
/\bft\.? knox\b/i   -->   "fort knox"
/\beverready\b/i   -->   "ever ready"
/\btech n9ne\b/i   -->   "\e/+'tEk_'na&In\e/+"
#
#  Politics
/\bFine Gael\b/   -->   "\e/+'fI.n$_'ge&Il\e/+"
/\bFianna Fail\b/   -->   "\e/+'fi.n$_'fOl\e/+"
/\bFianna Fáil\b/   -->   "\e/+'fi.n$_'fOl\e/+"
/\bÁras an Uachtaráin\b/   -->   "\e/+'O.R+$s_$n_'uk.t$.R+On\e/+"
/\bPAP\b/   -->   "\e/+'pi_'e&I_'pi\e/+"

#
#  Places
/\bDun Laoghaire\b/   -->   "\e/+d^n.'lE&$.R+@\e/+"
/\bBrú na Bóinne\b/   -->   "\e/+'bR+u_'nA_'bo&U.In.@\e/+"
/\bBuena(?= Vista)\b/i   -->   "\e/+'bwE.n$\e/+"
/\bclones, (\x1b\\pause=\d+\\)?(?=ireland|county monaghan)\b/i   -->   "\e/+'klo&U.nIs\e/+, $1"
/\bChoa Chu Kang\b/   -->   "\e/+'t&SwA_'t&Su_kAnK\e/+"
/\bCroke Park\b/   -->   "\e/+'kR+o&Uk_'pAR+k\e/+"
/\bdolla \$ign\b/i   -->   " dollar sign "
/\bHonolulu, HI\b/i   -->   "Honolulu, Hawaii"
/\bKusu Island\b/   -->   "\e/+'ku.su_'a&I.l$nd\e/+"
/\bLiancourt Rocks\b/   -->   "\e/+'li.$nK.kOR+t_'R+A+ks\e/+"
/\bNice(?=, France)\b/   -->   "\e/+'nis\e/+"
/\Oviedo, (\x1b\\pause=\d+\\)?(?=Florida)\b/   -->   "\e/+o&U.'vi.do&U\e/+, $1"
/\bPulau Tekong\b/   -->   "\e/+pU.'la&U_'t$.kA+nK\e/+"
/\bPulau Ubin\b/   -->   "\e/+pU.'la&U_'u.bIn\e/+"
/\bSaint Fin Barre's Cathedral\b/   -->   "\e/+'se&Int_'fIn.bAR+z_k$.'Ti.dR+$l\e/+"
/\bshall I read\b/i   -->   "\e/+S@l_a&I_R+id\e/+"
/\bWest Indies\b/i   -->   "\e/+'wEst_'In.diz\e/+"
/\bz[uü]rich\b/i   -->   "\e/+'zUR+.Ik\e/+"

#
#  Businesses
/\bAn Post\b/   -->   "\e/+An_'p^st\e/+"
/\bFuki Sushi\b/i  -->   "\e/+'fu.ki_'su.Si\e/+"
/\bgyu-kaku\b/i   -->   "\e/+'gi.u_'kA.ku\e/+"
/\bSmurfit Kappa\b/   -->   "\e/+'smE0R+.fIt_'k@.p@\e/+"
/\bTotal Produce\b/   -->   "\e/+'to&U.tl%)_pR+Adjus\e/+"

#
#  Names
/\bariana grande\b/i   -->   "\e/+@.R+i.'A.n$_gR+@n.de&I\e/+"
/\bCeline Dion\b/   -->   "\e/+s$.'lin_'di.A+n\e/+"
/\bÓ Briain\b/   -->   "\e/+'o&U.'bR+i.$n\e/+"
/\bJoss Whedon\b/ --> "\e/+'d&ZA+s_'wi.d$n\e/+"
/\bJean Claude Van Damme\b/   -->   "\e/+'ZAn_'klOd_'v@n_'d@.m\e/+"
/\bDe Brocquy\b/   -->   "\e/+d$_'bR+A+.ka&I\e/+"
/\bdvořák\b/i   -->   "dvorak"
/\b(Obama) II\b/i   --> "$1 the second"
/\bPark Geun Hye\b/   -->   "\e/+'pAR+k_'gUn_'he&I\e/+"
/\bShinzo Abe\b/   -->   "\e/+'SIn.zo&U_'A.be&I\e/+"
/\bLana Del Ray\b/i   -->   "\e/+'lA.n^_'dEl_'R+e&I\e/+"
/\bJay Z\b/   -->   "\e/+'d&Ze&I_'zi\e/+"
/\bMelania (Trump)\b/   -->   "\e/+m$.'lA.ni.^\e/+$1"
/\b(Charles Howell) III\b/i   -->   "$1 the third"
/\bLizette Salas\b/   -->   "\e/+lI.'zEt_'s@.l$s\e/+"
/\bAnirban Lahiri\b/   -->   "\e/+$.'nIR+.b$n_l$.'hiR+.i\e/+"
/\bSo Yeon Ryu\b/   -->   "\e/+'so&U_'jA+n_'R+u\e/+"
/\bSung Hyun Park\b/   -->   "\e/+'s^nK_'hjun_'pAR+k\e/+"
/\bAriya Jutanugarn\b/   -->   "\e/+'E&$R+_i.'e&I_'d&Zu_'t@.n$R+_'gAR+n\e/+"
/\bAshleigh Buhai\b/   -->   "\e/+'@S.le&I_'bju_'ha&I\e/+"
/\bDaniel Berger\b/   -->   "\e/+'d@n.jl%)_'bE0R+.g$R+\e/+"
/\bDavid De Gea\b/i --> "\e/+dA.'vid_d$_'he&I.$\e/+"
/\bTiger Woods\b/i --> "\e/+'ta&I.g$R+_'wUdz\e/+"

#  Cricketers
/\bAjinkya Rahane\b/   -->   "\e/+$.d&ZIn.'kjA_R+@.'hA.ni\e/+"
/\bRangana Herath\b/   -->   "\e/+R+@nK.'g@.n$_'hE.R+@t\e/+"
/\bRavindra Jadeja\b/   -->   "\e/+R+$.'vIn.dR+$_d&Z$.'de&I.d&Z$\e/+"
/\bNeil Wagner\b/   -->   "\e/+'nil_'wAg.n$R+\e/+"
/\bSamiullah Shenwari\b/   -->   "\e/+s^.mi.'^.l$_'SEn.wA.R+i\e/+"
/\bMashrafe Mortaza\b/   -->   "\e/+m$S.'R+Afi_'mOR+.t$.z$\e/+"
/\bKagiso Rabada\b/   -->   "\e/+k$.'hI.zo&U_'R+^.bA.d$\e/+"
/\bFaf du Plessis\b/   -->   "\e/+'f@f_du_plE.'si\e/+"
/\bMS Dhoni\b/   -->   "\e/+'Em_'Es_'Do&U.ni\e/+"
/\bMoeen Ali\b/   -->   "\e/+ma&U.In_'A.li\e/+"
/\bSarfraz Ahmed\b/   -->   "\e/+s@Rf.'R+@z_'A.m$d\e/+"
/\bMorne Morkel\b/   -->   "\e/+'mOR+.ni_'mOR+.kl%)\e/+"
/\bIshant Sharma\b/i   -->   "\e/+i.'SAnt_'SAR+.m$\e/+"
#
#  Media
/\bAFI\b/   -->   "\e/+'e&I_'Ef_'a&I\e/+"
/\balternate history\b/   -->   "\e/+Ol.'t$R+.n$t_'hIst.R+i\e/+"
/\bexplicit content\b/   -->   "\e/+Ik.'splI.sIt_'kA+n.tEnt\e/+"
/\bThe Pogues\b/   -->   "\e/+D$_'po&U.$gz\e/+"
/\b(?<=Axwell) Λ Ingrosso\b/i   -->   "$1 and \e/+In.'gR+o&U.so&U\e/+"

#
#  Home Automation
/\bUA Blue\b/   -->   "\e/+'ju.e&I_'blu\e/+"
/\bUA Red\b/   -->   "\e/+'ju.'e&I_'R+Ed\e/+"
/\bUP forest green\b/   -->   "\e/+'ju.pi_'fA+.R+Ist_'gR+in\e/+"
/\bUP maroon\b/   -->   "\e/+'ju.pi_m$.'R+un\e/+"

#
# Proper readout for dates in yyyy/mm/dd form
/\b(\d{4})[-\/](0[1-9]|1[012])[-\/](0[1-9]|[12]\d|3[01])\b/ --> "$3/$2/$1"
# Proper readout for time in dd.ddPM and variants
/\b(0?[1-9]|1[012])\.([0-6][0-9])\s*([ap]\.?m)\b/i   -->   "$1:$2 $3"

/^,$/   -->   comma

#
# Gaelic words and phrases
/\bnollaig shona duit\b/   -->   "\e/+'n^.le&Ig_'hA+.n$_'dItS\e/+"
/\bAmhr[áa]n na bhFiann\b/i   -->   "\e/+a&UR+.'On_'n$_'vin\e/+"

#
# Miscellaneous
/\bDecksanddrumsandrockandroll\b/   -->   "decks n drums n rock n roll"
/\bbhat?i d(oo|u)j\b/i   -->   "\e/+ba&I_'dud&Z\e/+"
/\bcinco de mayo\b/i   -->   "\e/+'sInK.ko&U_d$_'ma&I.o&U\e/+"
/\bcr[eè]me br[uû]l[eé]e\b/   -->   "\e/+'kR+Em_bR+u.'le&I\e/+"
/(\d)[\s\xa0]+(sen)(?=\.)/  -->  "$1 $2 "
/\bfleur de lis\b/   -->   "\e/+flE0R+_d$_'li\e/+"
/\bFlorence \+ The Machine(|\'s)\b/i   -->   "Florence and the Machine"
/\bHà Nôi\b/   -->   "\e/+'hA_'nO.i\e/+"
/\bhard-fi\b/i   -->   "\e/+'hAd_'fa&I\e/+"
/\bHawaii Five-0\b/i   -->   "Hawaii five oh"
/\bLED\b/   -->   "\e/+El_i_'di\e/+"
/\bLEDs\b/   -->   "\e/+El_i_'diz\e/+"
/\bmarket close\b/   -->   "\e/+'mAR+.kIt_'klo&Uz\e/+"
/\bmicex ind\b/i   -->   "micex index"
/\bp(e|ae)dophile\b/   -->   "\e/+'pE.d$.fa&Il\e/+"
/\bReal (Madrid|Salt Lake)\b/   -->   "\e/+R+e&I.'Al\e/+ $1"
/\bwar of 1812\b/i   -->   "\e/+'wOR+_$v_'e&I.tin_'twElv\e/+"
/\bsend read receipts\b/i   -->   "\e/+sEnd_R+Ed_R+I.'sits\e/+"
/\bAC Milan\b/   -->   "\e/+'e&I_'si_m$.'l@n\e/+"
/\bwound(-| )up(?=\.|!|\?)\b/   -->   "\e/+'wa&Und_'^p\e/+"
/\bNUS\b/   -->   "\e/+'En_'ju_'Es\e/+"
/\b(\d{2})" iPad\b/   -->   " $1 inch iPad "
/\b(\d{2})\.5" iPad\b/   -->   " $1 point five inch iPad "
/\bOHL\b/   -->   "\e/+'o&U_'e&It&S_'El\e/+"
/\bwhat's the 411\b/i   -->   "what's the four one one"
/\bFA Cup\b/i   --> "F A Cup"
/\b([0-9]{1,3})-([0-9]{1,3})\b/   -->   "$1 $2" #ensure dash in sports scores not read

#Prophet Muhammad
/\bMuḥammad ibn\b/   -->   "\e/+mu.'hA.m$d_Ibne&\e/+"
/\bAllāh ibn\b/   -->   "\e/+'^.llA$_Ibne&\e/+"

/\bjalape[ñn]os\b/   -->   "\e/+h@.l$.'pe&In.jo&Uz\e/+"
/\bjalape[ñn]o\b/   -->   "\e/+h@.l$.'pe&In.jo&U\e/+"
/\bQutu?b Minar\b/   -->   "\e/+kU.'tUb_mI.'nAR+\e/+"
/(\d+)\s?>\s?(\d+)/   -->   "$1 is greater than $2"
/(\d+)\s?≥\s?(\d+)/   -->   "$1 is greater than or equal to $2"
/(\d+)\s?<\s?(\d+)/   -->   "$1 is less than $2"
/(\d+)\s?≤\s?(\d+)/   -->   "$1 is less than or equal to $2"
/(\d+)\s?≠\s?(\d+)/   -->   "$1 is not equal to $2"
/\bLes (?=Baxter)\b/   -->   "\e/+'lEs\e/+ $1"
/\bZHU x A-Trak x Keznamdi\b/i   -->   "zhu, a-trak \e/+$n\e/+ keznamdi"

#
# The following rules MUST be kept as LAST entry in the rule set.
#
# rdar://problem/34731994:  Siri namer feature replaces the user's name by phonetics e.x.
# "\e\toi=lhp\'gOR+.d$n\e\toi=orth\'s reminders" is corrected to "\e\toi=lhp\'gOR+.d$nz\e\toi=orth\ reminders"
#
# <rdar://problem/35571603> Add a rule to include possessive form when the artist/name is picked by user rules.
# "\e/+'gE.r6i_'li\e/+'s album" is corrected to "\e/+'gE.r6i_'liz\e/+ album"
#
/(?<=\Ss|\Sz|\Sd&Z|\St&S|\SZ|\SS|\Sts)(\e\\toi=orth\\|\e\/\+)['’]s\b/   -->   ".Iz$1"
/(?<=\Sh|\Sf|\ST|\St|\Sk|\Sp)(\e\\toi=orth\\|\e\/\+)['’]s\b/   -->   "s$1"
/(?<=\S)(\e\\toi=orth\\|\e\/\+)['’]s\b/   -->   "z$1"
