55fcc4c981b8ec5a84e0886141fb0ed2b892de9e,vaderSentiment/vaderSentiment.py,SentiText,_words_and_emoticons,#SentiText#,189
Before Change
Does not preserve punc-plus-letter emoticons (e.g. :D)
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):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
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: dataiku/dataiku-contrib
Commit Name: 42910c039a97258e27f01949a35ecde2faf46ef5
Time: 2018-11-15
Author: redaffane@gmail.com
File Name: sentence-embedding/custom-recipes/sentence-embedding-similarity/recipe.py
Class Name:
Method Name:
Project Name: dataiku/dataiku-contrib
Commit Name: 2de92392c7c725299874ad25c53d9349a2536042
Time: 2018-11-13
Author: redaffane@gmail.com
File Name: sentence-embedding/custom-recipes/sentence-embedding-similarity/recipe.py
Class Name:
Method Name: