示例#1
0
 def load(self, filename):
     toolbox = SentimentAnalysisToolbox()
     filename += ".classifier"
     self.__classifier = toolbox.load_binary(filename)
示例#2
0
 def load(self, filename):
     toolbox = SentimentAnalysisToolbox()
     filename += ".classifier"
     self.__classifier = toolbox.load_binary(filename)
示例#3
0
 def load(self):
     toolbox = SentimentAnalysisToolbox()
     filename = '{}.classifier'.format(self.get_name())
     self.__classifier = toolbox.load_binary(filename)
     filename = '{}.vectorizer'.format(self.get_name())
     self.__vectorizer = toolbox.load_binary(filename)
示例#4
0
 def load(self):
     toolbox = SentimentAnalysisToolbox()
     filename = '{}.classifier'.format(self.get_name())
     self.__classifier = toolbox.load_binary(filename)
     filename = '{}.vectorizer'.format(self.get_name())
     self.__vectorizer = toolbox.load_binary(filename)