def emoticonSentScore(self, emoticon): Emo = Emoticons() if not emoticon: return None else: return Emo.getEmoticonSentiment(emoticon)