ph_indonesian 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. phoneme @
  2. vwl starttype #@ endtype #@
  3. unstressed
  4. length 140
  5. IF prevPh(@) THEN
  6. InsertPhoneme(_|)
  7. ENDIF
  8. FMT(vowel/@_low)
  9. endphoneme
  10. phoneme a
  11. vwl starttype #a endtype #a
  12. length 180
  13. IF prevPh(a) THEN
  14. InsertPhoneme(_|)
  15. ENDIF
  16. ChangeIfUnstressed(a/)
  17. FMT(vowel/a)
  18. endphoneme
  19. phoneme E
  20. vwl starttype #e endtype #e
  21. length 180
  22. IF prevPh(#e) THEN
  23. InsertPhoneme(_|)
  24. ENDIF
  25. ChangeIfUnstressed(@)
  26. FMT(vowel/e_mid)
  27. endphoneme
  28. phoneme E2 // as [E] but don't reduce to [@]
  29. vwl starttype #e endtype #e
  30. length 180
  31. IF prevPh(#e) THEN
  32. InsertPhoneme(_|)
  33. ENDIF
  34. FMT(vowel/e_mid)
  35. endphoneme
  36. phoneme e
  37. vwl starttype #e endtype #e
  38. length 180
  39. IF prevPh(#e) THEN
  40. InsertPhoneme(_|)
  41. ENDIF
  42. FMT(vowel/e)
  43. endphoneme
  44. phoneme i
  45. vwl starttype #i endtype #i
  46. length 180
  47. IF prevPh(i) THEN
  48. InsertPhoneme(_|)
  49. ENDIF
  50. FMT(vowel/i_6)
  51. endphoneme
  52. phoneme O
  53. vwl starttype #o endtype #o
  54. length 180
  55. IF prevPh(#o) THEN
  56. InsertPhoneme(_|)
  57. ENDIF
  58. FMT(vowel/oo)
  59. endphoneme
  60. phoneme o
  61. vwl starttype #o endtype #o
  62. length 180
  63. IF prevPh(#o) THEN
  64. InsertPhoneme(_|)
  65. ENDIF
  66. FMT(vowel/o)
  67. endphoneme
  68. phoneme u
  69. vwl starttype #u endtype #u
  70. length 180
  71. IF prevPh(u) THEN
  72. InsertPhoneme(_|)
  73. ENDIF
  74. FMT(vowel/u)
  75. endphoneme
  76. phoneme aI
  77. vwl starttype #a endtype #i
  78. length 240
  79. IF prevPh(isVowel) THEN
  80. InsertPhoneme(_|)
  81. ENDIF
  82. IF nextPh(isVowel) THEN
  83. AppendPhoneme(_|)
  84. ENDIF
  85. FMT(vdiph/ai)
  86. endphoneme
  87. phoneme eI
  88. vwl starttype #e endtype #i
  89. length 240
  90. FMT(vdiph/eei_2)
  91. endphoneme
  92. phoneme OI
  93. vwl starttype #o endtype #i
  94. length 240
  95. IF prevPh(isVowel) THEN
  96. InsertPhoneme(_|)
  97. ENDIF
  98. IF nextPh(isVowel) THEN
  99. AppendPhoneme(_|)
  100. ENDIF
  101. FMT(vdiph/ooi)
  102. endphoneme
  103. phoneme aU
  104. vwl starttype #a endtype #u
  105. length 240
  106. IF prevPh(isVowel) THEN
  107. InsertPhoneme(_|)
  108. ENDIF
  109. IF nextPh(isVowel) THEN
  110. AppendPhoneme(_|)
  111. ENDIF
  112. FMT(vdiph/au_4)
  113. endphoneme
  114. phoneme @U
  115. vwl starttype #@ endtype #u
  116. length 240
  117. FMT(vdiph/@u_en)
  118. endphoneme
  119. phoneme d // English [d]
  120. import_phoneme base1/d
  121. voicingswitch t
  122. endphoneme