[header]
language = ENZ
charset = utf-8

[data]
#
# Siri additions
#
/÷ \(Deluxe\)/i   -->   "divide de lucks"
/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/+"
/@me\.com\b/   -->   " at me dot com "
/OS X\b/   -->   "OS ten "
/FA [Cc]up/   -->   "F A cup"
/49er/   -->   "forty niner"
/76er/   -->   "seventy sixer"
/\bITE\b/   -->   "\e/+'a&I_ti_'i\e/+"
/\(Live\)/i   -->   "\e/+'la&Iv\e/+"
/\blive at wembley\b/i   -->   "\e/+la&Iv_@t_'wEm.bli\e/+"
/\bPG\b/   -->   " p-g "
/\bRs\.1\b/i -->   "1 rupee"
/\bRs\.([2-9][\d,\.]*)\b/i  -->  "$1 rupees"
/\bno.($|\s+[A-Z])/   -->   "no \e\\eos=1\\ $1"
/\b(Jr|[Mm]rs?)(?![.A-Za-z])/   -->   $1.  #Ensure that Mr, Jr, and Mrs are followed by a dot (.)
/\bDr(?=\s[A-Z][a-z])/   -->   Doctor  #Converts Dr to Doctor only when followed by space, capital letter, lowercase letter
/\bkg\/m\b/   -->   "kilograms per meter"
/\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/+"
/\*\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\\"
/\bncis\b/i   -->   "n c i s"
/\b(\d{4}) to present\b/   -->   "$1\e/+t$_'pR+E.z$nt\e/+"
/\bbon app(é|e)tit\b/   -->   "\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/+"
#
/\bAndrea Bocelli\b/   -->   " Ahn-drayah Bocelli "
/\bariana grande\b/i   -->   "\e/+@.R+i.'A.n$_gR+@n.de&I\e/+"
/\bBoyz II Men\b/   -->   "\e/+'bO&Iz_t$_'mEn\e/+"
/\bcinco de mayo\b/i   -->   "\e/+'sInK.ko&U_d$_'ma&I.o&U\e/+"
/\bREO Speedwagon\b/   -->   " R E O Speedwagon "
/\bBlack Eyed Peas\b/   -->   " black i'd peas "
/\b[Bb]link[\.\- ]182\b/   -->   " Blink 1 82 "
/\bFlorence \+ The Machine(|\'s)\b/i   -->   "Florence and the Machine"
/\bgyu-kaku\b/i   -->   "\e/+'gi.u_'kA.ku\e/+"
/\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/+"
#
/\bApple ID\b/   -->   "\e/+'@.p$l_'a&I_'di\e/+"
/\bBeats Solo³/i   -->   "Beats Solo 3"
/\bBeats\s?X\b/i   -->   "\e/+bits_'Eks\e/+"
/\bPowerbeats³/i   -->   "Powerbeats 3"
// --> " Apple "
/\bLego® (Batman|Movie)\b/i   -->   "lego $1"
/\bLogic Pro X\b/   -->   "\e/+'lA+.d&ZIk_pR+o&U_'tEn\e/+"
#
# Names
#
/\bMelania (Trump)\b/   -->   "\e/+m$.'lA.ni.^\e/+$1"
/\ble Roux\b/   -->   "\e/+l$_'R+u\e/+"
/\bvan Wyk\b/   -->   "\e/+f^n_ve&Ik\e/+"
/\bvan der Riet\b/   -->   "\e/+f^n_d$_'R+it\e/+"
/\bBarack Obama\b/   -->   "\e/+b$.'R+A+k_o&U.'bA+.m$\e/+"
/\b(Obama) II\b/i   --> "$1 the second"
/\bvan der Westhuyzen\b/   -->   "\e/+f^n_d$_'vEst.^&y.z$n\e/+"
/\bvan Riebeeck\b/   -->   "\e/+f^n_'R+i.bEk\e/+"
/\bvan Rensburg\b/   -->   "\e/+fAn_'R+Enz.bE0g\e/+"
/\bslap pap\b/   -->   "\e/+'sl^p_p^p\e/+"
/\bdvořák\b/i   -->   "dvorak"
/\bElizabeth I\b/   -->   "\e/+I.'lI.z$.b$T_D$_'fE0st\e/+"
/\bHenry VIII\b/   -->   "\e/+'hEn.R+i_Di_'e&ItT\e/+"
/\bJoss Whedon\b/   -->   "\e/+'d&ZA+s_'wi.dn%)\e/+"
/\bcar audio\b/   -->   "\e/+'kAR+_'O.di.o&U\e/+"
/\baudio source\b/   -->   "\e/+'O.di.o&U_'sOs\e/+"
/\bspiro disco ball\b/   -->   "\e/+'spa&I.R+o&U_'dI.sko&U_'bOl\e/+"
/\btyrian purple\b/   -->   "\e/+'tI.R+i.$n_'pE0.pl%)\e/+"
/\bkung fu\b/   -->   "\e/+'k^nK_'fu\e/+"
/\btai chi\b/   -->   "\e/+'ta&I_'t&Si\e/+"
/\braspberry glace\b/   -->   "\e/+'R+Az.b$.R+i_'gl@.se&I\e/+"
/\bCBN Espan\b/   -->   "\e/+'si.bi.'En_'Es.p@n.jA+l\e/+"
/\bAli Larter\b/   -->   "\e/+@.'li_'lA.t$\e/+"
/\bJean-Claude Van Damme\b/   -->   "\e/+'ZAn_'klOd_'v@n_'d@m\e/+"
/\bPark Geun Hye\b/   -->   "\e/+'pAR+k_'gUn_'he&I\e/+"
/\bShinzo Abe\b/   -->   "\e/+'SIn.zo&U_'A.be&I\e/+"
/\bSpike Jonze\b/   -->   "\e/+'spa&Ik_'d&Zo&Unz\e/+"
/\broyal azure\b/   -->   "\e/+'R+O&I.$l_'@Z.U&$R+\e/+"
/\bThe Weinstein Company\b/   -->   "\e/+'D$_'wa&Inz.tin_'k^m.p$.ni\e/+"
/\bcar battery vendor\b/   -->   "\e/+'kA_'b@.t$.R+I_'vEn.d$\e/+"
/\bBleu de France\b/   -->   "\e/+'bl$_d$_'fR+Ans\e/+"
/\bLa Salle Green\b/   -->   "\e/+l@_'s@l_'gR+in\e/+"
/\bpastel green\b/   -->   "\e/+p@.'stEl_'gR+in\e/+"
/\bvivid auburn\b/   -->   "\e/+'vI.vId_'Ob.$n\e/+"
/\bUP forest green\b/   -->   "\e/+'ju.pi_'fA+.R+Ist_'gR+in\e/+"
/\bUP maroon\b/   -->   "\e/+'ju.pi_m$.'R+un\e/+"
/\bshall I read\b/i   -->   "\e/+S@l_a&I_R+id\e/+"
/\bJay Z\b/   -->   "\e/+'d&Ze&I_'zi\e/+"
/\b(Charles Howell) III\b/i   -->   "$1 the third"
/\bLizette Salas\b/   -->   "\e/+lI.'zEt_'s@.l$s\e/+"
/\bSuzann Pettersen\b/   -->   "\e/+'su.z$n_'pE.t$.s$n\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/+"

#
# Place names
#
/\bBuena(?= Vista)\b/i   -->   "\e/+'bwe&I.n$\e/+"
/\bChoa Chu Kang\b/   -->   "\e/+'t&SwA_'t&Su_kAnK\e/+"
/\bFuki Sushi\b/i  -->   "\e/+'fu.ki_'su.Si\e/+"
/\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/+"
/\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/+"
#
# Number spacing
#
/(\d)[\s\xa0](\d{3})[\s\xa0](\d{3})[\s\xa0](\d{3})[\s\xa0](\d{3})/	-->	"$1,$2,$3,$4,$5"
/(\d)[\s\xa0](\d{3})[\s\xa0](\d{3})[\s\xa0](\d{3})/	-->	"$1,$2,$3,$4"
/(\d)[\s\xa0](\d{3})[\s\xa0](\d{3})/	-->	"$1,$2,$3"
/(\d)[\s\xa0](\d{3})/	-->	"$1,$2"
#
# 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"
#
# Miscellaneous
/\bDecksanddrumsandrockandroll\b/   -->   "decks n drums n rock n roll"
/\bNice(?=, France)\b/   -->   "\e/+'nis\e/+"
/\bAFI\b/   -->   "\e/+'e&I_'Ef_'a&I\e/+"
/\bcr[eè]me br[uû]l[eé]e\b/   -->   "\e/+'kR+Em_bR+u.'le&I\e/+"
/(\d)[\s\xa0]+(sen)(?=\.)/  -->  "$1 $2 "
/\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"
/\bclones, (\x1b\\pause=\d+\\)?(?=ireland|county monaghan)\b/i   -->   "\e/+'klo&U.nIs\e/+, $1"
/\bdolla \$ign\b/i   -->   " dollar sign "
/\bdoo uap\b/i   -->   "\e/+'du_@p\e/+"
/\bfleur de lis\b/   -->   "\e/+flE0R+_d$_'li\e/+"
/\bLED\b/   -->   "\e/+El_i_'di\e/+"
/\bLEDs\b/   -->   "\e/+El_i_'diz\e/+"
/\bbhat?i d(oo|u)j\b/i   -->   "\e/+ba&I_'dud&Z\e/+"
/(\d)[\s\xa0]+(sen)(?=\.)/  -->  "$1 $2 "
/\bmarket close\b/   -->   "\e/+'mAR+.kIt_'klo&Uz\e/+"
/\bmicex ind\b/i   -->   "micex index"
/\bJr\./   -->   "\e/+d&Zu.nj$R+\e/+"
/\bReal (Madrid|Salt Lake)\b/   -->   "\e/+R+e&I.'Al\e/+ $1"
/\bsend read receipts\b/i   -->   "\e/+sEnd_R+Ed_R+I.'sits\e/+"
/\bwar of 1812\b/i   -->   "\e/+'wOR+_$v_'e&I.tin_'twElv\e/+"
/\bwound(-| )up(?=\.|!|\?)\b/   -->   "\e/+'wa&Und_'^p\e/+"
/\bSerie A\b/i   -->  "\e/+'sE&$.R+i.$_'A\e/+"
/\bPAP\b/   -->   "\e/+'pi_'e&I_'pi\e/+"
/\bNUS\b/   -->   "\e/+'En_'ju_'Es\e/+"
/\b(?<=Axwell) Λ Ingrosso\b/i   -->   "$1 and \e/+In.'gR+o&U.so&U\e/+"
/\bOHL\b/   -->   "\e/+'o&U_'e&It&S_'El\e/+"
/\bwhat's the 411\b/i   -->   "what's the four one one"
/\b([0-9]{1,3})-([0-9]{1,3})\b/   -->   "$1 $2" #ensure dash in sports scores not read

# Top cricketer names
/\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/+"
/\bJosh Hazlewood\b/   -->   "\e/+'d&ZA+S_'he&I.z$l.wUd\e/+"
/\bMashrafe Mortaza\b/   -->   "\e/+m$S.'R+Afi_'mOR+.t$.z$\e/+"
/\bAaron Finch\b/   -->   "\e/+'@.R+$n_'fInt&S\e/+"
/\bMS Dhoni\b/   -->   "\e/+'Em_'Es_'Do&U.ni\e/+"
/\bRoss Taylor\b/   -->   "\e/+'R+A+s_'te&I.l$R+\e/+"
/\bDavid Elgar\b/   -->   "\e/+'de&I.vId_'El.g$R+\e/+"
/\bJos Butler\b/   -->   "\e/+d&ZA+s_'b^t.l$R+\e/+"
/\bEoin Morgan\b/   -->   "\e/+'o&U.In_'mOR+.g$n\e/+"
/\bSarfraz Ahmed\b/   -->   "\e/+s@Rf.'R+@z_'A.m$d\e/+"
/\bSamiullah Shenwari\b/   -->   "\e/+s^.mi.'^.l$_'SEn.wA.R+i\e/+"
/\bMorne Morkel\b/   -->   "\e/+'mOR+.ni_'mOR+.kl%)\e/+"
/\bIshant Sharma\b/   -->   "\e/+i.'SAnt_'SAR+.m$\e/+"
/\bShikhar Dhawan\b/   -->   "\e/+'SIk.hU_'dA.wUn\e/+"
/\bQutu?b Minar\b/   -->   "\e/+kU.'tUb_mI.'nA\e/+"
#
/\b(\d{2})" iPad\b/   -->   " $1 inch iPad "
/\b(\d{2})\.5" iPad\b/   -->   " $1 point five inch iPad "

#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/+"
/(\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"
