Annotates the given list of tokens with word lemmata.
(self, tokens, **kwargs)
| 551 | return find_relations(tokens) |
| 552 | |
| 553 | def find_lemmata(self, tokens, **kwargs): |
| 554 | """ Annotates the given list of tokens with word lemmata. |
| 555 | """ |
| 556 | return [token + [token[0].lower()] for token in tokens] |
| 557 | |
| 558 | def parse(self, s, tokenize=True, tags=True, chunks=True, relations=False, lemmata=False, encoding="utf-8", **kwargs): |
| 559 | """ Takes a string (sentences) and returns a tagged Unicode string (TaggedString). |
no outgoing calls