SPL File ContentRanking.spl

Toolkits > com.ibm.streamsx.nlp 1.9.2 > com.ibm.streamsx.nlp > ContentRanking.spl

Content

Operators
  • ContentRanking: This operator uses a previously trained model in order to find out the most likely intend of a text.
Types

Composites

composite ContentRanking(output OutStream; input InStream)

This operator uses a previously trained model in order to find out the most likely intend of a text.

The ContentRanking operator should be used in a Streams release where SPL Python primitive support is not provided (e.g. Streams 3.2). It uses a ShellPipe operator to invoke Python scripts. When using a Streams release 4.2 or later, it is recommended to create a SPL Python primitive operator to invoke Python classes or functions.

Parameters

Input Ports

Output Ports

Static Types

ContentRanking.resultType = tuple<list<rstring> articleIDs>;