Hi all,I am new to this Opencog. If my questions sound stupid, please forgive me.I thought of using crawled text data as a knowledge source for opencog.
I guess the following steps can achieve that(?!).
- Running "batch-process.sh" which produces output as cff.
Running "src/perl/cff-to-opencog.pl" perl script. It coverts cff into hypergraphs, which is understandable by opencog.
But how can i incorporate these hypergraphs into opencog.? Is there any way?
Are these generated hypergraphs in the form of .scm file.?
(If so, then i guess, i can load these files into Postgres.
From database i can load atoms into atomspace(?!)).
I also read about "relex web crawler".
It automatically add the relex output to HGDB,
where it automatically becomes a new atom. Is the crawler usable now?
Thanks in advance!
--
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/0745df89-51bf-423b-bf45-6928a4a415dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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/0fee8ccf-3b59-40f7-9f9a-7494e3962a64%40googlegroups.com.
Regards,
Thanks Linas for your reply. Actaully, it guides me well !! :-)One more question!My data has timestamps and latitude, longitude info along with text. Is it still possible to get the data into opencog?
Can I still be able to convert that into .scm file?
Is Pattern Miner tailored to handle such data?
Regards,VishnuPriya
--
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/5188f4ef-2878-48bf-af13-a0e8847408ba%40googlegroups.com.
Any guidelines would be very much helpful.I have attached a small example Json file, which is generated from twitter stream. I will be getting lots of Json chunks like this. How can i give this to pattern miner. i.e. can i convert it to hypergraph? What are the steps involved?. what would be the best way to start with.
I think, i should do the following (?!)write probably a python script that produces the following output for every json file:(EvaluationLink(PredicateNode "sentence, location and body")(ListLink(SentenceNode "an unique string ")(EvaluationLink(PredicateNode " coordinates, country, continent, body")(ListLink(ConceptNode "-86.3222")(ConceptNode "32.3934")(ConceptNode "US" )(ConceptNode "northamerica")(ConceptNode ".....we need a new channel trumptv!!.....)... )))Then i can give this to pattern miner.Am i missing anything here?
I just took a simple sentence "apple is fruit"---> (nlp-parse "apple is fruit")---> (parse-get-r2l-outputs (ParseNode "sentence@2ac41081-45a2-44c6-aae4-a95451a9ae21_parse_0" (stv 1 0.991)))I got the following as output:
Then i parsed another sentence and got R2L results. After that, I put r2l outputs of both sentences in a scm file (input.scm) and gave it to pattern miner. But it threw ERROR (segmentation_fault.png).
how can i give bunch of sentences and get R2L outputs, which in turn i can give to pattern miner?
I also thought a way to do this:---> converting bunch of lines into cff by using "batch-process.sh" and in turn converting that into scm ./cff-to-opencog.pl .
But it will be in the form of relex output.so picking some WordInstanceNode of each sentence from the relex output and doing the below to get R2L outputs.(cog-incoming-set (car (cog-incoming-set (ConceptNode (cog-name (WordInstanceNode "apple@2d15518b-c626-4ce3-8e6d-ecd07d3f9e46"))))))But it would be tedious!!
So should i post this segmentation fault in github?