class SentimentAnalyzingService(object):

    def __init__(self):
        self.textSummarizer = SummarizeText()

    def summarizeText(self,textToBeSummarized):
        summarizedText = self.textSummarizer.summarizeText(textToBeSummarized, 3)
        return summarizedText
Example #2
0
class SentimentAnalyzingService(object):
    def __init__(self):
        self.textSummarizer = SummarizeText()

    def summarizeText(self, textToBeSummarized):
        summarizedText = self.textSummarizer.summarizeText(
            textToBeSummarized, 3)
        return summarizedText
 def __init__(self):
     self.textSummarizer = SummarizeText()
Example #4
0
 def __init__(self):
     self.textSummarizer = SummarizeText()