You probably want to run a bunch of sentences through the full NLP pipeline, including Relex and R2L, and then do pattern mining on the set of logical-semantic patterns that result...
On Sat, Sep 10, 2016 at 10:36 AM, Linas Vepstas <linasveps...@gmail.com> wrote: > Hi, > > On Wed, Sep 7, 2016 at 4:57 AM, <vishnupriya...@gmail.com> wrote: >> >> >> 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 trump >> tv!!.....) >> . >> . >> . ))) >> >> >> Then i can give this to pattern miner. >> >> Am i missing anything here? > > > Well, the pattern miner won't perform any parsing of the sentences for you, > so the most likely thing it will do is find that there's lots of things with > (ConceptNode "US" ) in them, and that this is highly correlated with > (ConceptNode "northamerica") After that, it might find patterns in the > lat/log. It does NOT do any string compares of the names of any nodes. > > Unless you put at least WordNodes in there, you will get no text analysis. > > --linas > >> >> >> >> Thanks in advance. >> >> >> >> On Tuesday, September 6, 2016 at 4:05:43 PM UTC+2, vishnup...@gmail.com >> wrote: >>> >>> Hello all, >>> >>>>> 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. >>>> >>>> Any guidelines would be very much helpful. >>> >>> >>> 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+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/CAHrUA35xEmMUgKyYVPqOufs-0LucDNCuNsoTmpGWgsrg29CcNg%40mail.gmail.com. > > For more options, visit https://groups.google.com/d/optout. -- Ben Goertzel, PhD http://goertzel.org Super-benevolent super-intelligence is the thought the Global Brain is currently struggling to form... -- 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/CACYTDBdaV2YN1txVweKPAFrcO98C0Dxh5odryeg7iK_foHXv1g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.