def tag(s, tokenize=True, encoding="utf-8", **kwargs):
    tags = []
    for sentence in parse(s, tokenize, True, False, False, False, encoding, **kwargs).split():
        for token in sentence:
            tags.append((token[0], token[1]))
    return tags
Returns a list of (token, tag)-tuples from the given string.
dataset/ETHPy150Open clips/pattern/pattern/text/nl/__init__.py/tag