IC5Notice: We have upgraded developerWorks Community to the latest version of IBM Connections. For more information, read our upgrade FAQ.
Topic
  • 1 reply
  • Latest Post - ‏2013-03-12T14:34:30Z by KhandekarAkram
KhandekarAkram
KhandekarAkram
14 Posts

Pinned topic Display Span-content when Running extractors by Jaql Text Analytics module

‏2013-03-11T13:26:14Z |
How can I display the content of a span when I am annotating a document using the aql generated .aog file using Jaql Text Analytics module in BigInsights 1.4?

Suppose I have a view DetailedView containing three spans Person1,Relation and Person2.But the results are coming like

"DetailedView": [
{
"Person1": span(4908,4969)
"Relation": span(4978,4987)
"Person2": span(4695,5111)
}
]

I want to extract the name of the persons and event along with the span.

(In BigInsights 2.0 we can do that using spanOutputPolicy = "toJsonString"; but for BigInsights 1.4 what is the way? )

Thanks,
Akram.
Updated on 2013-03-12T14:34:30Z at 2013-03-12T14:34:30Z by KhandekarAkram
  • KhandekarAkram
    KhandekarAkram
    14 Posts

    Re: Display Span-content when Running extractors by Jaql Text Analytics module

    ‏2013-03-12T14:34:30Z  
    It can be easily done using GetText(span) like GetText(View_name.columname).