LocalTokenizer

public void LocalTokenizer(String modelName)

Creates a new LocalTokenizer for the specified model.

Parameters

modelName

the name of the model to load (e.g., "gemini-2.5-flash")

Throws

if the model name is not supported or the tokenizer cannot be loaded