Debian Codegraph @

phsource/ph_gujarati

raw
1
2 // Phonemes for gujarati
3 // This inherits from ph_hindi
4
5 phoneme aI
6 vwl lng starttype #@ endtype #i
7 length 240
8 lng
9 FMT(vdiph/@i_4)
10 endphoneme
11
12 phoneme aI~
13 vwl lng starttype #@ endtype #i
14 length 270
15 lng
16 FMT(vnasal/ai_n)
17 endphoneme
18
19
20 phoneme aU
21 vwl lng starttype #a endtype #u
22 length 240
23 lng
24 FMT(vdiph/a#u)
25 endphoneme
26
27 phoneme aU~
28 vwl lng starttype #a endtype #u
29 length 300
30 lng
31 FMT(vnasal/au_n)
32 endphoneme
33
34
35 phoneme V
36 vwl flag1 starttype #@ endtype #@
37 length 140
38
39 IF thisPh(isWordStart) THEN
40 FMT(vowel/V_2)
41 RETURN
42 ENDIF
43
44 IF thisPh(isNotStressed) THEN
45 length 130
46
47 IF thisPh(isWordEnd) AND NOT thisPh(isFirstVowel) THEN
48 ChangePhoneme(NULL)
49 ENDIF
50
51 IF prev2PhW(isVowel) AND NOT nextVowel(isFlag1) THEN
52 IF nextPhW(isNotVowel) AND nextPh(isWordEnd) THEN
53 // don't delete schwa before a word-final consonant
54 ELSE
55 ChangePhoneme(NULL)
56 ENDIF
57 ENDIF
58
59 IF prevPh(isPalatal) AND NOT nextPh(H) THEN
60 ChangePhoneme(@3)
61 ELSEIF prevPh(r) THEN
62 ChangePhoneme(@2)
63 ELSE
64 ChangePhoneme(@)
65 ENDIF
66 ENDIF
67
68 IF prevPh(w) THEN
69 FMT(vowel/V_4)
70 ENDIF
71
72 FMT(vowel/V_2)
73 endphoneme
74
75 phoneme o:
76 vwl lng starttype #o endtype #o
77 length 227
78 FMT(vowel/o)
79 endphoneme
80