def __call__(self, batch: List[str]) -> List[List[str]]:
if isinstance(batch, (list, tuple)):<EOL><INDENT>return [sample.split() for sample in batch]<EOL><DEDENT>else:<EOL><INDENT>raise NotImplementedError('<STR_LIT>'<EOL>'<STR_LIT>')<EOL><DEDENT>
Tokenize given batch

Args:
    batch: list of texts to tokenize

Returns:
    tokenized batch