Hello All,

I have a text file "John.txt", which has  the following:

John eats apple.
Mary eats mango.
End.
Mike eats orange.


I have converted it into cff (which is in the form of xml, "John.xm"l)  by 
using "batch-process.sh"  and in turn converted  that into scm (John.scm) 
using ./cff-to-opencog.pl. Because when i straightly tried converting a 
text file into scheme file, i got only this:

(ReferenceLink (stv 1 1)
(DocumentNode "document@f313865f-35a5-48eb-8f56-92786a7a4d57")
(ListLink
)
)



I expected "John.scm" to be something  like this :

(EvaluationLink
   (PredicateNode "eat") 
    (ListLink 
        (VariableNode "John") 
        (ConceptNode “apple")
 ) 



(EvaluationLink
   (PredicateNode "eat") 
    (ListLink 
        (VariableNode "Mary") 
        (ConceptNode “mango")
 ) 


But the "John.scm" appears to be somewhat different.  Is this file making 
sense?  or should i make my own script instead of ./cff-to-opencog.pl. 
This question may sound stupid. But may help beginners.

(I have attached scm, txt and xml file for reference)

Any guidelines would be very helpful.


Thanks in advance
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+unsubscr...@googlegroups.com.
To post to this group, send email to opencog@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/acb338a8-a94b-44be-8d9b-3e561327f13e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: John.scm
Description: Binary data

John eats apple.
Mary eats mango.
End.
Mike eats orange.

Attachment: John.xml
Description: XML document

Reply via email to