Skip to content

Commit

Permalink
Updates to fra-Latn
Browse files Browse the repository at this point in the history
  • Loading branch information
dmort27 committed Nov 9, 2021
1 parent aad4b34 commit d9c3a2b
Showing 1 changed file with 32 additions and 22 deletions.
54 changes: 32 additions & 22 deletions epitran/data/pre/fra-Latn.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,35 @@
::front_vowel:: = e|é|è|ê|ë|i|î|ï|y|E|É|È|Ê|Ë|I|Î|Ï|Y|ɛ
::consonant:: = b|ç|c|ch|d|f|g|j|k|l|m|n|p|r|s|t|v|w|z|ʒ

% Treatment of <c> and <s>
sc -> s / _ (::front_vowel::)
c -> s / _ (::front_vowel::)
% Palatalization and lenition of <g>
g -> ʒ / _ (::front_vowel::)

j -> ʒ / _
i -> j / _ (::vowel::)

% Rules to be completed (with tilde)
a[mn] -> ẫ / _ #|x|(::consonant::)(::consonant::)
ai[mn] -> ễ / _ #|x|(::consonant::)(::consonant::)
e[mn] -> ẫ / _ #|x|(::consonant::)(::consonant::)
ein|im|in|ym|yn -> aî̃ / _ #|x|(::consonant::)(::consonant::)
eun|un -> œ̃ / _ #|x|(::consonant::)(::consonant::)
ien -> iễ / _ #|x|(::consonant::)(::consonant::)
om|on -> õ / _ #|x|(::consonant::)(::consonant::)
uin|um -> uẽ / _ #|x|(::consonant::)(::consonant::)
oin -> ouễ / _ #|x|(::consonant::)(::consonant::)
% Rules to be completed (with tilde) (old)
% a[mn] -> ẫ / _ #|x|(::consonant::)(::consonant::)
% ai[mn] -> ễ / _ #|x|(::consonant::)(::consonant::)
% ien -> iễ / _ #|x|(::consonant::)(::consonant::)
% e[mn] -> ẫ / _ #|x|(::consonant::)(::consonant::)
% ein|im|in|ym|yn -> aî̃ / _ #|x|(::consonant::)(::consonant::)
% eun|un|um -> œ̃ / _ #|x|(::consonant::)(::consonant::)
% om|on -> õ / _ #|x|(::consonant::)(::consonant::)
% uin -> uẽ / _ #|x|(::consonant::)(::consonant::)
% oin -> ouễ / _ #|x|(::consonant::)(::consonant::)

a[mn] -> ẫ / _ #|x|(::consonant::)
ai[mn] -> ễ / _ #|x|(::consonant::)
ien -> iễ / _ #|x|(::consonant::)
e[mn] -> ẫ / _ #|x|(::consonant::)
ein|im|in|ym|yn -> aî̃ / _ #|x|(::consonant::)
eun|un|um -> œ̃ / _ #|x|(::consonant::)
om|on -> õ / _ #|x|(::consonant::)
uin -> uẽ / _ #|x|(::consonant::)
oin -> ouễ / _ #|x|(::consonant::)

% Treatment of <qu>
qu -> k / _
Expand All @@ -25,10 +41,6 @@ ill -> j / (::vowel::) _

x -> ks / _ (p|t|k|f|s|ch)

% Treatment of <c> and <s>
sc -> s / _ (::front_vowel::)
c -> s / _ (::front_vowel::)

% Intervocalic voicing of <s>
s -> z / (::vowel::) _ (::vowel::)

Expand All @@ -37,23 +49,21 @@ ou -> w / _ (::vowel::)
u -> ɥ / _ (::vowel::)

% Context where <y> is realized as a vowel
y -> i / . _
y -> i / _ [^::vowel::]
y -> j / [::vowel]]
y -> i / _

% "Deletion" of <ent> word finally
ent -> 0 / _ #

% Palatalization and lenition of <g>
g -> ʒ / _ (::front_vowel::)
% This rule is sensitive to part of speech
% ent -> 0 / _ #

% Treatment of <er>
er -> é / _ #
% er -> é / _ #

% Deletion of final <e>
e -> 0 / (::vowel::).+ _ #

% A strange rule
ct -> 0 / _ (am|an|aen|aim|ain|aon|em|en|ein|eun|ien|im|in|oin|om|on|uin|uin|um|un|ym|yn)#
% ct -> 0 / _ (am|an|aen|aim|ain|aon|em|en|ein|eun|ien|im|in|oin|om|on|uin|uin|um|un|ym|yn)#

% A less strange rule
ng -> n / ei _ #
Expand Down

0 comments on commit d9c3a2b

Please sign in to comment.