Hey Linas!
Thanks for the reply. It's ok. Totally understandable.!!
Yeah just read about ContextLink on wiki.
I have a scenario, where i have sentences that i want to give to NLP
Pipeline. Along with sentences, i also have an attribute called id. Like a
reference for sentence.
Each sentence is associated with an identifier. For me, it would be useful
when i have the sentences parsed along with their id.
Later, say i stimulate and get STI, whatever i do, finally i should be
knowing, to what id the atom belongs to.
So i thought, with something like below, i might achieve that.
apple is fruit in the context of id1.
(EvaluationLink
(ContextLink id1
(PredicateNode "is")
(ListLink
(ConceptNode "apple")
(ConceptNode "fruit")
)
)
But i don't know, how to input my sentences along with their identifiers.
Is it possible somehow to do such a thing of incorporating identifiers ?
or is it totally not doable?
--vishnu
On Friday, 11 November 2016 02:30:44 UTC+1, linas wrote:
>
> Hi,
>
> sorry just now recovering from system outages and an email overload.
>
> ContextLink and how to use it is documented on the wiki.
>
> Currently it it not used very much, or at all.
>
> ContextLinks only make sense once you know how to asssign meaning to
> things -- syntax parsing of sentences is far too low-level for this,
> because you don't yet know what the word "apple" is.
>
> --linas
>
>
>
> On Fri, Oct 21, 2016 at 10:27 AM, Vishnu Priya <[email protected]
> <javascript:>> wrote:
>
>> Hey Linas,
>>
>> I would like to know how to use ContextLink.
>>>
>>
>> - The Apple is red in color.
>> - The Headquarters of apple is in California.
>>
>> Each and every sentence of mine has certain context word.
>> I want the former sentence to be parsed along with ContextLink fruit and
>> the later as company. So that later, i can identify which atom belongs to
>> which context.
>> Should i make changes at the parser level? What should i do?
>>
>> Cheers,
>> 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 [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/f33d7154-58e7-4dd7-8ab6-feb9e4f2ff36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.