def _parse_text(self, text):
if isinstance(self.tokenizer, PatternTokenizer):<EOL><INDENT>parsed_text = pattern_parse(text, tokenize=True, lemmata=False)<EOL><DEDENT>else:<EOL><INDENT>_tokenized = []<EOL>_sentences = sent_tokenize(text, tokenizer=self.tokenizer)<EOL>for s in _sentences:<EOL><INDENT>_tokenized.append("<STR_LIT:U+0020>".join(self.tokenizer.tokenize(s)))<EOL><DEDENT>parsed_text = pattern_parse(<EOL>_tokenized,<EOL>tokenize=False,<EOL>lemmata=False)<EOL><DEDENT>return parsed_text.split('<STR_LIT:\n>')<EOL>
Parse text (string) and return list of parsed sentences (strings).

        Each sentence consists of space separated token elements and the
        token format returned by the PatternParser is WORD/TAG/PHRASE/ROLE/(LEMMA)
        (separated by a forward slash '/')

        :param str text: A string.