i know its been a while last i post something here....
i have your back , i got something way more interesting ...you read the title :D
The things we are gonna need for this ride
And since we are gonna work with python we need aiml in python so enter this on terminal
lets go to the code then
starting with XML
note:- see i put
i have your back , i got something way more interesting ...you read the title :D
The things we are gonna need for this ride
- linux based system
- AIML
- PYTHON
- XML
And since we are gonna work with python we need aiml in python so enter this on terminal
pip install aiml
lets go to the code then
starting with XML
<aiml version="1.0.1" encoding="UTF-8">
<category>
<pattern>LOAD AIML B</pattern>
<template>
<learn>*.aiml</learn>
</template>
</category>
</aiml>
save its as k.xmlnote:- see i put
<learn>*.aiml</learn> well the * looks for all aiml file in that folder so you can just add more
file there
now for python part
import aiml
kernel = aiml.Kernel()
kernel.learn("k.xml")
kernel.respond("load aiml b")while True:
print kernel.respond(raw_input("Enter your message >> "))
thats it sir you have your own Virtual Assistan
till next time take care
the link for a simple project enjoy ...
chatbot-clickme
So, my speculation of Dave Montgomery's lecture and theory would be the same. Indeed, this was a great lecture, solid evidence, and research. machine learning courses in hyderabad
ReplyDeleteLearn the full knowledge of Python programming by registering for an AI Patasala Advanced Python Training in Hyderabad.
ReplyDeleteAI Patasala Python Training