mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-23 09:21:37 +00:00
Merge pull request #84 from LuminosoInsight/add-initial-vowels
Update the "initial vowels" in French/Catalan
This commit is contained in:
commit
53b1ee2fa0
@ -31,7 +31,7 @@ SPACELESS_EXPR = _make_spaceless_expr()
|
|||||||
|
|
||||||
# All vowels that might appear at the start of a word in French or Catalan,
|
# 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.
|
# 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(
|
TOKEN_RE = regex.compile(
|
||||||
r"""
|
r"""
|
||||||
|
Loading…
Reference in New Issue
Block a user