Provide named arguments to the tokenizer.

Closes #142. Tests no longer give positional arguments to the
tokenizer.