encode

abstract fun encode(text: String): List<Int>

Encode text into the underlying tokenizer's integer tokens.