GithubHelp home page GithubHelp logo

learn's People

Contributors

athuldevin avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

learn's Issues

Will not load aiml files.

I am excited to incorporate your learning addition into my bot however when I try to load aiml I get errors and fails to load. I can load your one learn.aiml file provided in the package when loading your startup.xml file. Am I doing something wrong?

kernel.bootstrap(learnFiles = "std-startup.xml", commands = "load aiml b") File "/home/dad/apps/bot/aiml/Kernel.py", line 152, in bootstrap self.learn(file) File "/home/dad/apps/bot/aiml/Kernel.py", line 361, in learn try: parser.parse(f) File "/usr/lib/python2.7/xml/sax/expatreader.py", line 110, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/lib/python2.7/xml/sax/expatreader.py", line 213, in feed self._parser.Parse(data, isFinal) File "/usr/lib/python2.7/xml/sax/expatreader.py", line 320, in end_element self._cont_handler.endElement(name) File "/home/dad/apps/bot/aiml/AimlParser.py", line 369, in endElement try: self._endElement(name) File "/home/dad/apps/bot/aiml/AimlParser.py", line 413, in _endElement key = (self._currentPattern.strip(), self._currentThat.strip(),self._currentTopic.strip()) AttributeError: 'list' object has no attribute 'strip'

How to add custom scripts?

For e.g. when you ask about the weather from chatbot then it can tell you the weather.
Is there any way through which we can include custom scripts which can perform some task???

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.