[header]
language = SPM
charset = utf-8

[data]
# Avoid end of sentence detection for a German ordinal number (1 or 2 digits) followed by a capital letter.
!(\s+[Dd]es\s+\d{1,2})\.(\s+[A-Z])!   -->   "$1 $2"
#
# Work around end of sentence detection for multiword abbreviation "Unid. Hab"
!(\b)[Uu]nid\.\s+[hH]ab([\.\s+]|$)!   -->   "$1Unidad Habitacional "
!(\b)[Uu]nid\.\s+[hH]ab(\b)!   -->   "$1Unidad Habitacional $2"
#
# Don't pronounce B as "be grande" when followed by digits
!(\b)B(\d+)(\b)!   -->   "$1\x1b/+be\x1b/+$2$3"
#
#
#
# avoid '.' at the end when an audio file is inserted
!(audio=\".*\"\\)+(\.)!   -->   "$1"

# 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 "

