# Ruleset for Yosemite (Vocalizer Expressive) # # Copyright (c) 2013 Nuance Communications, Inc. All Rights Reserved. # #RLSTAG: RLS_FE.ENG_6.1.1 # #shared between Portfolio and Custom voices # [header] language = ENG charset = utf-8 [data] /(\d{2})(\d{2})\s*-\s*(\d{2})\b/ --> "$1$2 to $1$3" /"Ms\.\s/ --> "Ms " /"\)/ --> ")" / - (\D)/ --> " ; $1" / \(Live\)/i --> " ;live " / \(Bonus Track Version\)/i --> " ; bonus track version " / \(Deluxe Version\)/i --> " ; Deluxe Version " / \(Remastered\)/i --> " ; Remastered " /E=MC²/ --> "E=MC squared" /\$[Pp]yda/ --> "spyda" # # these might be covered in a music-specific text-conditioning rule in Voice Control /\bfeat\./i --> "featuring" /\bfeat /i --> "featuring" #53952 /\b[Ss]ana'a\b/ --> /sanaa/ # /\b(?i)queen elizabeth ii\b/ --> "queen elizabeth the second" # HI area /\bHI area\b/ --> "H I area" # #FB23575 /xcrun/ --> "X C run" # #FB35994 /(I don't understand) '([A-Za-z0-9]+(?:\s[A-Za-z0-9]+)*)'/ --> "$1 \x1b\\pause=50\\$2" # /\b(?i)iMovie\b/ --> "i Movie" /\b(?i)iGadgets\b/ --> "i gadgets" /\b(?i)iMessage\b/ --> "i Message" /\b(?i)iMessages\b/ --> "i Messages" /\b(?i)iDisk\b/ --> "i Disk" /\bSANE\b/ --> "sane" /\b(i)ZZ Top\b/ --> "ZiZi top" /\b(?i)iChat\b/ --> "i Chat" /\b(?i)iSight\b/ --> "i Sight" /\b(?i)iWork\b/ --> "i Work" /\b(?i)ePaper\b/ --> "e Paper" /\b(?i)Trust III\b/ --> "Trust three" /\bRobert Downey Jr\b/ --> "Robert Downey Junior" /\bSiri-ous\b/ --> "Siri ous" # Live Wire /\b(?i)Live Wire\b/ --> "\e\\toi=lhp:Live Wire\\'la&Iv_'wa&I.$R\e\\toi=orth\\" /\b(?i)LiveWire\b/ --> "\e\\toi=lhp:LiveWire\\'la&Iv.'wa&I.$R\e\\toi=orth\\" # The Best of Rifftrax Live /\b(?i)['‘]?The Best of Rifftrax Live['‘]?\b/ --> "\e\\toi=lhp:The Best of Rifftrax Live\\'D$_'bEst_'$v_'R+If.tR+@ks_'la&Iv\e\\toi=orth\\" # /\bADI\b/ --> "A D I" /\bTexnet-It\b/ --> "Texnet I T" /\bLOM\b/ --> "L O M" /\bEinstein's\b/ --> "Einsteins" /\bPOST\b/ --> "P O S T" # #radar16856211_fb54433 /\bPiccadily\b/ --> Piccadilly # #FB48072/FB48073 /\b(apple\.com)\/au/i --> "$1 \x1b\\pause=50\\ slash A U" /\b(apple\.com)\/uk/i --> "$1 \x1b\\pause=50\\ slash U K" /\b(apple\.com)\/us/i --> "$1 \x1b\\pause=50\\ slash U S" # /\b(?i)Eiffel\b/ --> \e\\toi=lhp:Eiffel\\'a&I.f$l\e\\toi=orth\\ /\b(?i)TriCorder/ --> \e\\toi=lhp:TriCorder\\'tR+a&I.kOR+.d$R+\e\\toi=orth\\ /\b(?i)Tarpley\b/ --> \e\\toi=lhp:Tarpley\\'tAR+.pli\e\\toi=orth\\ /\b(?i)Tatham\b/ --> \e\\toi=lhp:Tatham\\'t@t.$m\e\\toi=orth\\ /\b(?i)Einstein\b/ --> \e\\toi=lhp:Einstein\\'a&In.sta&In\e\\toi=orth\\ /\b(?i)Einsteins\b/ --> \e\\toi=lhp:Einsteins\\'a&In.sta&Inz\e\\toi=orth\\ /\b(?i)colearning\b/ --> \e\\toi=lhp:colearning\\ko&U.'lE0.nInK\e\\toi=orth\\ /\b(?i)calendar\b/ --> \e\\toi=lhp:calendar\\'k@.lIn.d$\e\\toi=orth\\ /\b(?i)forehead\b/ --> \e\\toi=lhp:forehead\\'fA+.R+Id\e\\toi=orth\\ /\b(?i)Ronaldinho\b/ --> \e\\toi=lhp:Ronaldinho\\R+o&U.n$l.'di.njU\e\\toi=orth\\ #ENG_YOSEMITE_PROMPTS BEGIN# # address # Modified following rule to avoid wrong insertion tag to "Call out for a whisky on the rocks, then sit down with Van Pattenburg.", # which would lead to wrong pronunciation of "a" #/(\bCall) ([^\x1b]+)/ --> "$1 \x1b\\tn=address\\$2\x1b\\tn=normal\\" /(\bCall) ([^a-z][^\x1b]+)/ --> "$1 \x1b\\tn=address\\$2\x1b\\tn=normal\\" /(\bSorry, I couldn't find) ([^\x1b]+)/ --> "$1 \x1b\\tn=address\\$2\x1b\\tn=normal\\" /(\b[Yy]ou're near) ([^\x1b]+)/ --> "$1 \x1b\\tn=address\\$2\x1b\\tn=normal\\" /(\bI can't get any information about) ([^\x1b]+)/ --> "$1 \x1b\\tn=address\\$2\x1b\\tn=normal\\" /(\bbut here's) ([^\x1b]+)/ --> "$1 \x1b\\tn=address\\$2\x1b\\tn=normal\\" /(\bI didn't find any [\w]+ near) ([^\x1b]+)/ --> "$1 \x1b\\tn=address\\$2\x1b\\tn=normal\\" /(\bI don't see any [\w]+ near) ([^\x1b]+)/ --> "$1 \x1b\\tn=address\\$2\x1b\\tn=normal\\" /(\bLocating) ([^\x1b]+)/ --> "$1 \x1b\\tn=address\\$2\x1b\\tn=normal\\" /(Sorry, I couldn't find )(.+ in [A-Z][^\x1b]+)/ -->"$1\x1b\\tn=address\\$2\x1b\\tn=normal\\" /(any information about )([^\x1b]+)/ -->"$1\x1b\\tn=address\\$2\x1b\\tn=normal\\" # Remove address tag wrongly inserted to e.g. # "Call Waiting ID requires a special display device purchased separately." # "Finally, for Call Trace press 1-0, Distinctive Ring press 1-1, and for Inside wire maintenance press 1-2." # to avoid wrong pronuncationi of "a", "-" (as shown in full regressioin test) /(\bCall) \x1b\\tn=address\\(((Waiting)|(Trace))[^\x1b]+)\x1b\\tn=normal\\/ --> "$1 $2" #stock /(\bThe stock is) ([^\x1b]+)/ --> "$1 \x1b\\tn=stock\\$2\x1b\\tn=normal\\" /(\bThe ticker symbol for) ([^\x1b]+)/ --> "$1 \x1b\\tn=stock\\$2\x1b\\tn=normal\\" /(\bThe P\/E ratio for) ([^\x1b]+)/ --> "$1 \x1b\\tn=stock\\$2\x1b\\tn=normal\\" /(\bThe market capitalization for) ([^\x1b]+)/ --> "$1 \x1b\\tn=stock\\$2\x1b\\tn=normal\\" /(\bThe trading volume for) ([^\x1b]+)/ --> "$1 \x1b\\tn=stock\\$2\x1b\\tn=normal\\" /(\bI .+ the stock) ([^\x1b]+)/ --> "$1 \x1b\\tn=stock\\$2\x1b\\tn=normal\\" /(\bI can't tell you the price of) ([^\x1b]+)/ --> "$1 \x1b\\tn=stock\\$2\x1b\\tn=normal\\" /(\bI'm afraid I can't tell you what) ([^\x1b]+)/ --> "$1 \x1b\\tn=stock\\$2\x1b\\tn=normal\\" /(\bHere's where) ([^\x1b]+)/ --> "$1 \x1b\\tn=stock\\$2\x1b\\tn=normal\\" /(\bHere's what I have for) ([^\x1b]+)/ --> "$1 \x1b\\tn=stock\\$2\x1b\\tn=normal\\" /(\bHere's the latest for) ([^\x1b]+)/ --> "$1 \x1b\\tn=stock\\$2\x1b\\tn=normal\\" /(\bHere's the chart for) ([^\x1b]+)/ --> "$1 \x1b\\tn=stock\\$2\x1b\\tn=normal\\" /(\bHere is the symbol for) ([^\x1b]+)/ --> "$1 \x1b\\tn=stock\\$2\x1b\\tn=normal\\" /(\bThe low price for) ([^\x1b]+)/ --> "$1 \x1b\\tn=stock\\$2\x1b\\tn=normal\\" /(\bThe high price for) ([^\x1b]+)/ --> "$1 \x1b\\tn=stock\\$2\x1b\\tn=normal\\" /(\bopening price) ([^\x1b]+)/ --> "$1 \x1b\\tn=stock\\$2\x1b\\tn=normal\\" /(\bI don't have information on) ([^\x1b]+)/ --> "$1 \x1b\\tn=stock\\$2\x1b\\tn=normal\\" /([A-Z]+ \- .+) (is|closed) (at|down|up) ([^\x1b]+)/ --> "\x1b\\tn=stock\\$1 \x1b\\tn=normal\\$2 $3 $4" # Country-specific inputs, not integrated for now #state #/(forecast|[Ww]eather|weather's|looks|temperature|raining|nice|now|cold|wet|snowing|rain|clear|snow|icy|windy|hot|good|low|high|humidity index|barometric pressure|dewpoint|coming up|info|I'm not|°) (in|for|around|from) ([^,]+), ([A-Z]{2})(, US)?/ --> "$1 $2 $3, \x1b\\tn=state\\$4$5$6\x1b\\tn=normal\\" #/([ap]m|days|[^ ]*day|tonight|evening|tomorrow|restaurant|restaurants|theaters|movies|hotels|playing|what I've got) (in|for|around|from) ([^,]+), ([A-Z]{2})(, US)?/ --> "$1 $2 $3, \x1b\\tn=state\\$4$5$6\x1b\\tn=normal\\" #/(\bIn [^,]+), ([A-Z]{2})(, US)? (today)/ --> "$1, \x1b\\tn=state\\$2$3\x1b\\tn=normal\\$4" #/(\b[^,]+), ([A-Z]{2})(, US)? (should see|will see|should get some)/ --> "$1, \x1b\\tn=state\\$2$3\x1b\\tn=normal\\$4" #/(\b[^,]+), ([A-Z]{2}'s) (humidity index)/ --> "$1, \x1b\\tn=state\\$2\x1b\\tn=normal\\$3" #/(starring .+ in [^,]+), ([A-Z]{2})(, US)?/ --> "$1, \x1b\\tn=state\\$2$3\x1b\\tn=normal\\" #/(at [^,]+), ([A-Z]{2}) (weather)/ --> "$1, \x1b\\tn=state\\$2 \x1b\\tn=normal\\$3" #/(\bfar from [^,]+), ([A-Z]{2})(, US)?/ --> "$1, \x1b\\tn=state\\$2$3\x1b\\tn=normal\\" #/(\bclose to [^,]+), ([A-Z]{2})(, US)?/ --> "$1, \x1b\\tn=state\\$2$3\x1b\\tn=normal\\" #/(\bfound )(.+)(restaurants|hotels|movies|theaters)( in )([A-Z]{2})(, US)?/ --> "$1$2$3$4 \x1b\\tn=state\\$5$6\x1b\\tn=normal\\" #sport scores /(\bThe [A-Z][a-z]+)( [A-Z][a-z]+)? (were|are|finished at|the season) (currently )?([0-9]{1,3})[\-–]([0-9]{1,3}\b)/ --> "$1$2 $3 $4$5 and $6" #ENG_YOSEMITE_PROMPTS END#