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.

Reply via email to