tibetan tokenizer and smart saving