class_docstr: Parse string of one line in annotation file to dict format.
  
  Args:
      keys (list[str]): Keys in result dict. Defaults to
          ['filename', 'text'].
      keys_idx (list[int]): Value index in sub-string list for each key
          above. Defaults to [0, 1].
      separator (str): Separator to separate string to list of sub-string.
          Defaults to ' '.
code: def __call__(self, in_str: str) -> Dict:
      line_str = self.strip_cls(in_str)
      if len(line_str.split(" ")) > 2:
          msg = "More than two blank spaces were detected. "
          msg += "Please use LineJsonParser to handle "
          msg += "annotations with blanks. "
          msg += "Check Doc "
          msg += "https://mmocr.readthedocs.io/en/latest/"
          msg += "tutorials/blank_recog.html "
          msg += "for details."
          warnings.warn(msg, UserWarning)
      line_str = line_str.split(self.separator)
      if len(line_str) <= max(self.keys_idx):
          raise ValueError(
              f"key index: {max(self.keys_idx)} out of range: {line_str}"
          )
  
      line_info = {}
      for i, key in enumerate(self.keys):
          line_info[key] = line_str[self.keys_idx[i]]
      return line_info
  
file_path: mmocr/mmocr/utils/parsers.py
imports: import json
  import warnings
  from typing import Dict, Tuple
  from mmocr.registry import TASK_UTILS
  from mmocr.utils.string_utils import StringStripper
label_desc: Use image node_id 2 for calling the LineStrParser obj's underlying member method code with example usage: obj.__call__(in_str) and returns: line_info