InterSystems IRIS Data Platform 2021.1Opens in a new window > Class Reference > ENSLIB namespace > %UIMA.Utils


class %UIMA.Utils

Method Inventory


classmethod IndexNow(Output pResult As %DynamicObject, pText As %String, pDescriptor As %String = "$$$iKnow", pAdditionalClassPath As %ListOfDataTypes = "", pOutputFormat As %String(VALUELIST="raw,array")="raw", pLanguage As %String = "en") as %Status [ Language = objectscript ]

Processes the supplied pText with the Analysis Engine specified through pDescriptor. If this AE requires additional libraries, they can be referenced through pAdditionalClasspath.

The output is formatted according to the value of pOutputFormat, a value of "raw" representing the JsonCasSerializer output format as described in the UIMA documentation.

FeedbackOpens in a new window