diff options
Diffstat (limited to 'src/lib/prononciation.mly')
-rw-r--r-- | src/lib/prononciation.mly | 21 |
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 } |