def METHOD_NAME(cs_file, use_both=False):
    count = 0
    with codecs.open(cs_file, encoding="utf-8") as ch:
        ar = {}
        c = 0
        for line in ch:
            c += 1
            line = line.rstrip()
            if len(line) == 0:
                continue
            if line[0] == "#":
                continue
            if line[0:2] == "\\#":
                line = "#" + line[2:]
            a = line.split("\t")
            if len(a) >= 4:
                if use_both:
                    ar[a[0]] = [
                        c,
                        a[2].replace("[", "").replace("]", "") + " * " + a[3],
                    ]
                else:
                    ar[a[0]] = [c, a[3]]
                count += 1
    return ar