53 ms·
There are about an infinite number of answers to this question, and half the answers are really just more questions. Some of it depends on how "intelligent" you
by mindcrime 10y ago
There are about an infinite number of answers to this question, and half the answers are really just more questions. Some of it depends on how "intelligent" you want it to be. Worst case, you'll have to invent AGI.
Short of that, there are a ton of places to start. You might start by reading all of the papers published by the folks behind the START question & answer system:
http://start.csail.mit.edu/index.php http://start.csail.mit.edu/index.php
If you can accept something that's fairly dumb, and requires a bit of up-front coding, you could just code up a chat-bot using AIML. Or you could start with a fairly dumb AIML bot and incorporate additional techniques over time. You could probably tie in OpenNLP or CoreNLP or something, figure out ways to use WordNet, ConceptNet, SyntaxNet, the OpenCyc knowledgebase, dbPedia, Wikidata, etc. and make something that could answer a lot of questions. Figuring out how to make it learn is a much bigger challenge, as is integrating all of the various ML/AI techniques out there that might be applicable.
You might also get some mileage out of something like Quepy[1], a framework for translating natural language into structured queries (think, SPARQL, SQL, etc.)
If you just want to get your feet wet and start exploring, I'd look here:
http://www.alicebot.org/downloads/programs.html http://www.alicebot.org/downloads/programs.html
If AIML bots aren't "smart" enough for you, start exploring other techniques.
[1]: https://github.com/machinalis/quepy https://github.com/machinalis/quepy
- dmode 10y agoThank you very much. Really appreciate all the details. Can I ask one more question ? In addition to the AI and NLP stuff, is there a framework that already has the basics underpinning of a bot - example, has a decent UI, backend infrastructure for asynchronous messages, solves continuous scrolling etc.
- mindcrime 10y agoI'm not sure off the top of my head. Possibly. I assume you're planning something web-based, since you mention continuous scrolling? I tend to use an XMPP interface for "bot" type things, so I don't know as much about what frameworks exist for doing this stuff in a more web-centric form.