summaryrefslogtreecommitdiff
path: root/src/lib/prononciation.mly
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2021-08-27 13:15:35 +0200
committerSébastien Dailly <sebastien@chimrod.com>2021-08-27 13:15:35 +0200
commit65d5990607e9542aa847ec7cb684afd3ffdedb8f (patch)
tree47a26877c88e303915bc9545a22b004d8dd8089b /src/lib/prononciation.mly
parentdf92da631e9a10a099a72ba846f90adf99d180df (diff)
Update
Diffstat (limited to 'src/lib/prononciation.mly')
-rw-r--r--src/lib/prononciation.mly21
1 files changed, 14 insertions, 7 deletions
diff --git a/src/lib/prononciation.mly b/src/lib/prononciation.mly
index f865abd..3195078 100644
--- a/src/lib/prononciation.mly
+++ b/src/lib/prononciation.mly
@@ -14,11 +14,13 @@
%%
initial_voyel:
- | A { A }
- | E { E }
- | I { I }
- | O { O }
- | U { U }
+ | A { A }
+ | A U { O }
+ | E { E }
+ | I { I }
+ | O { O }
+ | U { U }
+ | U I { UI }
| E_ACUTE { E_ACUTE }
voyel:
@@ -46,11 +48,16 @@ letters:
| letters G U I { I :: G :: $1 }
| letters G U E { E :: G :: $1 }
+ | letters I L L { Y :: $1 }
| letters J { J :: $1 }
| letters K { K :: $1 }
| letters L { L :: $1 }
| letters M { M :: $1 }
+ | letters M M { M :: $1 }
| letters N { N :: $1 }
+ | letters N N { N :: $1 }
+
+
| letters P { P :: $1 }
| letters P H { F :: $1 }
@@ -62,9 +69,9 @@ letters:
| letters T { T :: $1 }
| letters V { V :: $1 }
- | letters W { V :: $1 }
+ | letters W { W :: $1 }
| letters X { S :: K :: $1 }
- | letters Y { I :: $1 }
+ | letters Y { Y :: $1 }
| letters Z { Z :: $1 }