Skip to content

Commit c79fefb

Browse files
Update smartbot.py
1 parent f4895fa commit c79fefb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

smartbot.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
"""
99

1010
#Description: This is a 'self learning' chatbot program
11+
#Resources:
12+
#(1) https://www.freecodecamp.org/news/how-to-process-textual-data-using-tf-idf-in-python-cd2bbc0a94a3/
13+
#(2) https://github.com/randerson112358/Building-a-Simple-Chatbot-in-Python-using-NLTK
14+
#(3) http://www.tfidf.com/
15+
#(4) https://scikit-learn.org/stable/modules/generated/sklearn.metrics.pairwise.cosine_similarity.html
1116

1217
#Install the package NLTk
1318
pip install nltk
@@ -161,4 +166,4 @@ def response(user_response):
161166
print("DOCBot: "+response(user_response))
162167
else:
163168
flag = False
164-
print("DOCBot: Chat with you later !")
169+
print("DOCBot: Chat with you later !")

0 commit comments

Comments
 (0)