code: 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
docs: Returns a list of (token, tag)-tuples from the given string.