noun count should not be used to end sentances

what in the world was i thinking, and how did i not notice this sooner?
This commit is contained in:
xfnw 2022-03-09 14:00:51 -07:00
parent 7af2f8f675
commit 7348ef0354

View file

@ -78,7 +78,7 @@ async def genOut(self, noun):
out = [noun]
while (
beg.find_one(word=out[0]) is None
or nouns.count(word=out[0]) - 1 > iter * shared.enmul
or beg.count(word=out[0]) - 1 > iter * shared.enmul
) and iter < shared.maxiter:
try:
out = [
@ -101,7 +101,7 @@ async def genOut(self, noun):
iter = 0
while (
end.find_one(word=out[-1]) is None
or nouns.count(word=out[-1]) - 1 > iter * shared.enmul
or end.count(word=out[-1]) - 1 > iter * shared.enmul
) and iter < shared.maxiter:
try:
out.append(