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.

ur_rules 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. // This file is UTF8 encoded
  2. // Spelling to phoneme rules for Urdu
  3. .replace
  4. ٠ 0
  5. ١ 1
  6. ٢ 2
  7. ٣ 3
  8. ٤ 4
  9. ٥ 5
  10. ٦ 6
  11. ٧ 7
  12. ٨ 8
  13. ٩ 9
  14. // vowel signs, alif is silent at start of word if these follow
  15. .L01 َ ِ ُ و ی ع ا
  16. // VOWELS
  17. .group َ
  18. َ a
  19. َی E
  20. َے E
  21. َو O
  22. َع a:
  23. .group ِ
  24. ِ I
  25. ِی i:
  26. ِع i:
  27. .group ُ
  28. ُ U
  29. ُو u:
  30. ُع O
  31. .group ھ
  32. ھ H
  33. .group ا
  34. ا a:
  35. _) ا (L01 // silent before a vowel
  36. _) ا a
  37. _) او u:
  38. _) ای i:
  39. .group آ
  40. آ a:
  41. .group ع
  42. ع a:
  43. عا a:
  44. _) ع a
  45. .group و
  46. و o:
  47. وُ u:
  48. وٗ u:
  49. و (L01 v
  50. _) و v
  51. .group ی
  52. ی e:
  53. ی (L01 j
  54. ی (_ i:
  55. _) ی j
  56. .group ے // yeh barree
  57. ے e:
  58. // with hamza
  59. .group ئ
  60. ئ
  61. .group ؤ
  62. ؤ aU // ??
  63. .group أ
  64. أ // ??
  65. // CONSONANTS
  66. .group ب
  67. ب b
  68. بھ bh
  69. .group پ
  70. پ p
  71. پھ ph
  72. .group ت
  73. ت t
  74. تھ th
  75. .group ٹ
  76. ٹ t.
  77. ٹھ th.
  78. .group ث
  79. ث s
  80. .group ج
  81. ج J
  82. جھ Jh
  83. .group چ
  84. چ c
  85. چھ ch
  86. .group ح
  87. ح H
  88. .group خ
  89. خ x
  90. .group د
  91. د d
  92. دھ dh
  93. .group ڈ
  94. ڈ d.
  95. ڈھ dh.
  96. .group ذ
  97. ذ D
  98. .group ر
  99. ر R
  100. .group ڑ
  101. ڑ r.
  102. .group ز
  103. ز z
  104. .group ژ
  105. ژ Z
  106. .group س
  107. س s
  108. .group ش
  109. ش S
  110. .group ص
  111. ص s.
  112. .group ض
  113. ض z
  114. .group ط
  115. ط t
  116. طھ th
  117. .group ظ
  118. ظ z.
  119. .group غ
  120. غ Q
  121. .group ف
  122. ف f
  123. .group ق
  124. ق q
  125. .group ک
  126. ک k
  127. کھ kh
  128. .group گ
  129. گ g
  130. گھ gh
  131. .group ل
  132. ل l
  133. .group م
  134. م m
  135. .group ن
  136. ن n
  137. .group ں
  138. ں n // this should nasalize the vowel
  139. .group ء
  140. ء
  141. .group ہ
  142. ہ H
  143. ہ (_ a
  144. .group 0xe0a4 // devanagari
  145. \340\244 _^_HI // switch to hindi voice
  146. .group 0xe0a5 // devanagari
  147. \340\245 _^_HI
  148. .group
  149. $ do:l@R