Namespace com.ibm.streams.text.analytics
Specialized toolkits - release 4.3.1.0-prod20190605 > com.ibm.streams.text 2.3.2 > com.ibm.streams.text.analytics
Operators
- SentimentExtractor: This operator analyzes a portion of text and determines what kind of sentiment the text expresses.
- TextExtract: The TextExtract operator facilitates the use of the Text Analytics component of IBM BigInsights in IBM Streams.
Functions
- BigInsightsChineseNER(): This function returns a value that can be passed to the modulePath parameter of the TextExtract operator.
- BigInsightsJapaneseNER(): This function returns a value that can be passed to the modulePath parameter of the TextExtract operator.
- BigInsightsWesternNERMultilingual(): This function returns a value that can be passed to the modulePath parameter of the TextExtract operator.
- BigInsightsWesternNERStandard(): This function returns a value that can be passed to the modulePath parameter of the TextExtract operator.
- pathToSentimentDictionaries(): This function returns a value that can be passed to the modulePath parameter of the TextExtract operator, or the dictionaryPath parameter of the SentimentExtractor operator.
Types
- ACTION: When updating external dictionaries and tables using the resources port of the SentimentExtract and TextExtract operators, the action to take must be specified.
- Language: This enum represents the languages for the available pre-built extractor libraries: WESTERN_STANDARD represents the Western libraries with the standard tokenizer, WESTERN_MULTILINGUAL, the Western extractor libraries with a multilingual tokenizer, JAPANESE, the extractor libraries for Japanese CHINESE, the extractor libraries for Chinese.
- SentimentScore: This is the type of the output from the SentimentExtractor operator. Composed of two attributes:
- SentimentType: Enum describing the types of sentiment that a portion of text can contain