c948bc72ebd07dc4c4f41d905bab0de38163779c,sumy/parsers/plaintext.py,PlaintextParser,_to_sentences,#PlaintextParser#Any#,80

Before Change


        text = text.strip()
        if text:
            sentences = self.tokenize_sentences(text)
            sentence_objects += map(self._to_sentence, sentences)

        return sentence_objects

    def _to_sentence(self, text):

After Change



        text = text.strip()
        if text:
            sentence_objects.extend(self._to_sentence_objects(text))

        return sentence_objects

    def _to_sentence_objects(self, text):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: miso-belica/sumy
Commit Name: c948bc72ebd07dc4c4f41d905bab0de38163779c
Time: 2020-11-21
Author: miso.belica@gmail.com
File Name: sumy/parsers/plaintext.py
Class Name: PlaintextParser
Method Name: _to_sentences


Project Name: miso-belica/sumy
Commit Name: eee9f1bbdaa88fa4fde7c3c8096a656804baf9e1
Time: 2013-05-21
Author: miso.belica@gmail.com
File Name: sumy/parsers/html.py
Class Name: HtmlParser
Method Name: document


Project Name: pantsbuild/pants
Commit Name: 82e549d1b9263c3f170533613b1bc0ce545541e2
Time: 2014-11-20
Author: benjyw@gmail.com
File Name: src/python/pants/backend/jvm/tasks/jvm_compile/java/java_compile.py
Class Name: JavaCompile
Method Name: compile