示例#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
示例#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
示例#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
示例#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