def set_adaptive(self, lex, learning_time=3, use_hashtags=True, new_terms_no=10):
        self.adaptive = True
        self.lex_set = set(lex)
        self.terms_no = new_terms_no
        self.use_hashtags = use_hashtags

        self.start_time = datetime.datetime.now()
        self.end_time = self.start_time + datetime.timedelta(hours=learning_time)
        print (self.start_time,self.end_time)%"Learning interval between %s to %s"

        self.terms_fd = nltk.FreqDist()
        self.terms = []
dataset/ETHPy150Open sajao/CrisisLex/src-collect/adaptive_collect.py/AdaptiveListener.set_adaptive/swapped operands of `%`