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