Toolkits > com.ibm.streamsx.nlp 1.9.2 > com.ibm.streamsx.nlp.utils > C++ Native Functions
Generates a set of n-grams of co-occuring words within a given window. For example: If the maxSize parameter is 3 and minSize is 1 then unigrams, bigrams and trigrams are generated.
Text for n-gram generation
The number of words combined to a new term
The number of words combined to a new term
Generated n-gram output
Generates n-grams of co-occuring words within a given window
Text for n-gram generation
The number of words combined to a new term
Generated n-gram output
Get the toolkit root directory.
Initialize and read lexicon files from default directory (<toolkit_dir>/etc/gposttl)
On success, true is returned. On error, false is returned.
Initialize and read lexicon files from given directory
The directory to the lexicon files
On success, true is returned. On error, false is returned.
Lemmatizing of the input text
Text for lemmatizing
Lemma output
PoS-tagging and lemmatizing of the input text
Text for lemmatizing
List of used words of the text as output
Part-of-Speech tag output
Lemma output