summaryrefslogtreecommitdiff
path: root/src/lib/prononciation.mly
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2021-08-27 17:20:59 +0200
committerSébastien Dailly <sebastien@chimrod.com>2021-08-27 17:20:59 +0200
commit26faec7a69051f639b50c8e8741f0823c6be52a2 (patch)
treea610d0306bf3e0c84f7993be7c290965fcab1900 /src/lib/prononciation.mly
parentc8b49eed4cf92e7d2dd01dce779ef84ccae733eb (diff)
Managed diphtongues
Diffstat (limited to 'src/lib/prononciation.mly')
-rw-r--r--src/lib/prononciation.mly19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/lib/prononciation.mly b/src/lib/prononciation.mly
index 3195078..5dbf153 100644
--- a/src/lib/prononciation.mly
+++ b/src/lib/prononciation.mly
@@ -14,14 +14,15 @@
%%
initial_voyel:
- | A { A }
- | A U { O }
- | E { E }
- | I { I }
- | O { O }
- | U { U }
- | U I { UI }
- | E_ACUTE { E_ACUTE }
+ | A { A }
+ | A U { O }
+ | E { E }
+ | I { I }
+ | O { O }
+ | O U { OU }
+ | U { U }
+ | E_ACUTE { E_ACUTE }
+ | E_AGRAVE { E_AGRAVE }
voyel:
| initial_voyel { $1 }
@@ -57,6 +58,8 @@ letters:
| letters N { N :: $1 }
| letters N N { N :: $1 }
+ | letters O I N { N :: I :: W :: $1 }
+ | letters O I { A :: W :: $1 }
| letters P { P :: $1 }
| letters P H { F :: $1 }