code: def __init__(
      self,
      filename,
      keyword=None,
      separator=None,
      position=None,
      range="-1",
  ):
      if filename is None:
          raise Exception("Please specify the filename!")
  
      if keyword is None:
          raise Exception("Please specify the keyword!")
  
      self.filename = filename
      self.keyword = keyword
      self.separator = separator
      self.position = position
      self.range = range
      self.records = None
      self._distil()
  
file_path: PaddleOCR/benchmark/analysis.py
imports: from __future__ import print_function
  import argparse
  import json
  import os
  import re
  import traceback
label_desc: Use image node_id 1 to create a new TimeAnalyzer object from inherited base classes: object with example: obj = TimeAnalyzer(filename, keyword, separator, position, range)