def _tokenize_mteval_13a(segment):
norm = segment.rstrip()<EOL>norm = norm.replace('<STR_LIT>', '<STR_LIT>')<EOL>norm = norm.replace('<STR_LIT>', '<STR_LIT>')<EOL>norm = norm.replace('<STR_LIT:\n>', '<STR_LIT:U+0020>')<EOL>norm = norm.replace('<STR_LIT>', '<STR_LIT:">')<EOL>norm = norm.replace('<STR_LIT>', '<STR_LIT:&>')<EOL>norm = norm.replace('<STR_LIT>', '<STR_LIT:<>')<EOL>norm = norm.replace('<STR_LIT>', '<STR_LIT:>>')<EOL>norm = u'<STR_LIT>'.format(norm)<EOL>norm = re.sub(r'<STR_LIT>', '<STR_LIT>', norm)<EOL>norm = re.sub(r'<STR_LIT>', '<STR_LIT>', norm)<EOL>norm = re.sub(r'<STR_LIT>', '<STR_LIT>', norm)<EOL>norm = re.sub(r'<STR_LIT>', '<STR_LIT>', norm)<EOL>norm = re.sub(r'<STR_LIT>', '<STR_LIT:U+0020>', norm)<EOL>norm = re.sub(r'<STR_LIT>', '<STR_LIT>', norm)<EOL>norm = re.sub(r'<STR_LIT>', '<STR_LIT>', norm)<EOL>return norm<EOL>
r"""
    Tokenizes a string following the tokenizer in mteval-v13a.pl.
    See https://github.com/moses-smt/mosesdecoder/"
           "blob/master/scripts/generic/mteval-v14.pl#L917-L942
    Parameters
    ----------
    segment: str
        A string to be tokenized

    Returns
    -------
    The tokenized string