Click or drag to resize

GeneralizedSuffixArray(Int32, Int32, Int32, Int32, Int32) Constructor

Constructs an instance of the GeneralizedSuffixArray class.

Namespace: Altaxo.Collections.Text
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
protected GeneralizedSuffixArray(
	int[] textWithPadding,
	int textLength,
	int numberOfWords,
	int[] wordStartPositions,
	int alphabetSize
)

Parameters

textWithPadding  Int32
The text. The character of this texts are integers. Each unique element of the original text (or list of objects) is mapped to an unique integer value, while preserving the lexicographical order of the original characters in the integer values.
textLength  Int32
Number of characters of the text. This usually is smaller than the length of text array.
numberOfWords  Int32
The number of words in the original text, if the original text was separated into words. Otherwise, this parameter should be 1.
wordStartPositions  Int32
The start positions of the words in the text array, if the original text was separated into words. Otherwise, this parameter is ignored.
alphabetSize  Int32
Size of the alphabet. This is the number of unique characters (or objects) of the original text. If the text was separated into words, the numberOfWords is added, since each separator is a unique character.
See Also