def feature_line(self, corpus, guess, sentence):
        if self._sentence_hash != hash(sentence):
            self._sentence_hash = hash(sentence)
            tokenized = list(self.tokenize_and_censor(sentence))
            self._sentence_length = len(tokenized)
            assert self._sentence_length < kMAX_TEXT_LENGTH
            for ii, ww in enumerate(tokenized):
                self._sentence[ii] = ww

        norm_title = self.normalize_title(corpus, guess)
        if not self._corpora in norm_title or self._sentence_length==0:
            return ""
        else:
            guess_id = self._corpora[norm_title]
            return self._lm.feature(corpus, guess_id, self._sentence,
                                    self._sentence_length)
dataset/ETHPy150Open Pinafore/qb/clm/lm_wrapper.py/LanguageModelReader.feature_line/swapped operands of `in`