liugz18
2024-07-18 d80ac2fd2df4e7fb8a28acfa512bb11472b5cc99
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