Aktionen

Chatbots: Unterschied zwischen den Versionen

Aus exmediawiki

Zeile 1: Zeile 1:
 
[[Datei:TbKAF1l.gif]]
 
[[Datei:TbKAF1l.gif]]
= chatbotlinks =
+
= chatbots =
  
 
detailled explaination:
 
detailled explaination:
  
 
https://medium.com/@BhashkarKunal/conversational-ai-chatbot-using-deep-learning-how-bi-directional-lstm-machine-reading-38dc5cf5a5a3
 
https://medium.com/@BhashkarKunal/conversational-ai-chatbot-using-deep-learning-how-bi-directional-lstm-machine-reading-38dc5cf5a5a3
 
 
 
== on python ==
 
 
  
 
-----
 
-----
  
=== chatbotAI ===
+
== chatbotAI ==
  
 
==== examples ====
 
==== examples ====
Zeile 28: Zeile 23:
 
-----
 
-----
  
=== NLTK-chatbot ===
+
== NLTK-chatbot ==
  
 
todo:
 
todo:
Zeile 41: Zeile 36:
 
-----
 
-----
  
=== chatterbot ===
+
== chatterbot ==
  
 
https://github.com/gunthercox/ChatterBot
 
https://github.com/gunthercox/ChatterBot
Zeile 137: Zeile 132:
 
https://www.cyberciti.biz/faq/bash-prepend-text-lines-to-file/
 
https://www.cyberciti.biz/faq/bash-prepend-text-lines-to-file/
  
 +
----
  
 +
== tflearn-chatbot ==
  
 +
https://medium.com/oracledevs/say-hello-to-red-samurai-contextual-chatbot-with-tensorflow-deep-neural-network-learning-aa69dd3be04f
  
-----
+
----
 
 
 
 
 
 
 
 
-----
 
  
 
+
== keras-chatbot ==
 
 
== tflearn ==
 
 
 
https://medium.com/oracledevs/say-hello-to-red-samurai-contextual-chatbot-with-tensorflow-deep-neural-network-learning-aa69dd3be04f
 
 
 
== keras ==
 
  
 
https://towardsdatascience.com/deep-learning-for-nlp-creating-a-chatbot-with-keras-da5ca051e051
 
https://towardsdatascience.com/deep-learning-for-nlp-creating-a-chatbot-with-keras-da5ca051e051
 
  
 
-----
 
-----
  
 
+
== FB-messenger-chatbots ==
 
 
== FB  ==
 
  
 
=== howto's ===
 
=== howto's ===
Zeile 168: Zeile 152:
 
https://medium.com/@ferrygunawan/build-facebook-messenger-contextual-chatbot-with-tensorflow-and-keras-4f8cc79438cf
 
https://medium.com/@ferrygunawan/build-facebook-messenger-contextual-chatbot-with-tensorflow-and-keras-4f8cc79438cf
  
==== chatbot talk like me ====
+
=== FB-Zugangsdaten ===
 
 
https://adeshpande3.github.io/How-I-Used-Deep-Learning-to-Train-a-Chatbot-to-Talk-Like-Me
 
 
 
https://github.com/adeshpande3/Facebook-Messenger-Bot
 
 
 
 
 
 
 
 
 
 
 
 
 
-----
 
 
 
 
 
 
 
=== Zugangsdaten ===
 
  
 
https://www.gadgetcouncil.com/create-facebook-account/
 
https://www.gadgetcouncil.com/create-facebook-account/
Zeile 193: Zeile 162:
 
UName: Luther Blissett
 
UName: Luther Blissett
  
 +
==== chatbot talk like me ====
  
 +
https://adeshpande3.github.io/How-I-Used-Deep-Learning-to-Train-a-Chatbot-to-Talk-Like-Me
  
 +
https://github.com/adeshpande3/Facebook-Messenger-Bot
  
 
-----
 
-----
Zeile 203: Zeile 175:
  
 
https://shanebarker.com/blog/best-ai-chatbot/
 
https://shanebarker.com/blog/best-ai-chatbot/
 
  
 
-----
 
-----
Zeile 216: Zeile 187:
  
  
 
+
=== sentiment analysis & chatbots ===
=== sentiment analysis ===
 
  
 
https://spicefactory.co/blog/2017/11/29/a-gentle-dive-into-nlp-sentiment-analysis-and-chatbots/
 
https://spicefactory.co/blog/2017/11/29/a-gentle-dive-into-nlp-sentiment-analysis-and-chatbots/
  
 
  https://spicefactory.co/blog/2016/10/10/how-to-design-build-chat-bots-people-will-love/
 
  https://spicefactory.co/blog/2016/10/10/how-to-design-build-chat-bots-people-will-love/
 
  
 
-----
 
-----
 
 
  
 
== unser seminarsbot ==
 
== unser seminarsbot ==
 +
<small><code>exMedia_Machines/Seminar_Einführung-in-die-Programmierung-KI/05_14_11_maschinelles-sprechen/'''FDBot.ipynb'''</code></small>
  
https://medium.com/analytics-vidhya/building-a-simple-chatbot-in-python-using-nltk-7c8c8215ac6e
+
<small><code>exMedia_Machines/Seminar_Einführung-in-die-Programmierung-KI/05_14_11_maschinelles-sprechen/'''transbot.ipynb'''</code></small>
  
 +
[[Datei:bots1.png|500px]][[Datei:bots2.png|500px]]
  
 
-----
 
-----
  
 
+
== RASA-chatbot ==
-----
 
 
 
== RASA ==
 
  
 
https://chatbotslife.com/how-to-build-a-chatbot-from-zero-a0ebb186b070
 
https://chatbotslife.com/how-to-build-a-chatbot-from-zero-a0ebb186b070
Zeile 244: Zeile 210:
  
  
= Datasets =
+
= chatbot-Datasets =
  
 
https://en.wikipedia.org/wiki/List''of''datasets''for''machine-learning_research
 
https://en.wikipedia.org/wiki/List''of''datasets''for''machine-learning_research
Zeile 292: Zeile 258:
  
  
= word2vec =
+
= some NLP-stuff =
  
 
https://rohanvarma.me/Word2Vec/
 
https://rohanvarma.me/Word2Vec/
  
== on twitter ==
+
== Word2Vec on Twitter ==
  
 
https://github.com/loretoparisi/word2vec-twitter
 
https://github.com/loretoparisi/word2vec-twitter
Zeile 304: Zeile 270:
  
  
= Books: =
+
= Books about chatbot-coding =
  
 
Building chatbots with python:
 
Building chatbots with python:
Zeile 318: Zeile 284:
  
  
== conda ==
+
== conda (create environement, the fast way)==
  
 
https://docs.conda.io/projects/conda/en/4.6.0/_downloads/52a95608c49671267e40c689e0bc00ca/conda-cheatsheet.pdf
 
https://docs.conda.io/projects/conda/en/4.6.0/_downloads/52a95608c49671267e40c689e0bc00ca/conda-cheatsheet.pdf
  
conda -n chatbot python=3.6
+
<blockquote><pre class="shell">conda -n chatbot python=3.6</pre></blockquote>
 +
 
  
conda create --name chatbot python=3.4
+
<blockquote><pre class="shell">conda create --name chatbot python=3.4</pre></blockquote>

Version vom 8. Januar 2020, 23:01 Uhr

TbKAF1l.gif

chatbots

detailled explaination:

https://medium.com/@BhashkarKunal/conversational-ai-chatbot-using-deep-learning-how-bi-directional-lstm-machine-reading-38dc5cf5a5a3


chatbotAI

examples

https://github.com/ahmadfaizalbh/Chatbot << https://pypi.org/project/chatbotAI/

[to build a bot.ipynb|https://github.com/ahmadfaizalbh/Meetup-Resources/blob/master/How%20to%20build%20a%20bot.ipynb]

https://chatbotslife.com/how-to-create-your-own-facebook-messenger-chatbot-right-now-a7605f2f31ef




NLTK-chatbot

todo:

flask?

messenger: FB-account

chatterbot explained



chatterbot

https://github.com/gunthercox/ChatterBot

multilingual

einfach trainier- und erweiterbar


chatterbot-docs:

https://www.tutorialdocs.com/tutorial/chatterbot/simple-example.html

https://chatterbot.readthedocs.io/en/latest/setup.html

examples/howtos

https://dev.to/sahilrajput/build-your-first-chatbot-in-5-minutes--15e3

SMS:

https://chatbotslife.com/how-to-create-an-intelligent-chatbot-in-python-c655eb39d6b1

voice:

https://github.com/gunthercox/chatterbot-voice

web:

https://www.edureka.co/blog/how-to-make-a-chatbot-in-python/

https://github.com/chamkank/flask-chatterbot

https://dev.to/sahilrajput/build-a-chatbot-using-flask-in-5-minutes-574i

with python-google-search: https://towardsdatascience.com/build-a-simple-chatbot-with-python-and-google-search-c000aa3f73f0


code-snippets:

https://www.programcreek.com/python/example/105342/chatterbot.ChatBot

training-data

https://github.com/gunthercox/chatterbot-corpus

https://github.com/gunthercox/chatterbot-corpus/tree/master/chatterbot_corpus/data/english

https://www.kaggle.com/kausr25/chatterbotenglish

https://github.com/shubham0204/DatasetArchives/blob/master/chatbotnlp.zip?raw=true
errors

OSError: [E050] Can't find model 'en'.

python -m spacy download en


text preprocessing (.yml file)

insert string on the begining of each n line
sed '0~2 s/^/string /g' < input.file`
  • 0~2 jede zweite zeile definieren
  • s zeichen ersetzen (in diesem konkreten sinne einfügen)
  • /^/ zeilenanfang definieren
  • /string/ string der eingefügt werden soll
  • /g steht für global
save it in file
sed -i'0~2 s/^/string /g' input.file


if z.b. Fragezeichen in der zeile insert string on beginning of line
sed -n '/?/{s/^/string /; p}' input.file
  • -n keine zeilen printen außer wir definieren diese (siehe p)
  • /?/ sucht die zeilen in der die regex ? auftaucht
  • s/^/string /; siehe oben
  • p print
save it in file...
sed -n '/?/{s/^/strrrr/; p}' input.file > new.file

little cheatsheets sed

https://wiki.ubuntuusers.de/sed/#Anwendungsbeispiele

https://www.cyberciti.biz/faq/bash-prepend-text-lines-to-file/


tflearn-chatbot

https://medium.com/oracledevs/say-hello-to-red-samurai-contextual-chatbot-with-tensorflow-deep-neural-network-learning-aa69dd3be04f


keras-chatbot

https://towardsdatascience.com/deep-learning-for-nlp-creating-a-chatbot-with-keras-da5ca051e051


FB-messenger-chatbots

howto's

https://medium.com/@ferrygunawan/build-facebook-messenger-contextual-chatbot-with-tensorflow-and-keras-4f8cc79438cf

FB-Zugangsdaten

https://www.gadgetcouncil.com/create-facebook-account/

e-mail: jilot53126@seo-mailer.com

PW: kpiertongga13_

UName: Luther Blissett

chatbot talk like me

https://adeshpande3.github.io/How-I-Used-Deep-Learning-to-Train-a-Chatbot-to-Talk-Like-Me

https://github.com/adeshpande3/Facebook-Messenger-Bot

chatbots ready2use

https://www.guru99.com/best-ai-chatbots.html

https://shanebarker.com/blog/best-ai-chatbot/


chatbots-general

https://botwiki.org/resource/tutorial/how-to-make-a-twitter-bot-the-definitive-guide/

https://hackernoon.com/deep-learning-chatbot-everything-you-need-to-know-r11jm30bc

https://dennistroeger.com/chatbot-programmieren/


sentiment analysis & chatbots

https://spicefactory.co/blog/2017/11/29/a-gentle-dive-into-nlp-sentiment-analysis-and-chatbots/

https://spicefactory.co/blog/2016/10/10/how-to-design-build-chat-bots-people-will-love/

unser seminarsbot

exMedia_Machines/Seminar_Einführung-in-die-Programmierung-KI/05_14_11_maschinelles-sprechen/FDBot.ipynb

exMedia_Machines/Seminar_Einführung-in-die-Programmierung-KI/05_14_11_maschinelles-sprechen/transbot.ipynb

Bots1.pngBots2.png


RASA-chatbot

https://chatbotslife.com/how-to-build-a-chatbot-from-zero-a0ebb186b070


chatbot-Datasets

https://en.wikipedia.org/wiki/Listofdatasetsformachine-learning_research

https://pathmind.com/wiki/data-for-deep-learning

https://pathmind.com/wiki/open-datasets


ubuntu-dialog: https://github.com/rkadlec/ubuntu-ranking-dataset-creator/tree/master/src

chatbot-talk-like-me/Facebook-Messenger-Bot-master/ubuntu-dialog_training.ipynb


UCI-Repo: https://archive.ics.uci.edu/ml/datasets.php


wiki-text: https://blog.einstein.ai/the-wikitext-long-term-dependency-language-modeling-dataset/


movie-dialogs: https://www.cs.cornell.edu/~cristian/CornellMovie-DialogsCorpus.html

https://www.kaggle.com/datasets?search=chatbot

https://www.kaggle.com/tayorm/chat-corpus-dataset


https://github.com/shubham0204/Dataset_Archives


news: https://newsapi.org/sources







some NLP-stuff

https://rohanvarma.me/Word2Vec/

Word2Vec on Twitter

https://github.com/loretoparisi/word2vec-twitter

https://fredericgodin.com/software/


Books about chatbot-coding

Building chatbots with python:

https://b-ok.cc/book/3642068/da7d8c

https://github.com/Apress/building-chatbots-with-python

Deep Learning with Applications Using Python: Chatbots and Face, Object, and Speech Recognition with Tensorflow and Keras:

https://b-ok.cc/book/3579919/8057f9


conda (create environement, the fast way)

https://docs.conda.io/projects/conda/en/4.6.0/_downloads/52a95608c49671267e40c689e0bc00ca/conda-cheatsheet.pdf

conda -n chatbot python=3.6


conda create --name chatbot python=3.4