def parse(self, text):
<EOL>if text.strip() == "<STR_LIT>":<EOL><INDENT>return "<STR_LIT>"<EOL><DEDENT>elif text.strip() in PUNCTUATION:<EOL><INDENT>_sym = text.strip()<EOL>if _sym in tuple('<STR_LIT>'):<EOL><INDENT>_tag = "<STR_LIT:.>"<EOL><DEDENT>else:<EOL><INDENT>_tag = _sym<EOL><DEDENT>if self.lemmata:<EOL><INDENT>return "<STR_LIT>".format(_sym, _tag)<EOL><DEDENT>else:<EOL><INDENT>return "<STR_LIT>".format(_sym, _tag)<EOL><DEDENT><DEDENT>if self.tokenize:<EOL><INDENT>_tokenized = "<STR_LIT:U+0020>".join(self.tokenizer.tokenize(text))<EOL><DEDENT>else:<EOL><INDENT>_tokenized = text<EOL><DEDENT>_parsed = pattern_parse(_tokenized,<EOL>tokenize=False,<EOL>tags=self.tags, chunks=self.chunks,<EOL>relations=self.relations, lemmata=self.lemmata,<EOL>encoding=self.encoding, tagset=self.tagset)<EOL>if self.pprint:<EOL><INDENT>_parsed = pattern_pprint(_parsed)<EOL><DEDENT>return _parsed<EOL>
Parses the text.

        ``pattern.de.parse(**kwargs)`` can be passed to the parser instance and
        are documented in the main docstring of
        :class:`PatternParser() <textblob_de.parsers.PatternParser>`.

        :param str text: A string.