tokenizer and ocr stubs