zhifu gao
2024-04-24 861147c7308b91068ffa02724fdf74ee623a909e
fun_text_processing/text_normalization/zh/utils.py
@@ -1,12 +1,10 @@
import csv
import os
UNIT_1e01 = '十'
UNIT_1e02 = '百'
UNIT_1e03 = '千'
UNIT_1e04 = '万'
UNIT_1e01 = "十"
UNIT_1e02 = "百"
UNIT_1e03 = "千"
UNIT_1e04 = "万"
def get_abs_path(rel_path):
@@ -18,7 +16,7 @@
        
    Returns absolute path
    """
    return os.path.dirname(os.path.abspath(__file__)) + '/' + rel_path
    return os.path.dirname(os.path.abspath(__file__)) + "/" + rel_path
def load_labels(abs_path):