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