What Ben said -- you should run your data through the NLP pipeline.

On Mon, Sep 12, 2016 at 5:50 PM, <[email protected]> wrote:

> Hi Linas,
>
>
> (EvaluationLink
>     (PredicateNode "sentence, location and body")
>     (ListLink
>          (EvaluationLink
>              (PredicateNode "coordinates, country, continent, body")
>              (ListLink
>                 (WordNode "-86.3222")
>                 (WordNode  "32.3934")
>                 (WordNode  "US" )
>                 (WordNode  "northamerica")
>                  (WordNode  ".....we need a new channel trump tv!!.....")
>
>             ))))
>
>
>    1. Do you mean something like this? How the input should be?   (i
>    tried giving it, but it says unbound variable "WordNode")
>    2. If i have say for ex,
>       1. (....(WordNode "US") (WordNode  "trump is a candidate") ....)
>       2. (....(WordNode "US") (WordNode  "trump tv") ....)
>       3. (....(WordNode "US") (WordNode  " trump wins ") ....)
>       4. (....(WordNode "US") (WordNode  " trump president?") ....)
>
>            will it find that sentences that have "trump" always comes from
> US?(.. (wordNode "US") (WordNode "Trump")...).
>
> Any guidelines would be helpful
>
> Thanks in advance,
> Vishnu
>
>
>
> On Saturday, 10 September 2016 04:37:09 UTC+2, linas wrote:
>>
>> Hi,
>>
>>
>> On Wed, Sep 7, 2016 at 4:57 AM, <[email protected]> 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, [email protected]
>>> 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 [email protected].
To post to this group, send email to [email protected].
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/CAHrUA35wKGA5%2BW0FZi63szJuM0aF95JyAAyLpZqBt5JXDqLz0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to