fixed issue in verb conjugation

This commit is contained in:
Wardyn 2023-01-04 14:29:42 -08:00
parent 809f9d272b
commit 2dd46c4583
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] verb = verb[:-2]
if verb[-1] in ['a', 'i', 'o', 'u']: if verb[-1] in ['a', 'i', 'o', 'u']:
verb = verb + 'es' 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' verb = verb + 'es'
elif verb[-1] == 'y' and verb[-2] not in ['a', 'e', 'i', 'o', 'u']: elif verb[-1] == 'y' and verb[-2] not in ['a', 'e', 'i', 'o', 'u']:
verb = verb[:-1] + 'ies' verb = verb[:-1] + 'ies'