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:
parent
7af2f8f675
commit
7348ef0354
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ async def genOut(self, noun):
|
||||||
out = [noun]
|
out = [noun]
|
||||||
while (
|
while (
|
||||||
beg.find_one(word=out[0]) is None
|
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:
|
) and iter < shared.maxiter:
|
||||||
try:
|
try:
|
||||||
out = [
|
out = [
|
||||||
|
@ -101,7 +101,7 @@ async def genOut(self, noun):
|
||||||
iter = 0
|
iter = 0
|
||||||
while (
|
while (
|
||||||
end.find_one(word=out[-1]) is None
|
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:
|
) and iter < shared.maxiter:
|
||||||
try:
|
try:
|
||||||
out.append(
|
out.append(
|
||||||
|
|
Loading…
Reference in a new issue