Beispiel #1
0
def head_to_token(*args, **kwargs):
    from conllu.models import TokenList
    return TokenList.head_to_token(*args, **kwargs)
Beispiel #2
0
def head_to_token(sentence: TokenList) -> T.Dict[int, T.List[Token]]:
    return TokenList.head_to_token(sentence)