kongdeqiang
7 天以前 28ccfbfc51068a663a80764e14074df5edf2b5ba
fun_text_processing/text_normalization/de/utils.py
@@ -1,4 +1,3 @@
import csv
import os
@@ -11,13 +10,13 @@
    Args:
        rel_path: relative path to this file
    Returns absolute path
    """
    abs_path = os.path.dirname(os.path.abspath(__file__)) + os.sep + rel_path
    if not os.path.exists(abs_path):
        logging.warning(f'{abs_path} does not exist')
        logging.warning(f"{abs_path} does not exist")
    return abs_path