Skip to content

Commit

Permalink
Add verb -> vowel case for French liason
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Hansen committed Apr 13, 2021
1 parent 8e8b93e commit 6a0784c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gruut/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,9 @@ def fr_liason(
elif (token1.pos == "ADJ") and (token2.pos in {"NOUN", "PROPN"}):
# Adjective -> noun
liason = True
elif token1.pos in {"AUX", "VERB"}:
# Verb -> vowel
liason = True

if liason:
# Apply liason
Expand Down

0 comments on commit 6a0784c

Please sign in to comment.