游雁
2024-06-13 5de8bfdcd8a617ac13c13478505401bbf4e57472
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