Browse Source

mi: use phoneme names consistent with the rest of espeak-ng, and clean up the comments to remove redundant statements

master
Reece H. Dunn 7 years ago
parent
commit
17d482154f
4 changed files with 33 additions and 39 deletions
  1. 4
    4
      dictsource/mi_list
  2. 10
    10
      dictsource/mi_rules
  3. 18
    24
      phsource/ph_maori
  4. 1
    1
      tests/language-phonemes.test

+ 4
- 4
dictsource/mi_list View File

_1 tahi _1 tahi
_2 rua _2 rua
_3 toru _3 toru
_4 faa
_4 fa:
_5 rima _5 rima
_6 ono _6 ono
_7 whitu _7 whitu
_8 waru _8 waru
_9 iwa _9 iwa


// Stress and raru / raruraru fix
kōrero $1 //first syllable
// Words
kōrero $1
raru 'ra_ru raru 'ra_ru
raruraru 'ra_ru_:ra_ru raruraru 'ra_ru_:ra_ru
urupā u_rupaa
urupā u_rupa:

+ 10
- 10
dictsource/mi_rules View File

// This file is UTF-8 encoded // This file is UTF-8 encoded
// The first symbol(s) is/are the orthography
// The second symbol(s) is/are the name of the phoneme

// Māori // Māori


// vowels

.group a .group a
a a a a


.group ā .group ā
ā aa
ā a:


.group e .group e
e e e e


.group ē .group ē
ē ee
ē e:


.group i .group i
i i i i


.group ī .group ī
ī ii
ī i:


.group o .group o
o o o o


.group ō .group ō
ō oo
ō o:


.group u .group u
u u u u


.group ū .group ū
ū uu
ū u:


// consonants


.group h .group h
h h h h


.group n .group n
n n n n
ng ng
ng N


.group p .group p
p p p p


.group w .group w
w w w w
wh f
wh f

+ 18
- 24
phsource/ph_maori View File

// Māori phonemes // Māori phonemes
// what follows the word 'phoneme' is the name of the phoneme


//======= //=======
// VOWELS // VOWELS
//======= //=======
phoneme a //so the name of this phoneme is 'a'

phoneme a
vwl starttype #a endtype #a vwl starttype #a endtype #a
length 140 length 140
FMT(vowel/a_5) //from latin
FMT(vowel/a_5) // from latin
endphoneme endphoneme


phoneme aa //so the name of this phoneme is 'aa'
phoneme a:
vwl starttype #a endtype #a vwl starttype #a endtype #a
length 280 length 280
FMT(vowel/a_5) //copied from above and length doubled
FMT(vowel/a_5)
endphoneme endphoneme


phoneme e phoneme e
vwl starttype #e endtype #e vwl starttype #e endtype #e
length 140 length 140
FMT(vowel/e) //working hypothesis
FMT(vowel/e) // working hypothesis
endphoneme endphoneme


phoneme ee
phoneme e:
vwl starttype #e endtype #e vwl starttype #e endtype #e
length 280 length 280
FMT(vowel/e) //copied from above and length doubled
FMT(vowel/e)
endphoneme endphoneme


phoneme i phoneme i
vwl starttype #i endtype #i vwl starttype #i endtype #i
length 140 length 140
FMT(vowel/i) //working hypothesis
FMT(vowel/i) // working hypothesis
endphoneme endphoneme


phoneme ii
phoneme i:
vwl starttype #i endtype #i vwl starttype #i endtype #i
length 280 length 280
FMT(vowel/i) //copied from above and length doubled
FMT(vowel/i)
endphoneme endphoneme


phoneme o phoneme o
vwl starttype #o endtype #o vwl starttype #o endtype #o
length 140 length 140
FMT(vowel/o) //working hypothesis
FMT(vowel/o) // working hypothesis
endphoneme endphoneme


phoneme oo
phoneme o:
vwl starttype #o endtype #o vwl starttype #o endtype #o
length 280 length 280
FMT(vowel/o) //copied from above and length doubled
FMT(vowel/o)
endphoneme endphoneme


phoneme u phoneme u
vwl starttype #u endtype #u vwl starttype #u endtype #u
length 140 length 140
FMT(vowel/u) //working hypothesis
FMT(vowel/u) // working hypothesis
endphoneme endphoneme


phoneme uu
phoneme u:
vwl starttype #u endtype #u vwl starttype #u endtype #u
length 280 length 280
FMT(vowel/u) //copied from above and length doubled
FMT(vowel/u)
endphoneme endphoneme


//==========
// DIPTHONGS
//==========

//=========== //===========
// CONSONANTS // CONSONANTS
//=========== //===========


phoneme ng // si**ng** taken from Kyrgz (deleting what seemed from testing to be not needed)
phoneme N // si**ng** (modified from Kyrgz)
vcd vel nas vcd vel nas


// don't really know why this works but is does
NextVowelStarts NextVowelStarts
VowelStart(nn/nn@) VowelStart(nn/nn@)
VowelStart(nn/nna) VowelStart(nn/nna)
VowelStart(nn/nno) VowelStart(nn/nno)
VowelStart(nn/nnu) VowelStart(nn/nnu)
EndSwitch EndSwitch

endphoneme endphoneme



+ 1
- 1
tests/language-phonemes.test View File

test_lang lfn 044e27a5100528760a185e0773dccaca504b5bd4 "ma na Na pa ba ta da ka ga fa va sa za Sa Za ha la ja R2a **a wa _:_ ma me mi mo mu maI maU meU moI" test_lang lfn 044e27a5100528760a185e0773dccaca504b5bd4 "ma na Na pa ba ta da ka ga fa va sa za Sa Za ha la ja R2a **a wa _:_ ma me mi mo mu maI maU meU moI"
test_lang lt 615e503b996ea5f7b267ebd77b91e77c5b874e18 "ma m;a na n;a pa p;a ta t;a ka k;a ba b;a da d;a ga g;a tsa ts;a tSa tS;a dza dz;a dZa dZ;a fa f;a sa s;a Sa S;a xa x;a va v;a za z;a Za Z;a la l;a ra r;a ja _:_ m@ ma mA ma: me mE me: mee meA mi mI mi: mo mO mo: mu mU mu: mw mW mai mei mau muo moi mui mie maU meU moU maI meI" test_lang lt 615e503b996ea5f7b267ebd77b91e77c5b874e18 "ma m;a na n;a pa p;a ta t;a ka k;a ba b;a da d;a ga g;a tsa ts;a tSa tS;a dza dz;a dZa dZ;a fa f;a sa s;a Sa S;a xa x;a va v;a za z;a Za Z;a la l;a ra r;a ja _:_ m@ ma mA ma: me mE me: mee meA mi mI mi: mo mO mo: mu mU mu: mw mW mai mei mau muo moi mui mie maU meU moU maI meI"
test_lang lv fb8ffd5e5b76184e215a3f75487fbb0079472b5b "ma na n^a Na pa ba ta da ca Ja ka ga tsa dza Dz\`a tSa dZa DZ\`a fa va sa za Sa Za xa ha ja la l^a Ra ra _:_ mi my mu mE me mo ma mi: my: mu: mE: me: mo: ma: mai mau mei mie miu mui muo muo\` moi" test_lang lv fb8ffd5e5b76184e215a3f75487fbb0079472b5b "ma na n^a Na pa ba ta da ca Ja ka ga tsa dza Dz\`a tSa dZa DZ\`a fa va sa za Sa Za xa ha ja la l^a Ra ra _:_ mi my mu mE me mo ma mi: my: mu: mE: me: mo: ma: mai mau mei mie miu mui muo muo\` moi"
test_lang mi b6e622de46c33181cdfea351b907f932da9a0a1a "ma na nga pa ta ka fa ha ra wa _:_ ma maa me mee mi mii mo moo mu muu"
test_lang mi b6e622de46c33181cdfea351b907f932da9a0a1a "ma na Na pa ta ka fa ha ra wa _:_ ma ma: me me: mi mi: mo mo: mu mu:"

Loading…
Cancel
Save