Merge pull request #84 from LuminosoInsight/add-initial-vowels

Update the "initial vowels" in French/Catalan
This commit is contained in:
Robyn Speer 2021-02-03 13:47:30 -05:00 committed by GitHub
commit 53b1ee2fa0

View File

@ -31,7 +31,7 @@ SPACELESS_EXPR = _make_spaceless_expr()
# All vowels that might appear at the start of a word in French or Catalan,
# plus 'h' which would be silent and imply a following vowel sound.
INITIAL_VOWEL_EXPR = '[AEHIOUÁÉÍÓÚÀÈÌÒÙÂÊÎÔÛaehiouáéíóúàèìòùâêîôû]'
INITIAL_VOWEL_EXPR = '[AEHIOUYÁÉÍÓÚÀÈÌÒÙÂÊÎÔÛÅÏÖŒaehiouyáéíóúàèìòùâêîôûåïöœ]'
TOKEN_RE = regex.compile(
r"""