SingleDigitTokenizer

A tokenizer for sequences with single-digit tokens.

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.