Skip to content

Commit

Permalink
Simpler phonetics/french/fonem V-10 rule
Browse files Browse the repository at this point in the history
Related to #175
  • Loading branch information
Yomguithereal committed Sep 2, 2020
1 parent 80c87bc commit 9d78ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/phonetics/french/fonem.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const RULES = {
'V-7': [/([^G])AY$/, '$1E'],
'V-8': [/EUX$/, 'EU'],
'V-9': [`EY(?=$|${C})`, 'E'],
'V-10': [`(^|${C})Y(?=${V}|$)|(^|${V})Y(?=${C}|$)`, '$1$2I'],
'V-10': [`(^|${C})Y|Y(${C}|$)`, '$1I$2'],
'V-11': [`(${V})I(?=${V})`, '$1Y'],
'V-12': [`(${V})ILL`, '$1Y'],
'V-13': [/OU(?=I(?!LL)|[AEOU])/g, 'W'],
Expand Down

0 comments on commit 9d78ab4

Please sign in to comment.