format and clean file

This commit is contained in:
Karol Cyganik 2024-03-07 13:01:19 +01:00
parent 6d456a2083
commit b1d0730dab
1 changed files with 128 additions and 129 deletions

View File

@ -1,4 +1,4 @@
from nltk.chat import Chat, eliza
from nltk.chat import Chat
pairs = ((
r"Mam problem z (.*)",
@ -150,7 +150,6 @@ reflections = {
"twoja": "moja",
"twoje": "moje",
"ty": "ja",
"ja": "ty",
}
eliza_chatbot = Chat(pairs, reflections)