|
|
Member
Total posts: 3
Joined: Oct 4, 2012
|
Hi,
I am James and I am new to this forum. I am using program o and wondering is there any way that I can use wikipedia for my chat bot knowledge base?
Regards
|
|
|
|
|
Posted: Oct 4, 2012 |
[ # 1 ]
|
|
Administrator
Total posts: 3111
Joined: Jun 14, 2010
|
Hi, James, and welcome to chatbots.org!
At this time, there is no functionality that ties a Program O chatbot to Wikipedia, but it’s certainly possible to do so (if you’re using version 2, that is), if one has the skill/experience level and the time to write an addon to provide that sort of functionality. Personally, I think it would make for an interesting project.
|
|
|
|
|
Posted: Oct 4, 2012 |
[ # 2 ]
|
|
Member
Total posts: 6
Joined: Jan 31, 2012
|
Hi James,
my virtual assistant uses Wikipedia as kb: http://askdavid.com - when you enter a search term it tries to find a definition for it using Wikipedia: e.g. http://askdavid.com/search/chatbot (see: http://en.wikipedia.org/wiki/Chatterbot)
You can find more information about it in this thread:
http://www.chatbots.org/ai_zone/viewthread/1015/
However, I don’t use Program O for it
Best,
David
|
|
|
|
|
Posted: Oct 5, 2012 |
[ # 3 ]
|
|
Member
Total posts: 3
Joined: Oct 4, 2012
|
Thanks Dave and askDavid for your reply.
Regards
|
|
|
|
|
Posted: Oct 5, 2012 |
[ # 4 ]
|
|
Senior member
Total posts: 498
Joined: Oct 3, 2008
|
> http://www.meta-guide.com/home/bibliography/google-scholar/wikipediaminer
James, you might want to look at University of Waikato WikipediaMiner. (Note, Waikato also does the popular Java machine learning package “WEKA”.) I know that there are many sub-sets and corpora of Wikipedia available in a variety of formats. I believe Paul Allen’s “Digital Aristotle” Projecthalo.com has even based their knowledgebase on the humanly editable “wiki” format.
|
|
|
|
|
Posted: Oct 6, 2012 |
[ # 5 ]
|
|
Senior member
Total posts: 370
Joined: Oct 1, 2012
|
Hi James,
We have used the wiki format and have tied into wikipedia.org as one KB. We ended up using a module that was designed inhouse to mine any webpage and it seems to work OK. David your page is very impressive in its cleanliness of design and its functionality. If I may ask, how did you mine the text only portion of the WIKI? I kept thinking that there had to be a simpler way when I dug through the Wiki API (no tags or other HTML) but I couldnt find it!
Kudos to David and good luck to you James.
Vincent Gilbert
|
|
|
|
|
Posted: Oct 8, 2012 |
[ # 6 ]
|
|
Member
Total posts: 3
Joined: Oct 4, 2012
|
Thanks to everybody who responded to my query. Is there any other open source chatbot implementation that has the functionality to tie wikipedia as its knowledge base?
Regards
|
|
|
|
|
Posted: Oct 8, 2012 |
[ # 7 ]
|
|
Experienced member
Total posts: 55
Joined: Mar 21, 2011
|
I doubt anyone has this “built-in”. The issue is that Wikipedia contains a lot of text, but it’s not structured, so it can’t be converted easily into a knowledge base. DBPedia and Yago2 are examples of databases which were partly built using information from Wikipedia. Tying those into a KB would be more straightforward. Can you give an example of the behaviour you would like to achieve?
|
|
|
|
|
Posted: Oct 8, 2012 |
[ # 8 ]
|
|
Member
Total posts: 6
Joined: Jan 31, 2012
|
here’s the API I use on http://askdavid.com
http://www.mediawiki.org/wiki/API:Opensearch
|
|
|
|
|
Posted: Oct 9, 2012 |
[ # 9 ]
|
|
Member
Total posts: 3
Joined: Oct 4, 2012
|
Thanks ask David, I will check the API you used for your askdavid.com. Indeed I am looking for a chatbot question answer functionality OliverL. Instead of hand crafting the knowledge base for the chatbot, I want to use wikipedia as a knowledge base for the chatbot where the chatbot will look for the answers. Once it finds the answer from wikipedia then it saves that answer in the local database for future use. Currently I am using program o with customized aiml file sets.
Regards
|
|
|
|
|
Posted: Oct 9, 2012 |
[ # 10 ]
|
|
Member
Total posts: 2
Joined: Jan 27, 2011
|
you could also hook up to our knowledge API:
https://weannie.pannous.com/api?input=define+ventriloquist&login=test-user
https://weannie.pannous.com/api?input=who+is+the+president+of+Brazil&login=test-user&out=simple
etc
{note: URL links re-formatted to provide correct locations. }
|
|
|
|
|
Posted: Oct 9, 2012 |
[ # 11 ]
|
|
Senior member
Total posts: 498
Joined: Oct 3, 2008
|
Karsten, do you offer customizable versions of your API? I mean the base API plus additional custom knowledge?
> http://guile3d.com/en/forum/wish-list-features/higher-education-learning-management-systems-lms-and-artificial-intelligence/#p6236
I recently sent the same question to Existor (above), but have gotten no response from them….
|
|
|
|