home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / share / festival / cmusphinx2_phones.scm < prev    next >
Encoding:
Text File  |  2006-12-20  |  5.1 KB  |  120 lines

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;;;                                                                     ;;;
  3. ;;;                     Carnegie Mellon University                      ;;;
  4. ;;;                  and Alan W Black and Kevin Lenzo                   ;;;
  5. ;;;                      Copyright (c) 1998-2000                        ;;;
  6. ;;;                        All Rights Reserved.                         ;;;
  7. ;;;                                                                     ;;;
  8. ;;; Permission is hereby granted, free of charge, to use and distribute ;;;
  9. ;;; this software and its documentation without restriction, including  ;;;
  10. ;;; without limitation the rights to use, copy, modify, merge, publish, ;;;
  11. ;;; distribute, sublicense, and/or sell copies of this work, and to     ;;;
  12. ;;; permit persons to whom this work is furnished to do so, subject to  ;;;
  13. ;;; the following conditions:                                           ;;;
  14. ;;;  1. The code must retain the above copyright notice, this list of   ;;;
  15. ;;;     conditions and the following disclaimer.                        ;;;
  16. ;;;  2. Any modifications must be clearly marked as such.               ;;;
  17. ;;;  3. Original authors' names are not deleted.                        ;;;
  18. ;;;  4. The authors' names are not used to endorse or promote products  ;;;
  19. ;;;     derived from this software without specific prior written       ;;;
  20. ;;;     permission.                                                     ;;;
  21. ;;;                                                                     ;;;
  22. ;;; CARNEGIE MELLON UNIVERSITY AND THE CONTRIBUTORS TO THIS WORK        ;;;
  23. ;;; DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING     ;;;
  24. ;;; ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT  ;;;
  25. ;;; SHALL CARNEGIE MELLON UNIVERSITY NOR THE CONTRIBUTORS BE LIABLE     ;;;
  26. ;;; FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES   ;;;
  27. ;;; WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN  ;;;
  28. ;;; AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,         ;;;
  29. ;;; ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF      ;;;
  30. ;;; THIS SOFTWARE.                                                      ;;;
  31. ;;;                                                                     ;;;
  32. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  33. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  34. ;;;
  35. ;;;  A definition of the cmusphinx2 phone set used in the BU RADIO FM
  36. ;;;  corpus, some people call this the darpa set.  This one
  37. ;;;  has the closures removed
  38. ;;;
  39.  
  40. (defPhoneSet
  41.   cmusphinx2
  42.   ;;;  Phone Features
  43.   (;; vowel or consonant
  44.    (vc + -)  
  45.    ;; vowel length: short long dipthong schwa
  46.    (vlng s l d a 0)
  47.    ;; vowel height: high mid low
  48.    (vheight 1 2 3 0)
  49.    ;; vowel frontness: front mid back
  50.    (vfront 1 2 3 0)
  51.    ;; lip rounding
  52.    (vrnd + - 0)
  53.    ;; consonant type: stop fricative affricate nasal lateral approximant
  54.    (ctype s f a n l r 0)
  55.    ;; place of articulation: labial alveolar palatal labio-dental
  56.    ;;                         dental velar glottal
  57.    (cplace l a p b d v g 0)
  58.    ;; consonant voicing
  59.    (cvox + - 0)
  60.    )
  61.   ;; Phone set members
  62.   (
  63.  
  64.    ;; Note these features were set by awb so they are wrong !!!
  65.  
  66. ; phone vc  vl  vh  vf  vr  ct  cp  cv
  67.    (AA  +   l   3   3   -   0   0   0) ;; father
  68.    (AE  +   s   3   1   -   0   0   0) ;; fat
  69.    (AH  +   s   2   2   -   0   0   0) ;; but
  70.    (AO  +   l   3   3   +   0   0   0) ;; lawn
  71.    (AW  +   d   3   2   -   0   0   0) ;; how
  72.    (AX  +   a   2   2   -   0   0   0) ;; about
  73.    (AXR +   a   2   2   -   r   a   +)
  74.    (AY  +   d   3   2   -   0   0   0) ;; hide
  75.    (B   -   0   0   0   0   s   l   +)
  76.    (CH  -   0   0   0   0   a   p   -)
  77.    (D   -   0   0   0   0   s   a   +)
  78.    (DH  -   0   0   0   0   f   d   +)
  79.    (DX  -   0   0   0   0   s   a   +)
  80.    (EH  +   s   2   1   -   0   0   0) ;; get
  81.    (ER  +   a   2   2   -   r   0   0) 
  82.    (EY  +   d   2   1   -   0   0   0) ;; gate
  83.    (F   -   0   0   0   0   f   b   -)
  84.    (G   -   0   0   0   0   s   v   +)
  85.    (HH  -   0   0   0   0   f   g   -)
  86.    (IH  +   s   1   1   -   0   0   0) ;; bit
  87.    (IY  +   l   1   1   -   0   0   0) ;; beet
  88.    (JH  -   0   0   0   0   a   p   +)
  89.    (K   -   0   0   0   0   s   v   -)
  90.    (L   -   0   0   0   0   l   a   +)
  91.    (M   -   0   0   0   0   n   l   +)
  92.    (N   -   0   0   0   0   n   a   +)
  93.    (NG  -   0   0   0   0   n   v   +)
  94.    (OW  +   d   2   3   +   0   0   0) ;; lone
  95.    (OY  +   d   2   3   +   0   0   0) ;; toy
  96.    (P   -   0   0   0   0   s   l   -)
  97.    (R   -   0   0   0   0   r   a   +)
  98.    (S   -   0   0   0   0   f   a   -)
  99.    (SH  -   0   0   0   0   f   p   -)
  100.    (T   -   0   0   0   0   s   a   -)
  101.    (TH  -   0   0   0   0   f   d   -)
  102.    (UH  +   s   1   3   +   0   0   0) ;; full
  103.    (UW  +   l   1   3   +   0   0   0) ;; fool
  104.    (V   -   0   0   0   0   f   b   +)
  105.    (W   -   0   0   0   0   r   l   +)
  106.    (Y   -   0   0   0   0   r   p   +)
  107.    (Z   -   0   0   0   0   f   a   +)
  108.    (ZH  -   0   0   0   0   f   p   +)
  109.    (SIL -   0   0   0   0   0   0   -) ; added
  110.   )
  111. )
  112.  
  113. (PhoneSet.silences '(SIL))
  114.  
  115. (provide 'cmusphinx2_phones)
  116.  
  117.  
  118.   
  119.  
  120.