* Get a slice of the training text data. * * @param {number} startIndex * @param {number} endIndex * @param {bool} useIndices Whether to return the indices instead of string. * @returns {string | Uint16Array} The result of the slicing.
(startIndex, endIndex)
| 195 | * @returns {string | Uint16Array} The result of the slicing. |
| 196 | */ |
| 197 | slice_(startIndex, endIndex) { |
| 198 | return this.textString_.slice(startIndex, endIndex); |
| 199 | } |
| 200 | |
| 201 | /** |
| 202 | * Get the set of unique characters from text. |