Creates an instance of CachingTokenizer with a provided Tokenizer instance that performs the actual token counting.
CachingTokenizer
Tokenizer