MultiDigitTokenizer

A tokenizer for sequences with multi-digit tokens.

Constructors

Link copied to clipboard
constructor(digits: Int)

Functions

Link copied to clipboard
open override fun populateLayout(layout: Layout, sequence: String, tokenMap: TokenMap): Array<Array<String>>

Populates a layout with values from a sequence, replacing tokens as needed.

Link copied to clipboard
open override fun replaceTokens(sequence: String, tokenMap: TokenMap): String

Replaces tokens in a given sequence using a token map.