Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search Facts #5

Open
silentrob opened this issue Feb 26, 2015 · 3 comments
Open

Search Facts #5

silentrob opened this issue Feb 26, 2015 · 3 comments

Comments

@silentrob
Copy link
Owner

No description provided.

@Rajan
Copy link

Rajan commented Jul 17, 2015

Does this aim to call Conceptnet/wordnet and generate responses?
If you've a plan, I'd like to look into this.

@silentrob
Copy link
Owner Author

No facts are truple information that aim in providing common knoledge to your bot. It can be also used in generating part of a reply by replacing a word in the reply.

+ I like ~sport
-  Really? I like ~sport.

In this example ~sport is expanded in both the gambit and reply to resolved to A SPORT defined either in wordnet or the fact DB. (sfacts)

Conceptnet on the other hand is used differently and can provided actual replies. This lays in plugins at the moment.
See https://github.com/silentrob/superscript/blob/master/plugins/reason.js#L64-L74
I used it to address questions like "What is a X?" and "What is X used for?", "Where would I put a X?". It can also be used to resolve information too, like "What color is the sky?"

@Rajan
Copy link

Rajan commented Jul 17, 2015

I just tested this by creating a gambit.
This returned various sports:

  • I like [*~1]
  • Really? I like ~sport.

But this one didn't match.

  • I like ~sport
  • Really? I like ~sport.

There seems to be some matching issue. The same ~sport works fine in response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants