def pad_line_to_ontonotes(line, domain) -> List[str]:
    """
    Pad line to conform to ontonotes representation.
    """
    word_ind, word = line[ : 2]
    pos = 'XX'
    oie_tags = line[2 : ]
    line_num = 0
    parse = "-"
    lemma = "-"
    return [domain, line_num, word_ind, word, pos, parse, lemma, '-',\
            '-', '-', '*'] + list(oie_tags) + ['-', ]
def pad_line_to_ontonotes ( line , domain ) -> List [ str ] : word_ind , word = line [ : 2 ] pos = 'XX' oie_tags = line [ 2 : ] line_num = 0 parse = "-" lemma = "-" return [ domain , line_num , word_ind , word , pos , parse , lemma , '-' , '-' , '-' , '*' ] + list ( oie_tags ) + [ '-' , ]
Pad line to conform to ontonotes representation.