removed conjugation function. pre-conjugated list

This commit is contained in:
Wardyn 2023-01-23 16:26:13 -08:00
parent 86e4c02f1c
commit 91cd12c2b4
2 changed files with 1043 additions and 1052 deletions

View File

@ -66,19 +66,10 @@ postform = random.choice((
'{adjective} {gender}',
'{gender} who {verb}',
))
gender = random.choice(('lgf', 'lbf', 'elf'))
verb = random.choice(verbs)
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] 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'
else:
verb = verb + 's'
adjective = random.choice(adjectives)
content = postform.format(adjective=adjective, gender=gender, verb=verb)
print(content)
session.post(instance + '/api/v1/statuses', data={'status':content, 'visibility':'direct'})
session.post(instance + '/api/v1/statuses', data={'status':content, 'visibility':'unlisted'})

2080
verbs.txt

File diff suppressed because it is too large Load Diff