def METHOD_NAME(data_path):
    mapping_txt_path = os.path.join(data_path, "mapping.txt")
    with open(mapping_txt_path, "r", encoding='utf-8') as f:
        actions = f.read().split("\n")[:-1]
    class2id_map = dict()
    for a in actions:
        class2id_map[a.split()[1]] = int(a.split()[0])
    return class2id_map