def main():
usage = ('<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>')<EOL>parser = optparse.OptionParser(usage=usage)<EOL>parser.add_option('<STR_LIT>', default=None,<EOL>help='<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>')<EOL>parser.add_option('<STR_LIT>', type='<STR_LIT:int>', default=None,<EOL>help='<STR_LIT>'<EOL>'<STR_LIT>')<EOL>parser.add_option('<STR_LIT>', dest='<STR_LIT>', default='<STR_LIT>',<EOL>help='<STR_LIT>'<EOL>'<STR_LIT>')<EOL>(options, args) = parser.parse_args()<EOL>if len(args) != <NUM_LIT:1>:<EOL><INDENT>parser.error("<STR_LIT>")<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>xml_path = args[<NUM_LIT:0>]<EOL>client = MongoClient(options.host, options.port)<EOL>germanet_db = client[options.database_name]<EOL>lex_files, gn_rels_file, wiktionary_files, ili_files =find_germanet_xml_files(xml_path)<EOL>insert_lexical_information(germanet_db, lex_files)<EOL>insert_relation_information(germanet_db, gn_rels_file)<EOL>insert_paraphrase_information(germanet_db, wiktionary_files)<EOL>insert_lemmatisation_data(germanet_db)<EOL>insert_infocontent_data(germanet_db)<EOL>compute_max_min_depth(germanet_db)<EOL>client.close()<EOL>
Main function.