def get_matching_phrases()

in IWSLT2022/scorer.py [0:0]


def get_matching_phrases(
    hyp: str,
    anno_ref: str,
    tok_split: bool=True,
    phrase_regex: Pattern=FORMALITY_PHRASES