fixed issue in verb conjugation

This commit is contained in:
Wardyn 2023-01-16 00:23:32 -08:00
parent cd9714f222
commit 564a19f9c4
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ if verb[-2:] == 'ed' and verb[-3] not in ['a', 'e', 'i', 'o', 'u']:
verb = verb[:-2]
if verb[-1] in ['a', 'i', 'o', 'u']:
verb = verb + 'es'
elif verb[-1] in ['s', 'x'] or verb[-2] == ['s', 'x'] or verb[-2:] == 'ch':
elif verb[-1] in ['s', 'x'] or verb[-2] in ['s', 'x'] or verb[-2:] == 'ch':
verb = verb + 'es'
elif verb[-1] == 'y' and verb[-2] not in ['a', 'e', 'i', 'o', 'u']:
verb = verb[:-1] + 'ies'