def __init__(self, directory: Directory): TermVectorsReader.__init__(self, directory) self.inputFile = self.d.openInput('compressIndex')
def __init__(self, directory: Directory): TermVectorsReader.__init__(self, directory) self.documents = pickle.load(self.d.openInput('dummy')) self.docIter = iter(self.documents)