SPL File ToolkitTypes.spl

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

Content

Types
  • NgramType: The Ngram operator custom output functions NgramTerms() expects a type SPL:list<NgramType>.
  • TfIdfType: The TfIdfWeight operator custom output functions WeightedTerms() and TopWeightedTerms() expects a type SPL:list<TfIdfType>.
  • WordPosLemmaType: The Lemmatizer operator custom output function TagWords() expects a type SPL:list<WordPosLemmaType>.

Types

WordPosLemmaType

The Lemmatizer operator custom output function TagWords() expects a type SPL:list<WordPosLemmaType>.

WordPosLemmaType = tuple<rstring word, rstring pos, rstring lemma>;

TfIdfType

The TfIdfWeight operator custom output functions WeightedTerms() and TopWeightedTerms() expects a type SPL:list<TfIdfType>.

TfIdfType = tuple<rstring term, float64 tfidf>;

NgramType

The Ngram operator custom output functions NgramTerms() expects a type SPL:list<NgramType>.

NgramType = tuple<rstring term>;