From 65d5990607e9542aa847ec7cb684afd3ffdedb8f Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Fri, 27 Aug 2021 13:15:35 +0200 Subject: Update --- src/lib/prononciation.mly | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'src/lib/prononciation.mly') 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 } -- cgit v1.2.3