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