The IntegerText type exposes the following members.
Properties | Name | Description |
---|
| AlphabetSize |
Size of the alphabet, i.e. the number of unique elements that occur in the original text (or, number of unique list elements). If the text was separated into individual words, the number of words (= number of separator elements) also
contribute to the alphabet size.
|
| NumberOfWords |
Number of words, if the text was separated into individual words. Otherwise, this field is equal to one.
|
| PaddingLength |
Number of additional elements of array Text. Thus the length of this array is PaddingLength + TextLength |
| Text | Original text, converted to an integer alphabet. Each unique element of the original text (or each unique list element) corresponds to an integer value. The order of this integer alphabet is the same as the order of the original elements.
Note that the value 0 is reserved for the internal algorithm. If the original text was separated in different words, the first numberOfWords integers (1..numberOfWords) are reserved as separator elements, too.
|
| TextLength |
Length of the text. This is the total length of the original text, plus, if the text was separated into words, the number of separator elements (which is equal to the number of words). Note that the
array _text is needed to be longer than _textLength, since some additional elements are neccessary for most algorithms.
|
| WordStartPositions |
Start positions of the words in which the original text was separated in the array _text.
|
TopSee Also