def add_word(self, w):
        if w in self.words:
            return self.words[w]
        else:
            self.indexfw.write(w+'\n')
            t = self.count
            self.count += 1
            self.words[w] = t
            return t
dataset/ETHPy150Open uwescience/raco/c_test_environment/c_index_strings.py/WordIndexer.add_word/original