ph_bengali 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. //====================================================
  2. // Bengali, inherits from Hindi
  3. //====================================================
  4. phoneme V // inherent vowel, can be [O] or [o]
  5. vwl flag1 starttype #o endtype #o
  6. length 200
  7. IF thisPh(isWordEnd) AND prevPhW(isNotVowel) AND prev2PhW(isVowel) THEN
  8. ChangePhoneme(NULL)
  9. ENDIF
  10. IF thisPh(isFirstVowel) THEN
  11. IF nextVowel(i) OR nextVowel(u) THEN
  12. ChangePhoneme(o)
  13. ENDIF
  14. IF prevPhW(r) AND nextVowel(isVowel) THEN
  15. IF nextVowel(isWordEnd) AND nextVowel(V) THEN
  16. ELSE
  17. ChangePhoneme(o)
  18. ENDIF
  19. ENDIF
  20. ENDIF
  21. ChangePhoneme(O)
  22. endphoneme
  23. phoneme a
  24. vwl starttype #a endtype #a
  25. length 225
  26. IF thisPh(isWordEnd) AND thisPh(isUnstressed) THEN
  27. FMT(vowel/a#_2)
  28. ENDIF
  29. FMT(vowel/a_3)
  30. endphoneme
  31. phoneme i
  32. vwl starttype #i endtype #i
  33. length 210
  34. FMT(vowel/i_6)
  35. endphoneme
  36. phoneme u
  37. vwl starttype #u endtype #u
  38. length 210
  39. FMT(vowel/u)
  40. endphoneme
  41. phoneme e
  42. vwl starttype #e endtype #e
  43. length 210
  44. FMT(vowel/e)
  45. endphoneme
  46. phoneme &
  47. vwl starttype #a endtype #a
  48. length 210
  49. FMT(vowel/&_2)
  50. endphoneme
  51. phoneme o
  52. vwl starttype #o endtype #o
  53. length 210
  54. IF nextPhW(w) THEN
  55. length 170
  56. ENDIF
  57. FMT(vowel/o)
  58. endphoneme
  59. phoneme O
  60. vwl starttype #o endtype #o
  61. length 200
  62. FMT(vowel/oo_5)
  63. endphoneme
  64. phoneme tS
  65. vls pla afr sib
  66. voicingswitch dZ
  67. lengthmod 2
  68. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  69. IF nextPh(isPause2) THEN
  70. WAV(ustop/tsh_unasp2)
  71. ENDIF
  72. WAV(ustop/tsh_unasp2)
  73. endphoneme
  74. phoneme tS#
  75. vls pla afr sib
  76. voicingswitch dZ
  77. lengthmod 2
  78. Vowelin f1=0 f2=2300 200 400 f3=-100 80
  79. IF nextPh(isPause2) THEN
  80. WAV(ustop/tsh_)
  81. ENDIF
  82. WAV(ustop/tsh)
  83. endphoneme
  84. phoneme ~
  85. virtual
  86. endphoneme