mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-05 08:00:36 +00:00
1.46.33 (from http://espeak.sourceforge.net/test/latest.html)
This commit is contained in:
+13
-9
@@ -1,9 +1,9 @@
|
|||||||
|
// This ur_list file is prepared by Him Prasad Gautam (Kathmandu, Nepal)
|
||||||
// This file is UTF8 encoded
|
// This file is UTF8 encoded
|
||||||
// Spelling to phoneme exceptions for Urdu
|
// Letter Names, Numbers and exceptional pronounciation of Urdu
|
||||||
|
|
||||||
|
|
||||||
// Letter names
|
// The Letter names
|
||||||
ا alIf
|
ا alIf
|
||||||
ب be:
|
ب be:
|
||||||
پ pe:
|
پ pe:
|
||||||
@@ -51,14 +51,14 @@
|
|||||||
ُ pe:S
|
ُ pe:S
|
||||||
|
|
||||||
|
|
||||||
// numbers
|
// The numbers
|
||||||
_0 s'IfaR
|
_0 s'IfaR
|
||||||
_1 'e:k
|
_1 'e:k
|
||||||
_2 'do:
|
_2 'do:
|
||||||
_3 t'i:n
|
_3 t'i:n
|
||||||
_4 c'a:R
|
_4 c'a:R
|
||||||
_5 p'a:Nc
|
_5 p'a:Nc
|
||||||
_6 ch'aI
|
_6 ch'eh
|
||||||
_7 s'a:t
|
_7 s'a:t
|
||||||
_8 'a:th
|
_8 'a:th
|
||||||
_9 n'aU
|
_9 n'aU
|
||||||
@@ -83,9 +83,9 @@ _27 sat:a:'i:s
|
|||||||
_28 stha:'i:s
|
_28 stha:'i:s
|
||||||
_29 Unt'i:s
|
_29 Unt'i:s
|
||||||
_30 t'i:s
|
_30 t'i:s
|
||||||
_31 ikt'i:s
|
_31 ikVt'i:s
|
||||||
_32 bat:'i:s
|
_32 bat:'i:s
|
||||||
_33 taINt'i:s
|
_33 t'aINt'i:s
|
||||||
_34 caUNt'i:s
|
_34 caUNt'i:s
|
||||||
_35 paINt'i:s
|
_35 paINt'i:s
|
||||||
_36 chat:'i:s
|
_36 chat:'i:s
|
||||||
@@ -93,7 +93,7 @@ _37 saINt'i:s
|
|||||||
_38 aRt'i:s
|
_38 aRt'i:s
|
||||||
_39 Unta:l'i:s
|
_39 Unta:l'i:s
|
||||||
_40 ca:l'i:s
|
_40 ca:l'i:s
|
||||||
_41 Ikta:l'i:s
|
_41 IkVta:l'i:s
|
||||||
_42 baja:l'i:s
|
_42 baja:l'i:s
|
||||||
_43 te:Nta:l'i:s
|
_43 te:Nta:l'i:s
|
||||||
_44 cava:l'i:s
|
_44 cava:l'i:s
|
||||||
@@ -158,6 +158,10 @@ _0M1 Haz'a:R
|
|||||||
_0M2 l'a:kh
|
_0M2 l'a:kh
|
||||||
_0M3 kaR'o:R
|
_0M3 kaR'o:R
|
||||||
_0M4 'aRab
|
_0M4 'aRab
|
||||||
|
_0M5 'khaRab
|
||||||
_dpt _ISaRI'Ia_
|
_dpt _ISaRI'Ia_
|
||||||
|
|
||||||
jonathan dZ'Onathan
|
|
||||||
|
// Exception of phonemes
|
||||||
|
|
||||||
|
پاکستان p'a:k'i:st'a:n
|
||||||
|
|||||||
+114
-61
@@ -1,7 +1,8 @@
|
|||||||
|
|
||||||
|
// This ur_rules file is written by Him Prasad Gautam (Kathmandu, Nepal).
|
||||||
// This file is UTF8 encoded
|
// This file is UTF8 encoded
|
||||||
// Spelling to phoneme rules for Urdu
|
// phoneme rules for Urdu
|
||||||
|
// Letter group - l01: Vowels
|
||||||
|
|
||||||
.replace
|
.replace
|
||||||
٠ 0
|
٠ 0
|
||||||
@@ -17,9 +18,10 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// vowel signs, alif is silent at start of word if these follow
|
// vowel signs, alif acts as consonants at start of word if these follow
|
||||||
.L01 َ ِ ُ و ی ع ا
|
.L01 َ ِ ُ و ی ع ا
|
||||||
|
|
||||||
|
|
||||||
// VOWELS
|
// VOWELS
|
||||||
|
|
||||||
.group َ
|
.group َ
|
||||||
@@ -40,22 +42,25 @@
|
|||||||
ُع O
|
ُع O
|
||||||
|
|
||||||
.group ھ
|
.group ھ
|
||||||
ھ H
|
ھ HV
|
||||||
|
ھ (_ H:
|
||||||
|
ھ (l01 H
|
||||||
|
|
||||||
.group ا
|
.group ا
|
||||||
ا a:
|
ا a:
|
||||||
_) ا (L01 // silent before a vowel
|
_) ا (L01 // Acts like Consonants if followed by a vowel but is silent.
|
||||||
_) ا a
|
_) ا a
|
||||||
_) او u:
|
_) او u:
|
||||||
_) ای i:
|
_) ای i:
|
||||||
|
|
||||||
.group آ
|
.group آ
|
||||||
آ a:
|
آ a:
|
||||||
|
|
||||||
|
|
||||||
.group ع
|
.group ع
|
||||||
ع a:
|
ع a:
|
||||||
عا a:
|
عا a:
|
||||||
_) ع a
|
_) ع a
|
||||||
|
|
||||||
|
|
||||||
.group و
|
.group و
|
||||||
@@ -63,13 +68,13 @@
|
|||||||
وُ u:
|
وُ u:
|
||||||
وٗ u:
|
وٗ u:
|
||||||
و (L01 v
|
و (L01 v
|
||||||
_) و v
|
_) و v
|
||||||
|
|
||||||
.group ی
|
.group ی
|
||||||
ی e:
|
ی e:
|
||||||
ی (L01 j
|
ی (L01 j
|
||||||
ی (_ i:
|
ی (_ i:
|
||||||
_) ی j
|
_) ی j
|
||||||
|
|
||||||
|
|
||||||
.group ے // yeh barree
|
.group ے // yeh barree
|
||||||
@@ -89,111 +94,148 @@
|
|||||||
// CONSONANTS
|
// CONSONANTS
|
||||||
|
|
||||||
.group ب
|
.group ب
|
||||||
ب b
|
ب bV
|
||||||
بھ bh
|
بھ bhV
|
||||||
|
بھ (L01 bh
|
||||||
|
ب (L01 b
|
||||||
|
|
||||||
.group پ
|
.group پ
|
||||||
پ p
|
پ pV
|
||||||
پھ ph
|
پھ phV
|
||||||
|
پ (L01 p
|
||||||
|
پھ (L01 ph
|
||||||
|
|
||||||
|
|
||||||
.group ت
|
.group ت
|
||||||
ت t
|
ت tV
|
||||||
تھ th
|
تھ thV
|
||||||
|
ت (L01 t
|
||||||
|
تھ (L01 th
|
||||||
|
|
||||||
.group ٹ
|
.group ٹ
|
||||||
ٹ t.
|
ٹ t.V
|
||||||
ٹھ th.
|
ٹھ th.V
|
||||||
|
ٹ (L01 t.
|
||||||
|
ٹھ (L01 th.
|
||||||
|
|
||||||
.group ث
|
.group ث
|
||||||
ث s
|
ث sV
|
||||||
|
ث (L01 s
|
||||||
|
|
||||||
.group ج
|
.group ج
|
||||||
ج J
|
ج JV
|
||||||
جھ Jh
|
جھ JhV
|
||||||
|
ج (L01 J
|
||||||
|
جھ (L01 Jh
|
||||||
|
|
||||||
|
|
||||||
.group چ
|
.group چ
|
||||||
چ c
|
چ cV
|
||||||
چھ ch
|
چھ chV
|
||||||
|
چ (L01 c
|
||||||
|
چھ (L01 ch
|
||||||
|
|
||||||
.group ح
|
.group ح
|
||||||
ح H
|
ح HV
|
||||||
|
ح (L01 H
|
||||||
|
|
||||||
.group خ
|
.group خ
|
||||||
خ x
|
خ xV
|
||||||
|
خ (L01 x
|
||||||
|
|
||||||
.group د
|
.group د
|
||||||
د d
|
د dV
|
||||||
دھ dh
|
دھ dhV
|
||||||
|
د (L01 d
|
||||||
|
دھ (L01 dh
|
||||||
|
|
||||||
.group ڈ
|
.group ڈ
|
||||||
ڈ d.
|
ڈ d.V
|
||||||
ڈھ dh.
|
ڈھ dh.V
|
||||||
|
ڈ (L01 d.
|
||||||
|
ڈھ (L01 dh.
|
||||||
|
|
||||||
.group ذ
|
.group ذ
|
||||||
ذ D
|
ذ DV
|
||||||
|
ذ (L01 D
|
||||||
|
|
||||||
.group ر
|
.group ر
|
||||||
ر R
|
ر RV
|
||||||
|
ر (L01 R
|
||||||
|
|
||||||
.group ڑ
|
.group ڑ
|
||||||
ڑ r.
|
ڑ r.V
|
||||||
|
ڑ (L01 r.
|
||||||
|
|
||||||
.group ز
|
.group ز
|
||||||
ز z
|
ز zV
|
||||||
|
ز (L01 z
|
||||||
|
|
||||||
.group ژ
|
.group ژ
|
||||||
ژ Z
|
ژ ZV
|
||||||
|
ژ (L01 Z
|
||||||
|
|
||||||
.group س
|
.group س
|
||||||
س s
|
س sV
|
||||||
|
س (L01 s
|
||||||
|
|
||||||
.group ش
|
.group ش
|
||||||
ش S
|
ش SV
|
||||||
|
ش (L01 S
|
||||||
|
|
||||||
.group ص
|
.group ص
|
||||||
ص s.
|
ص s.V
|
||||||
|
ص (L01 s.
|
||||||
|
|
||||||
.group ض
|
.group ض
|
||||||
ض z
|
ض zV
|
||||||
|
ض (L01 z
|
||||||
|
|
||||||
.group ط
|
.group ط
|
||||||
ط t
|
ط tV
|
||||||
طھ th
|
طھ thV
|
||||||
|
ط (L01 t
|
||||||
|
طھ (L01 th
|
||||||
|
|
||||||
.group ظ
|
.group ظ
|
||||||
ظ z.
|
ظ z.V
|
||||||
|
ظ (L01 z.
|
||||||
|
|
||||||
.group غ
|
.group غ
|
||||||
غ Q
|
غ QV
|
||||||
|
غ (L01 Q
|
||||||
|
|
||||||
.group ف
|
.group ف
|
||||||
ف f
|
ف fV
|
||||||
|
ف (L01 f
|
||||||
|
|
||||||
.group ق
|
.group ق
|
||||||
ق q
|
ق qV
|
||||||
|
ق (L01 q
|
||||||
|
|
||||||
.group ک
|
.group ک
|
||||||
ک k
|
ک kV
|
||||||
کھ kh
|
کھ khV
|
||||||
|
ک (L01 k
|
||||||
|
کھ (L01 kh
|
||||||
|
|
||||||
.group گ
|
.group گ
|
||||||
گ g
|
گ gV
|
||||||
گھ gh
|
گھ ghV
|
||||||
|
گ (L01 g
|
||||||
|
گھ (L01 gh
|
||||||
|
|
||||||
.group ل
|
.group ل
|
||||||
ل l
|
ل lV
|
||||||
|
ل (L01 l
|
||||||
|
|
||||||
.group م
|
.group م
|
||||||
م m
|
م mV
|
||||||
|
م (L01 m
|
||||||
|
|
||||||
.group ن
|
.group ن
|
||||||
ن n
|
ن nV
|
||||||
|
ن (L01 n
|
||||||
|
|
||||||
.group ں
|
.group ں
|
||||||
ں n // this should nasalize the vowel
|
ں n // this should nasalize the vowel
|
||||||
@@ -206,10 +248,21 @@
|
|||||||
ہ (_ a
|
ہ (_ a
|
||||||
|
|
||||||
|
|
||||||
.group 0xe0a4 // devanagari
|
// Common symbols
|
||||||
0xe0a4 _^_HI // switch to hindi voice
|
|
||||||
.group 0xe0a5 // devanagari
|
|
||||||
0xe0a5 _^_HI
|
|
||||||
|
|
||||||
.group
|
.group
|
||||||
$ do:l@R
|
$ do:l@R
|
||||||
|
, sVkat.Vh // Sakata سکتہ
|
||||||
|
! f'iJa:ja //Fijaya فجائیہ
|
||||||
|
; w'ak't'a //Waqfa وقفہ
|
||||||
|
: r'a:b'tah//Rabtar رابطہ
|
||||||
|
? saw'a:l'i:ja:n'is'a:nV // Sawaliya Nishan سوالیہ نشان
|
||||||
|
% f'i:sVd //Fisad فیصد
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.group 0xe0a4 // devanagari
|
||||||
|
0xe0a4 _^_NE // switch to Nepali voice
|
||||||
|
.group 0xe0a5 // devanagari
|
||||||
|
0xe0a5 _^_NE
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
name urdu-test
|
name urdu-test
|
||||||
language ur
|
language ur
|
||||||
|
|
||||||
phonemes hi
|
|
||||||
stressrule 6
|
stressrule 6
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,45 @@
|
|||||||
|
//====================================================
|
||||||
|
// Phonemes adjusted for Urdu by Him Prasad Gautam.
|
||||||
|
//====================================================
|
||||||
|
|
||||||
|
|
||||||
|
phoneme : // Lengthen the previous vowel by "length"
|
||||||
|
virtual
|
||||||
|
length 120
|
||||||
|
endphoneme
|
||||||
|
|
||||||
|
phoneme @
|
||||||
|
vowel flag1 starttype #@ endtype #@
|
||||||
|
length 130
|
||||||
|
|
||||||
|
ChangeIfDiminished(@-)
|
||||||
|
IF nextPh(H) THEN
|
||||||
|
FMT(vowel/@_low)
|
||||||
|
ENDIF
|
||||||
|
FMT(vowel/@_bck)
|
||||||
|
endphoneme
|
||||||
|
|
||||||
|
|
||||||
|
phoneme V
|
||||||
|
vowel flag1 starttype #@ endtype #@
|
||||||
|
length 150
|
||||||
|
CALL hi/V
|
||||||
|
endphoneme
|
||||||
|
|
||||||
|
|
||||||
|
phoneme @2
|
||||||
|
vowel flag1 starttype #@ endtype #@
|
||||||
|
length 150
|
||||||
|
FMT(vowel/@_low)
|
||||||
|
endphoneme
|
||||||
|
|
||||||
|
phoneme @3
|
||||||
|
vowel flag1 starttype #@ endtype #@
|
||||||
|
length 150
|
||||||
|
ChangeIfDiminished(@-)
|
||||||
|
FMT(vowel/@_3)
|
||||||
|
endphoneme
|
||||||
|
|
||||||
|
|
||||||
|
//====================================================
|
||||||
|
// The rest Phonemes are inherted from Hindi.
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user