class_docstr: Helper class to wrap tokenizer functions to the class-based tokenizer interface.
class_docstr_tok: ["Helper","class","to","wrap","tokenizer","functions","to","the","class-based","tokenizer","interface","."]
code: def __init__(
      self, tokenizer_func: Callable[[str], List[str]]
  ) -> None:
      super().__init__()
      self.tokenizer_func = tokenizer_func
  
imports: import logging
  import sys
  from abc import ABC, abstractmethod
  from typing import Callable, List
  from segtok.segmenter import split_single
  from segtok.tokenizer import split_contractions, word_tokenizer
label_desc: Use image node_id 1 to create a new TokenizerWrapper object from inherited base classes: Tokenizer with example: obj = TokenizerWrapper(tokenizer_func)