def METHOD_NAME(self,
           file_path: str,
           separator: str = ',',
           format: str = 'x1,y1,x2,y2,x3,y3,x4,y4,trans',
           encoding='utf-8') -> Union[Dict, str]:
    """A basic loader designed for .txt format annotation. It greedily
    extracts information separated by separators.
    Args:
        file_path (str): Path to the txt file.
        separator (str, optional): Separator of data. Defaults to ','.
        format (str, optional): Annotation format.
            Defaults to 'x1,y1,x2,y2,x3,y3,x4,y4,trans'.
        encoding (str, optional): Encoding format. Defaults to 'utf-8'.
    Yields:
        Iterator[Union[Dict, str]]: Original text line or a dict containing
        the information of the text line.
    """
    keys = format.split(separator)
    with open(file_path, 'r', encoding=encoding) as f:
        for line in f.readlines():
            line = line.strip()
            values = line.split(separator)
            values = values[:len(keys) -
                            1] + [separator.join(values[len(keys) - 1:])]
            if line:
                yield dict(zip(keys, values))