GeneralizedSuffixArray(Int32, Int32, Int32, Int32, Int32) Constructor |
Namespace: Altaxo.Collections.TextAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax 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