format and clean file
This commit is contained in:
parent
6d456a2083
commit
b1d0730dab
3
eliza.py
3
eliza.py
|
@ -1,4 +1,4 @@
|
||||||
from nltk.chat import Chat, eliza
|
from nltk.chat import Chat
|
||||||
|
|
||||||
pairs = ((
|
pairs = ((
|
||||||
r"Mam problem z (.*)",
|
r"Mam problem z (.*)",
|
||||||
|
@ -150,7 +150,6 @@ reflections = {
|
||||||
"twoja": "moja",
|
"twoja": "moja",
|
||||||
"twoje": "moje",
|
"twoje": "moje",
|
||||||
"ty": "ja",
|
"ty": "ja",
|
||||||
"ja": "ty",
|
|
||||||
}
|
}
|
||||||
eliza_chatbot = Chat(pairs, reflections)
|
eliza_chatbot = Chat(pairs, reflections)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue