Stores the positions of a common substring in a list of words. This corresponds to a certain interval [begin, end] of the suffix array.
Constructor | Description |
Full Usage:
CommonSubstring(subStringLength, beg, end, suffixArray, wordIndices, wordStartPositions)
Parameters:
int
-
Length of the substring.
beg : int
-
Start of the range in the suffix array.
end : int
-
End of the range in the suffix array.
suffixArray : int[]
-
The suffix array.
wordIndices : int[]
-
Array of word indices corresponding to the entries of the suffix array.
wordStartPositions : int[]
-
The word start positions in the concentated array of all words (with or without separators).
|
|
Instance member | Description |
|
Gets the first position of the common substring.
|
Full Usage:
this.GetCommonSubstring
Parameters:
IList<string>
-
The words that were originally used to build the common substring query (only when the words were strings, otherwise please use the generic version of this function).
Returns: string
The common substring that is represented by this instance.
|
Gets the common substring.
|
Full Usage:
this.GetCommonSubstring
Parameters:
IList<IList<'T>>
-
The words that were originally used to build the common substring query. If the original words were strings, please use this Text.GetCommonSubstring.
Returns: List<'T>
The common substring that is represented by this instance.
|
Gets the common substring.
|
|
Enumerates through all positions of the common substring.
|
Full Usage:
this.ToString
Returns: string
A String that represents this instance.
Modifiers: abstract |
|