Aktionen

Chatbots: Unterschied zwischen den Versionen

Aus exmediawiki

(Die Seite wurde neu angelegt: „Datei:TbKAF1l.gif“)
 
Zeile 1: Zeile 1:
 
[[Datei:TbKAF1l.gif]]
 
[[Datei:TbKAF1l.gif]]
 +
= chatbotlinks =
 +
 +
detailled explaination:
 +
 +
https://medium.com/@BhashkarKunal/conversational-ai-chatbot-using-deep-learning-how-bi-directional-lstm-machine-reading-38dc5cf5a5a3
 +
 +
 +
 +
== on python ==
 +
 +
 +
-----
 +
 +
=== chatbotAI ===
 +
 +
==== examples ====
 +
 +
https://github.com/ahmadfaizalbh/Chatbot << https://pypi.org/project/chatbotAI/
 +
 +
[[https://github.com/ahmadfaizalbh/Meetup-Resources/blob/master/How 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/Dataset''Archives/blob/master/chatbot''nlp.zip?raw=true
 +
 +
===== errors =====
 +
 +
OSError: [E050] Can't find model 'en'.
 +
 +
<blockquote><source lang="python">python -m spacy download en</source></blockquote>
 +
 +
 +
==== text preprocessing (.yml file) ====
 +
 +
===== insert string on the begining of each n line  =====
 +
 +
<blockquote><pre class="shell">sed '0~2 s/^/string /g' &lt; input.file`</pre></blockquote>
 +
* <code>0~2</code> jede zweite zeile definieren
 +
* <code>s</code> zeichen ersetzen (in diesem konkreten sinne ''einfügen'')
 +
* <code>/^/</code> zeilenanfang definieren
 +
* <code>/string/</code> string der eingefügt werden soll
 +
* <code>/g</code> steht für ''global''
 +
 +
====== save it in file ======
 +
 +
<blockquote><pre class="shell">sed -i'0~2 s/^/string /g' input.file</pre></blockquote>
 +
 +
 +
===== if z.b. Fragezeichen in der zeile insert string on beginning of line =====
 +
 +
<blockquote><pre class="shell">sed -n '/?/{s/^/string /; p}' input.file</pre></blockquote>
 +
* <code>-n</code> keine zeilen <code>printen</code> außer wir definieren diese (siehe <code>p</code>)
 +
* <code>/?/</code> sucht die zeilen in der die regex <code>?</code> auftaucht
 +
* <code>s/^/string /;</code> siehe oben
 +
* <code>p</code> print
 +
 +
====== save it in file... ======
 +
 +
<blockquote><pre class="shell">sed -n '/?/{s/^/strrrr/; p}' input.file &gt; new.file</pre></blockquote>
 +
#####
 +
 +
==== little cheatsheets ''sed'' ====
 +
 +
https://wiki.ubuntuusers.de/sed/#Anwendungsbeispiele
 +
 +
https://www.cyberciti.biz/faq/bash-prepend-text-lines-to-file/
 +
 +
 +
 +
 +
-----
 +
 +
 +
 +
 +
-----
 +
 +
 +
 +
== 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
 +
 +
 +
-----
 +
 +
 +
 +
== FB  ==
 +
 +
=== howto's ===
 +
 +
https://medium.com/@ferrygunawan/build-facebook-messenger-contextual-chatbot-with-tensorflow-and-keras-4f8cc79438cf
 +
 +
==== 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
 +
 +
 +
 +
 +
 +
 +
-----
 +
 +
 +
 +
=== Zugangsdaten ===
 +
 +
https://www.gadgetcouncil.com/create-facebook-account/
 +
 +
e-mail: jilot53126@seo-mailer.com
 +
 +
PW: kpiertongga13_
 +
 +
UName: Luther Blissett
 +
 +
 +
 +
 +
-----
 +
 +
== 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 ===
 +
 +
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 ==
 +
 +
https://medium.com/analytics-vidhya/building-a-simple-chatbot-in-python-using-nltk-7c8c8215ac6e
 +
 +
 +
-----
 +
 +
 +
-----
 +
 +
== RASA ==
 +
 +
https://chatbotslife.com/how-to-build-a-chatbot-from-zero-a0ebb186b070
 +
 +
 +
 +
= Datasets =
 +
 +
https://en.wikipedia.org/wiki/List''of''datasets''for''machine-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/Cornell''Movie-Dialogs''Corpus.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
 +
 +
 +
 +
 +
-----
 +
 +
 +
-----
 +
 +
 +
 +
= word2vec =
 +
 +
https://rohanvarma.me/Word2Vec/
 +
 +
== on twitter ==
 +
 +
https://github.com/loretoparisi/word2vec-twitter
 +
 +
https://fredericgodin.com/software/
 +
 +
 +
 +
= Books: =
 +
 +
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 ==
 +
 +
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

Version vom 8. Januar 2020, 22:51 Uhr

TbKAF1l.gif

chatbotlinks

detailled explaination:

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


on python


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

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




FB

howto's

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

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






Zugangsdaten

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

e-mail: jilot53126@seo-mailer.com

PW: kpiertongga13_

UName: Luther Blissett




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

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

https://medium.com/analytics-vidhya/building-a-simple-chatbot-in-python-using-nltk-7c8c8215ac6e





RASA

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


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







word2vec

https://rohanvarma.me/Word2Vec/

on twitter

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

https://fredericgodin.com/software/


Books:

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

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