;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<--CSLU-->;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;                                                                        ;;
              Center for Spoken Language Understanding                    ; ; 
         Oregon Graduate Institute of Science & Technology                ; ; 
                          Portland , OR USA                                ; ; 
                         Copyright ( c ) 1999                               ; ; 
;;                                                                        ;;
       This module is not part of the CSTR / University of Edinburgh        ; ; 
;;               release of the Festival TTS system.                      ;;
;;                                                                        ;;
;;  In addition to any conditions disclaimers below, please see the file  ;;
   " license_cslu_tts.txt " distributed with this software for information   ; ; 
;;  on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES.  ;;
;;                                                                        ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<--CSLU-->;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
   Letter to sound rules for Mexican Spanish 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
    Letter to sound rules for spanish 
    Got these from Alistair , which obvious are derived from 
                      , 
                   University of Nijmegen 
                   Department of Language and Speech 
;;;   But have been updated too.
;;;
;;;   Not sure about the copyright position
;;;

(lts.ruleset
;  Name of rule set
 span_mx
;  Sets used in the rules
(
  (LNS l n s )
  (AEIOU a e i o u )
  (AEO a e o )
  (EI e i )
  (BDGLMN b d g l m n )
  (C b c d f g j k l m n p q r s t v w x y z )
  (TILDE "~")
  (ACCENT "'")
  (STOP t p k b d g )
  (I i I )
  (IA  Í í)
  (O o O )
  (OA  Ô ó )
  (E e E )
  (EA ‰ Ð é É )
)
;  Rules
;; aec changed accents to follow vowels
(
 ( [ a "'" ] = a1 )
 ( [ e "'" ] = e1 )
 ( [ i "'" ] = i1 )
 ( [ o "'" ] = o1 )
 ( [ u "'" ] = u1 )

 ( [ á ] = a1 )
 ( [ ß ] = a1 )
 ( [ é ] = e1 )
 ( [ ‰ ] = e1 ) 
 ( [ í ] = i1 )
 ( [  ] = i1 )
 ( [ ó ] = o1 )
 ( [  ] = o1 )
 ( [ ú ] = u1 )
 ( [ ” ] = u1 )

 ( [ Â ] = a1 )
 ( [ É ] = e1 )
 ( [ Ð ] = e1 )
 ( [ Í ] = i1 )
 ( [ Ô ] = o1 )
 ( [ õ ] = u1 )

 ( [ ñ ] = ny )
 ( [ ± ] = ny )
 ( [ Ñ ] = ny )
 ( [ Ò ] = ny )
 ( [ n y ] = ny )
 ( [ n "~" ] = ny ) 
 ( [ N "~" ] = ny ) 

 ( [ u ":" ] I = w i ) 
 ( [ u ":" ] IA = w i1 ) 
 ( [ ’ ] I = w i )
 ( [ › ] I = w i )
 ( [ ’ ] IA = w i1 )
 ( [ › ] IA = w i1 )
 ( [ ü ] IA = w i1 )
 ( [ Ü ] IA = w i1 )
 ( [ ü ] I = w i )
 ( [ Ü ] I = w i )

 ( [ u ":" ] O = w o )
 ( [ u ":" ] OA = w o1 )
 ( [ ’ ] O = w o )
 ( [ › ] O = w o )
 ( [ ’ ] OA = w o1 )
 ( [ › ] OA = w o1 )
 ( [ ü ] OA = w o1 )
 ( [ Ü ] OA = w o1 )
 ( [ ü ] O = w o )
 ( [ Ü ] O = w o )

 ( [ u ":" ] E = w e ) 
 ( [ u ":" ] EA = w e1 )
 ( [ ’ ] E = w e )
 ( [ › ] E = w e )
 ( [ ’ ] EA = w e1 )
 ( [ › ] EA = w e1 )
 ( [ ü ] EA = w e1 )
 ( [ Ü ] EA = w e1 )
 ( [ ü ] E = w e )
 ( [ Ü ] E = w e )



 ( rr [ u ] AEIOU = u )
 ( # r [ u ] AEIOU = u )

 ( [ u ] AEIOU = w )
 ( [ u ] = u )
 ( [ a ] = a )
 ( [ e ] = e )
 ( [ i ] = i )
 ( [ o ] = o )
 
 ( [ b ] = b )
 ( [ v ] = b )
 ( [ c ] EI "'" = s )
 ( [ c ] EI = s )
 ( [ c h ] = tS )
 ( [ c ] = k )
 ( [ d ] = d )
 ( [ f ] = f )
 ( [ g ] EI "'" = x )
 ( [ g ] EI = x )
 ( [ g u ] EI "'" = g )
 ( [ g u ] EI = g )
 ( [ g - ] u EI "'" =  )
 ( [ g - ] u EI =  )
 ( [ g u ] a = w )
 ( [ g ] = g )
 ( [ h u e ] = u e )
 ( [ h i e ] = i e )
 ( [ h ] =  )
 ( [ j ] = x )
 ( [ k ] = k )
;; ( [ l l ] = dZ )
 ( [ l l ] = j )
 ( [ l ] = l )
 ( [ m ] = m )
 ( [ n  g ]  = N g ) ;; comment out this line to remove N sound - aec
 ( [ n ] = n )
 ( [ p ] = p )
 ( [ q u ] = k )
 ( [ r r ] = rr )
 ( # [ r ] = rr )
 ( LNS [ r ] = rr )
 ( [ r ] = r )
 ( # [ s t ] = e s t )
 ( [ s ] = s )
 ( [ t ] = t )
 ( [ w ] = u )
 ( [ x ] = k s )
;; ( [ x ] = x )
 ( [ y ] # = i1 )

;; ( [ y ] = dZ )

 ( [ y ] = j )

 ( [ z ] = s )
))

(provide 'cslu_span_mx_lts)




<--CSLU-->;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                                                                        ;;
 ; 
 ; 
 ; 
 ; 
                                                                        ;;
 ; 
               release of the Festival TTS system.                      ;;
                                                                        ;;
  In addition to any conditions disclaimers below, please see the file  ;;
 ; 
  on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES.  ;;
                                                                        ;;
<--CSLU-->;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;




   But have been updated too.

   Not sure about the copyright position

  Name of rule set
  Sets used in the rules
  Rules
 aec changed accents to follow vowels
 ( [ l l ] = dZ )
 comment out this line to remove N sound - aec
 ( [ x ] = x )
 ( [ y ] = dZ )


   Letter to sound rules for Mexican Spanish 
    Letter to sound rules for spanish 
    Got these from Alistair , which obvious are derived from 
                      , 
                   University of Nijmegen 
                   Department of Language and Speech 

(lts.ruleset
 span_mx
(
  (LNS l n s )
  (AEIOU a e i o u )
  (AEO a e o )
  (EI e i )
  (BDGLMN b d g l m n )
  (C b c d f g j k l m n p q r s t v w x y z )
  (TILDE "~")
  (ACCENT "'")
  (STOP t p k b d g )
  (I i I )
  (IA  Í í)
  (O o O )
  (OA  Ô ó )
  (E e E )
  (EA ‰ Ð é É )
)
(
 ( [ a "'" ] = a1 )
 ( [ e "'" ] = e1 )
 ( [ i "'" ] = i1 )
 ( [ o "'" ] = o1 )
 ( [ u "'" ] = u1 )

 ( [ á ] = a1 )
 ( [ ß ] = a1 )
 ( [ é ] = e1 )
 ( [ ‰ ] = e1 ) 
 ( [ í ] = i1 )
 ( [  ] = i1 )
 ( [ ó ] = o1 )
 ( [  ] = o1 )
 ( [ ú ] = u1 )
 ( [ ” ] = u1 )

 ( [ Â ] = a1 )
 ( [ É ] = e1 )
 ( [ Ð ] = e1 )
 ( [ Í ] = i1 )
 ( [ Ô ] = o1 )
 ( [ õ ] = u1 )

 ( [ ñ ] = ny )
 ( [ ± ] = ny )
 ( [ Ñ ] = ny )
 ( [ Ò ] = ny )
 ( [ n y ] = ny )
 ( [ n "~" ] = ny ) 
 ( [ N "~" ] = ny ) 

 ( [ u ":" ] I = w i ) 
 ( [ u ":" ] IA = w i1 ) 
 ( [ ’ ] I = w i )
 ( [ › ] I = w i )
 ( [ ’ ] IA = w i1 )
 ( [ › ] IA = w i1 )
 ( [ ü ] IA = w i1 )
 ( [ Ü ] IA = w i1 )
 ( [ ü ] I = w i )
 ( [ Ü ] I = w i )

 ( [ u ":" ] O = w o )
 ( [ u ":" ] OA = w o1 )
 ( [ ’ ] O = w o )
 ( [ › ] O = w o )
 ( [ ’ ] OA = w o1 )
 ( [ › ] OA = w o1 )
 ( [ ü ] OA = w o1 )
 ( [ Ü ] OA = w o1 )
 ( [ ü ] O = w o )
 ( [ Ü ] O = w o )

 ( [ u ":" ] E = w e ) 
 ( [ u ":" ] EA = w e1 )
 ( [ ’ ] E = w e )
 ( [ › ] E = w e )
 ( [ ’ ] EA = w e1 )
 ( [ › ] EA = w e1 )
 ( [ ü ] EA = w e1 )
 ( [ Ü ] EA = w e1 )
 ( [ ü ] E = w e )
 ( [ Ü ] E = w e )



 ( rr [ u ] AEIOU = u )
 ( # r [ u ] AEIOU = u )

 ( [ u ] AEIOU = w )
 ( [ u ] = u )
 ( [ a ] = a )
 ( [ e ] = e )
 ( [ i ] = i )
 ( [ o ] = o )
 
 ( [ b ] = b )
 ( [ v ] = b )
 ( [ c ] EI "'" = s )
 ( [ c ] EI = s )
 ( [ c h ] = tS )
 ( [ c ] = k )
 ( [ d ] = d )
 ( [ f ] = f )
 ( [ g ] EI "'" = x )
 ( [ g ] EI = x )
 ( [ g u ] EI "'" = g )
 ( [ g u ] EI = g )
 ( [ g - ] u EI "'" =  )
 ( [ g - ] u EI =  )
 ( [ g u ] a = w )
 ( [ g ] = g )
 ( [ h u e ] = u e )
 ( [ h i e ] = i e )
 ( [ h ] =  )
 ( [ j ] = x )
 ( [ k ] = k )
 ( [ l l ] = j )
 ( [ l ] = l )
 ( [ m ] = m )
 ( [ n ] = n )
 ( [ p ] = p )
 ( [ q u ] = k )
 ( [ r r ] = rr )
 ( # [ r ] = rr )
 ( LNS [ r ] = rr )
 ( [ r ] = r )
 ( # [ s t ] = e s t )
 ( [ s ] = s )
 ( [ t ] = t )
 ( [ w ] = u )
 ( [ x ] = k s )
 ( [ y ] # = i1 )


 ( [ y ] = j )

 ( [ z ] = s )
))

(provide 'cslu_span_mx_lts)



