From 26faec7a69051f639b50c8e8741f0823c6be52a2 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Fri, 27 Aug 2021 17:20:59 +0200 Subject: Managed diphtongues --- src/lib/prononciation.mly | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'src/lib/prononciation.mly') 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 } -- cgit v1.2.3