From 0b70e7e6c32d2fe2a5c0ff54b0325b1ce7f4679f Mon Sep 17 00:00:00 2001 From: jonsd Date: Tue, 15 Jan 2008 23:47:26 +0000 Subject: [PATCH] [1.30.14] lang=id: Initial draft git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@126 d46cf337-b52f-0410-862d-fd96e6ae7743 --- dictsource/id_list | 65 +++++++++++++++++++++++++ dictsource/id_rules | 103 ++++++++++++++++++++++++++++++++++++++++ espeak-data/voices/id | 6 +++ phsource/ph_indonesian | 92 +++++++++++++++++++++++++++++++++++ phsource/ustop/null.wav | Bin 0 -> 704 bytes 5 files changed, 266 insertions(+) create mode 100644 dictsource/id_list create mode 100644 dictsource/id_rules create mode 100755 espeak-data/voices/id create mode 100644 phsource/ph_indonesian create mode 100644 phsource/ustop/null.wav diff --git a/dictsource/id_list b/dictsource/id_list new file mode 100644 index 00000000..a23dbde2 --- /dev/null +++ b/dictsource/id_list @@ -0,0 +1,65 @@ + +// This file is UTF8 encoded +// Spelling-to-phoneme words for Indonesian + +a a +b be +c tSe +d de +e e +f Ef +g ge +h ha +i i +j dZe +k ka +l El +m Em +n En +o o +p pe +q ke +r ER +s Es +t te +u u +v fe +w we +x Eks +y je +z zEt + +_0 n'ol +_1 s'atu +_2 d'ua +_3 t'iga +_4 'Empat +_5 l'ima +_6 'Enam +_7 t'udZuh +_8 d@l'apan +_9 s@mb'ilan +_10 s@p'uluh +_11 sebelas +_12 d'uabelas +_13 t'igabelas +_14 'Empatbelas +_15 l'imabelas +_16 'Enambelas +_17 t'udZuhbelas +_18 d@l'apanbelas +_19 s@mb'ilanbelas +_2X d'uapuluh +_3X t'igapuluh +_4X 'Empatpuluh +_5X l'imapuluh +_6X 'Enampuluh +_7X t'udZuhpuluh +_8X d@l'apanpuluh +_9X s@mb'ilanpuluh +_0C R'atus +_1C s@*'atus +_0M1 R'ibu_ +_1M1 s@r'ibu_ +_0M2 dZ'uta_ +_1M2 s@dZ'uta_ diff --git a/dictsource/id_rules b/dictsource/id_rules new file mode 100644 index 00000000..ce5e0719 --- /dev/null +++ b/dictsource/id_rules @@ -0,0 +1,103 @@ + +// This file is UTF8 encoded +// Spelling-to-phoneme rules for Indonesian + +.group a + a a + ai aI + au aU + +.group b + b b + +.group c + c tS + +.group d + d d + dj dZ / Dutch + +.group e + e E + e (_ e + +.group f + f f + +.group g + g g + +.group h + h h + +.group i + i i + +.group j + j dZ + +.group k + k k + k (_ ? + kh x + +.group l + l l + +.group m + m m + +.group n + n n + ng N + ny n^ + nj n^ + +.group o + o o + o (r O + oe u // Dutch spelling + +.group p + p p + +.group q + q k + qu qw + +.group r + r R + +.group s + s s + sy S // perhaps [S;] ?? + sj S + +.group t + t t + tj tS // Dutch + +.group u + u u + +.group v + v v + +.group w + w w + +.group x + x ks + _) x z + +.group y + y j + +.group z + z z + +.group + $ dolaR + + + diff --git a/espeak-data/voices/id b/espeak-data/voices/id new file mode 100755 index 00000000..9c15c0d0 --- /dev/null +++ b/espeak-data/voices/id @@ -0,0 +1,6 @@ +name indinesian-test +language id +gender male + +stressLength 160 200 180 180 0 0 220 240 +stressAmp 16 18 18 18 0 0 22 21 diff --git a/phsource/ph_indonesian b/phsource/ph_indonesian new file mode 100644 index 00000000..fb1c3654 --- /dev/null +++ b/phsource/ph_indonesian @@ -0,0 +1,92 @@ + +phoneme @ + vowel starttype (@) endtype (@) + length 140 + formants vowel/@_low + unstressed +endphoneme + + + +phoneme a + vowel starttype (a) endtype (a) + length 180 + formants vowel/a +endphoneme + + +phoneme E + vowel starttype (e) endtype (e) + length 180 + formants vowel/e_mid + reduceto @ 1 +endphoneme + +phoneme E2 // as [E] but don't reduce to [@] + vowel starttype (e) endtype (e) + length 180 + formants vowel/e_mid +endphoneme + + +phoneme e + vowel starttype (e) endtype (e) + length 180 + formants vowel/e +endphoneme + + +phoneme i + vowel starttype (i) endtype (i) + length 180 + formants vowel/i_6 + linkout ; +endphoneme + + +phoneme O + vowel starttype (o) endtype (o) + length 180 + formants vowel/oo +endphoneme + + +phoneme o + vowel starttype (o) endtype (o) + length 180 + formants vowel/o +endphoneme + + +phoneme u + vowel starttype (u) endtype (u) + length 180 + formants vowel/u +endphoneme + + +phoneme aI + vowel starttype (a) endtype (i) + length 240 + formants vdiph/ai +endphoneme + +phoneme eI + vowel starttype (e) endtype (i) + length 240 + formants vdiph/eei_2 +endphoneme + +phoneme aU + vowel starttype (a) endtype (u) + length 240 + formants vdiph/au_4 +endphoneme + +phoneme @U + vowel starttype (@) endtype (u) + length 240 + formants vdiph/@u_en +endphoneme + + diff --git a/phsource/ustop/null.wav b/phsource/ustop/null.wav new file mode 100644 index 0000000000000000000000000000000000000000..0c84981c037301b8ca1c7ae092f023f2f4563a70 GIT binary patch literal 704 zcmWIYbaUIm#J~{l80MOmTcRMqz`(!=gi2uy3@&RJ7?>CY7*Y~T5~l#wjDpb+7;GT` E0Q)-#H~;_u literal 0 HcmV?d00001