From d20bf7adaf5c77ee8e5240f8c3984f5466ff5e84 Mon Sep 17 00:00:00 2001 From: Pokiros <jacques.fize@gmail.com> Date: Wed, 7 Jun 2017 15:10:22 +0200 Subject: [PATCH] uncomment --- Gazetteer.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Gazetteer.py b/Gazetteer.py index 316ecd8..b27635d 100644 --- a/Gazetteer.py +++ b/Gazetteer.py @@ -257,20 +257,20 @@ def main(): start=time.time() # Import the data sources required to be harvested for creation of gazetteer -# import_data('./temp/labels.txt','./temp/class_codes.txt','./temp/labels.json') + import_data('./temp/labels.txt','./temp/class_codes.txt','./temp/labels.json') # Create a first basic gazeteer -# basic_gazetteer("./temp/labels.json", wikidata_dump,'./temp/output.json','resources/wd_page_rank.json') + basic_gazetteer("./temp/labels.json", wikidata_dump,'./temp/output.json','resources/wd_page_rank.json') # Associate geonames classe to the instance_of(P31) values -# extract_classes(wikidata_dump,'./temp/class_codes.txt','./temp/output.json','./temp/class_mapped.json') + extract_classes(wikidata_dump,'./temp/class_codes.txt','./temp/output.json','./temp/class_mapped.json') # Add class to each entity -# add_classes('./temp/class_mapped.json','./temp/output.json','temp/output_temp.json') + add_classes('./temp/class_mapped.json','./temp/output.json','temp/output_temp.json') # Extract missing wikidata IDs in the boundary data -# extract_missing_WikiIDS(wikidata_dump,'./temp/found_missing_links.json','./temp/missing_Wikidata_IDS.txt') -# missing_wikidata_IDS('./temp/missing_Wikidata_IDS.txt','./osm-boundaries/meta.tsv','temp/meta_all.csv') + extract_missing_WikiIDS(wikidata_dump,'./temp/found_missing_links.json','./temp/missing_Wikidata_IDS.txt') + missing_wikidata_IDS('./temp/missing_Wikidata_IDS.txt','./osm-boundaries/meta.tsv','temp/meta_all.csv') # Adding properties from configuration_file add_properties(wikidata_dump,'temp/output_temp.json','temp/finale_output.json','Configuration/configuration.json') -- GitLab