From 9d9c9dcd34165f7102e81f0209159578397d379f Mon Sep 17 00:00:00 2001 From: xfnw Date: Tue, 17 May 2022 22:26:01 -0400 Subject: [PATCH] fix recording nouns i should not be allowed near a computer --- modules/nlp.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/nlp.py b/modules/nlp.py index e49d420..6a78a8c 100644 --- a/modules/nlp.py +++ b/modules/nlp.py @@ -40,7 +40,7 @@ async def rec(self, m): ), ["id"], ) - noch.insert(dict(word=w)) + noch.insert(dict(word=get(words, w))) async def getNoun(self, words, c): @@ -127,6 +127,8 @@ async def genOut(self, noun): elif coun >= shared.maxiter: shared.enmul -= 1 + print(f"coun {coun} enmul {shared.enmul} maxiter {shared.maxiter}") + return out