Click or drag to resize

wordAnalysisToolsgetNGramsDescriptiveLine Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI

[This is preliminary documentation and is subject to change.]

Gets descriptive line about n-grams deconstruction of the specified word

Namespace:  imbNLP.PartOfSpeech.analysis
Assembly:  imbNLP.PartOfSpeech (in imbNLP.PartOfSpeech.dll) Version: 0.2.18
Syntax
C#
public static string getNGramsDescriptiveLine(
	string word,
	int N = 2,
	nGramsModeEnum mode = nGramsModeEnum.overlap
)

Parameters

word
Type: SystemString
The word to be splitted into n-grams
N (Optional)
Type: SystemInt32
Size of N-grams, e.g. for bigrams: N=2
mode (Optional)
Type: imbNLP.PartOfSpeech.analysisnGramsModeEnum
The slicing mode

Return Value

Type: String
Line used for debugging
See Also