Kun Zou
2024-12-21 b5ad7c81be2e24f255cac3d0ef0037bf88228366
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