Join the Bot Libre open source project at BotLibre.org
Bot Libre Forum

word search in definition

by bobred posted Mar 20 2018, 11:48

can a chatbot on botlibre be made to do a word search in a particular definition from Wikipedia.

like for instance if it is asked do birds fly.it could search through a definition for the word fly.

And then say yes or say  birds can fly.


by admin posted Mar 20 2018, 16:57
If you enable the Wiktionary option in Learning & Settings the bot will automatically lookup new words in Wiktionary and import their definition, meaning, and synonyms into its object database.

The "WhatIs" script can also lookup and import the data on object from WikiData (Wikipedia's database).

Knowing the definition of fly is not enough to know if birds fly. You would also need to know what a bird is, and have the knowledge that a bird can fly.

I think with the Understanding script you could tell a bot this.

you: birds can fly.
bot: I understand, birds can fly.
you: can birds fly?
bot: Yes, birds can fly.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1928, today: 0, week: 3, month: 10

Id: 21389256
Tags: programming
Posted: Mar 20 2018, 11:48
Replies: 1
Views: 2379, today: 3, week: 5, month: 7
0 0 0.0/5