# 3-letter language code as used in user dictionaries

[header]
language = SPE
charset = utf-8

[data]
#
# replace slash with 100ms pause to avoid slash being read out literally (Bug JIRA: GI-704)
!(\D\d+)\/(\D\d+)!    -->   " $1 \\pause=100\\ $2 "
!(\D[-]\d+)\/(\D\d+)!    -->   " $1 \\pause=100\\ $2 "
!(\D\d+)\/(\d+)!    -->   " $1 \\pause=100\\ $2 "
!(\D[-]\d+)\/(\d+)!    -->   " $1 \\pause=100\\ $2 "
!(\D\d+)\/(\D[-]\d+)!    -->   " $1 \\pause=100\\ $2 "
!(\D[-]\d+)\/(\D[-]\d+)!    -->   " $1 \\pause=100\\ $2 "
#
# avoid '.' at the end when an audio file is inserted
!(audio=\".*\"\\)+(\.)! --> "$1"
#
# replace the second Dr(.) by drive if there's a second Dr furter in the input.
!([Dd]r\.{0,1}\s+[A-Z].+?\s+)[Dd]r(\b)!   -->   "$1drive$2"
#
# replace 'St' followed by N, W, S, E, NE, NW, SE or SW by 'street'
# avoid missing end of sentence detection (non final abbreviation) in case of a '.' following N,W,S or E
![Ss][tT](\.*)(\s+[NSEW]\b)!   -->   "\x1b/+s.tr6.'it\x1b/+$2"
![Ss][tT](\.*)(\s+[NS][EW])!   -->   "\x1b/+s.tr6.'it\x1b/+$2"
# Replace 'St' followed by a capital letter by 'saint'
![Ss][tT](\.*)(\s+[A-Z])!   -->   "saint$2"
#
# regular expression that switches to normal and then back to address mode
# in order to avoid extension from "L-3" into "Local-3", "N-23" into "Numero23", "S10" into "Sur10", etc ...
!(\b)([A-Z])(\d+)!   -->   "\\tn=normal\\ $2$3 \\tn=address\\"
#
# add pauses between US highway numbers
/\bUS(\-{0,1}|\s*)(\d+)/   -->   "U\x1b\\pause=10\\S\x1b\\pause=10\\ $2"
