forked from Wardyn/lgfbot
fixed issue in verb conjugation
This commit is contained in:
parent
cd9714f222
commit
564a19f9c4
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue