class SentimentAnalyzingService(object): def __init__(self): self.textSummarizer = SummarizeText() def summarizeText(self,textToBeSummarized): summarizedText = self.textSummarizer.summarizeText(textToBeSummarized, 3) return summarizedText
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()