eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ph_bengali 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. //====================================================
  2. // Bengali, inherits from Hindi
  3. //====================================================
  4. phoneme V // inherent vowel, can be [O] or [o]
  5. vowel 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. vowel starttype #a endtype #a
  25. length 225
  26. FMT(vowel/a_3)
  27. endphoneme
  28. phoneme i
  29. vowel starttype #i endtype #i
  30. length 210
  31. FMT(vowel/i_6)
  32. endphoneme
  33. phoneme u
  34. vowel starttype #u endtype #u
  35. length 210
  36. FMT(vowel/u)
  37. endphoneme
  38. phoneme e
  39. vowel starttype #e endtype #e
  40. length 210
  41. FMT(vowel/e)
  42. endphoneme
  43. phoneme &
  44. vowel starttype #a endtype #a
  45. length 210
  46. FMT(vowel/&_2)
  47. endphoneme
  48. phoneme o
  49. vowel starttype #o endtype #o
  50. length 210
  51. IF nextPhW(w) THEN
  52. length 170
  53. ENDIF
  54. FMT(vowel/o)
  55. endphoneme
  56. phoneme O
  57. vowel starttype #o endtype #o
  58. length 200
  59. FMT(vowel/oo_5)
  60. endphoneme
  61. phoneme tS
  62. import_phoneme base/tS
  63. endphoneme
  64. phoneme tS#
  65. import_phoneme base/tS
  66. endphoneme
  67. phoneme ~
  68. virtual
  69. endphoneme