def _read_lines()

in IWSLT2022/scorer.py [0:0]


def _read_lines(file: str) -> List[str]:
    with open(file, "r") as file:
        raw_text = [line.strip() for line in file.readlines()]

    return raw_text