def __init__(self):
   self.filePointer = None
   self.EOF = False
   self.files = []
   path = config.corpora.path  
   self.files = FileUtils.getFiles(path)
   self.openNextFile()
Esempio n. 2
0
 def __init__(self):
   self.files = []
   path = config.corpora.path  
   self.files = FileUtils.getFiles(path, extensions = ['.xml'])