def __init__(self, lt, config_file, pages_file, templates_file): """ @param pages_file the output file stream to which the page text is written. @param templates_file templates are written to this file stream. """ WikipediaParser.__init__(self, lt, config_file) self.pages_f = pages_file self.templates_f = templates_file
def __init__(self, lt, config_file, pages_file): """ @param pages_file the output file stream to which the page text is written. """ WikipediaParser.__init__(self, lt, config_file) self.pages_f = pages_file