Creates a Tokenizer instance based on the number of digits.
A SingleDigitTokenizer for 1-9 digits, or a MultiDigitTokenizer otherwise.
The number of digits used for tokenization.