55fcc4c981b8ec5a84e0886141fb0ed2b892de9e,vaderSentiment/vaderSentiment.py,SentiText,_words_and_emoticons,#SentiText#,189

Before Change


        
        wes = self.text.split()
        words_punc_dict = self._words_plus_punc()
        wes = [we for we in wes if len(we) > 1]
        for i, we in enumerate(wes):
            if we in words_punc_dict:
                wes[i] = words_punc_dict[we]
        return wes


class SentimentIntensityAnalyzer(object):

After Change


            Does not preserve punc-plus-letter emoticons (e.g. :D)
        
        wes = self.text.split()
        stripped = list(map(self._strip_punc_if_word, wes))
        return stripped

class SentimentIntensityAnalyzer(object):
    
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 8

Instances


Project Name: cjhutto/vaderSentiment
Commit Name: 55fcc4c981b8ec5a84e0886141fb0ed2b892de9e
Time: 2018-09-06
Author: christopherwong888@gmail.com
File Name: vaderSentiment/vaderSentiment.py
Class Name: SentiText
Method Name: _words_and_emoticons


Project Name: dit/dit
Commit Name: d738388c3ac14684d384b05d7e03417a0edffdd1
Time: 2016-05-11
Author: ryangregoryjames@gmail.com
File Name: dit/multivariate/dilworth.py
Class Name:
Method Name: dilworth


Project Name: etal/cnvkit
Commit Name: 2e586562a72a57eaad539f7c2346ff0ee2df3389
Time: 2016-09-15
Author: eric.talevich@gmail.com
File Name: cnvlib/segmentation/__init__.py
Class Name:
Method Name: do_segmentation


Project Name: bashtage/linearmodels
Commit Name: 1345f1b1b41c047a95deff2442283025c3f6269f
Time: 2019-03-12
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/tests/panel/test_panel_ols.py
Class Name:
Method Name: