c0a5504ce6ff8a850eabd5a33488ccf535a55b4f,sumy/summarizers/edmundson_key.py,EdmundsonKeyMethod,_compute_significant_words,#EdmundsonKeyMethod#Any#,21

Before Change



        // compute frequencies of bonus words in document
        word_counts = Counter(words)
        word_frequencies = word_counts.values()

        // no frequencies means no significant words
        if not word_frequencies:
            return ()

After Change



    def _compute_significant_words(self, document, weight):
        // keep only stems contained in bonus words
        words = map(self.stem_word, document.words)
        words = filter(self._is_bonus_word, words)

        // compute frequencies of bonus words in document
        word_counts = Counter(words)
        word_frequencies = word_counts.values()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: miso-belica/sumy
Commit Name: c0a5504ce6ff8a850eabd5a33488ccf535a55b4f
Time: 2013-05-21
Author: miso.belica@gmail.com
File Name: sumy/summarizers/edmundson_key.py
Class Name: EdmundsonKeyMethod
Method Name: _compute_significant_words


Project Name: ilastik/ilastik
Commit Name: 5414d60c77b74c941846c228b0929ed8b8e2fd7e
Time: 2014-02-25
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/thresholdTwoLevels/opThresholdTwoLevels.py
Class Name: OpThresholdTwoLevels
Method Name: setupOutputs


Project Name: daniellerch/aletheia
Commit Name: 1d275bddd7349b765db88c76ec7dcfdf85de0f42
Time: 2020-11-07
Author: kevin.clark@gmail.com
File Name: aletheialib/attacks.py
Class Name:
Method Name: difference