Beispiel #1
0
 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
Beispiel #2
0
 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
Beispiel #3
0
 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
Beispiel #4
0
 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