Loading data for chatbot by primitive-load

43 views
Skip to first unread message

Vishnu Priya

unread,
Nov 21, 2016, 5:16:13 AM11/21/16
to opencog
Hello,

I know that i could give input to the chatbot by (nlp-parse "the sky is beautiful").
But i also tried giving it a scm file, which has the parses of the above sentence using (primitive-load  .....).
Then i tried querying by asking (process-query "What is beautiful"). But it says, sorry! i don't know the answer.

It answers only when i do (nlp-parse) and not when i load a scm file.  Logically it should also work right?

Thanks,
Vishnu

Leung Man Hin

unread,
Nov 21, 2016, 5:36:01 AM11/21/16
to ope...@googlegroups.com
Hi Vishnu,

I couldn't reproduce this problem... can you share the scm file you were using?



--
You received this message because you are subscribed to the Google Groups "opencog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opencog+unsubscribe@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at https://groups.google.com/group/opencog.
To view this discussion on the web visit https://groups.google.com/d/msgid/opencog/51ce7a3f-7490-4d3c-ae28-caf8a1db58c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vishnu Priya

unread,
Nov 22, 2016, 3:43:07 PM11/22/16
to opencog

Hi Man,

Thanks for the reply. I have attached the scm file for your reference. 






On Monday, 21 November 2016 11:36:01 UTC+1, Man Hin Leung wrote:
Hi Vishnu,

I couldn't reproduce this problem... can you share the scm file you were using?


On Mon, Nov 21, 2016 at 6:16 PM, Vishnu Priya <vishnup...@gmail.com> wrote:
Hello,

I know that i could give input to the chatbot by (nlp-parse "the sky is beautiful").
But i also tried giving it a scm file, which has the parses of the above sentence using (primitive-load  .....).
Then i tried querying by asking (process-query "What is beautiful"). But it says, sorry! i don't know the answer.

It answers only when i do (nlp-parse) and not when i load a scm file.  Logically it should also work right?

Thanks,
Vishnu

--
You received this message because you are subscribed to the Google Groups "opencog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opencog+u...@googlegroups.com.
body.scm

Leung Man Hin

unread,
Nov 22, 2016, 10:09:55 PM11/22/16
to ope...@googlegroups.com
The file doesn't contain everything generate by nlp-parse, particularly the R2L outputs seem to be missing. Probably if you export them as well in a file you will get the results


To unsubscribe from this group and stop receiving emails from it, send an email to opencog+unsubscribe@googlegroups.com.

To post to this group, send email to ope...@googlegroups.com.
Visit this group at https://groups.google.com/group/opencog.

Vishnu Priya

unread,
Nov 23, 2016, 9:16:02 AM11/23/16
to opencog
Sorry.  what do you mean by "..Probably if you export them as well in a file you will get the results..". ? Could you explain?

Leung Man Hin

unread,
Nov 23, 2016, 9:50:58 PM11/23/16
to ope...@googlegroups.com
The file you sent does not include everything generated by nlp-parse



To unsubscribe from this group and stop receiving emails from it, send an email to opencog+unsubscribe@googlegroups.com.

To post to this group, send email to ope...@googlegroups.com.
Visit this group at https://groups.google.com/group/opencog.
Reply all
Reply to author
Forward
0 new messages