Yabin Li
2024-09-26 5b53b8fb7b7e8439da16e3288ea53759d7fa1229
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