-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(crg): fix various rule feeding and ordering bugs for Michif
Both Michif -> IPA mappings had issues due to incorrect rule ordering which mean that some words, e.g. "booñ" or "not", would not get g2p'd correctly. as-written is still required because apply-longest-first would break the "g" rule, which does indeed need to be applied first for both DV and TMD. But a rule whose input is a superstring of another rule must come first, and that was not respected everywhere. Note, in TMD I know "n,,in|an|en|un|on|ɑːn|æn|ɛn|eːn|ɪn|iːn|oːn|uːn" is super ugly. I was trying to express context_before is VOWEL + "n", but I don't know how to do it. None of these work: [VOWEL]n (VOWEL)n VOWELn
- Loading branch information
Showing
4 changed files
with
27 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
g,ŋ,ñ | ||
aeñ,ɛ̃ː | ||
ay,aj | ||
aa,ɑː | ||
ae,æ | ||
ee,eː | ||
oñ,ɔ̃ː | ||
ooñ,ɔ̃ː | ||
oñ,ɔ̃ː | ||
hp,ʰp | ||
ht,ʰt | ||
hk,ʰk | ||
sh,ʃ | ||
zh,ʒ | ||
ch,tʃ | ||
hch,ʰtʃ | ||
ch,tʃ | ||
uu,uː | ||
añ,ɑ̃ː | ||
aañ,ɑ̃ː | ||
añ,ɑ̃ː | ||
iiñ,ĩː | ||
ay,aj | ||
aa,ɑː | ||
ae,æ | ||
ee,eː | ||
oo,oː | ||
ii,iː | ||
i,ɪ | ||
o,o | ||
u,ʊ | ||
y,j | ||
j,dʒ | ||
e,ɛ | ||
e,ɛ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,16 @@ | ||
crg-tmd|crg-ipa|kishchaymikawshoow|kɪʃtʃeːmɪkɑːʃoaw | ||
crg-tmd|crg-ipa|smenn|smɛn | ||
crg-tmd|crg-ipa|dayistaen|deːɪstɛ̃ː | ||
crg-tmd|crg-ipa|baenn|bɛ̃ː | ||
crg-dv|crg-ipa|kishcheemikaashoaw|kɪʃtʃeːmɪkɑːʃoaw | ||
crg-dv|crg-ipa|deeistaeñ|deːɪstɛ̃ː | ||
crg-dv|crg-ipa|lañg|lɑ̃ːŋ | ||
crg-dv|crg-ipa|eede|eːdɛ | ||
crg-dv|crg-ipa|eede|eːdɛ | ||
crg-dv|crg-ipa|Booñ|bɔ̃ː | ||
crg-dv|crg-ipa|Not|not | ||
crg-dv|crg-ipa|mooñd|mɔ̃ːd | ||
crg-dv|crg-ipa|maañzhii|mɑ̃ːʒiː | ||
crg-dv|crg-ipa|Aeñ|ɛ̃ː | ||
crg-dv|eng-arpabet|Booñ|B AO N | ||
crg-dv|eng-arpabet|Not|N AO T | ||
crg-dv|eng-arpabet|maañzhii|M AA N ZH IY |