]> code.communitydata.science - covid19.git/commitdiff
update compile script
authorNathan TeBlunthuis <nathante@uw.edu>
Tue, 31 Mar 2020 22:27:21 +0000 (15:27 -0700)
committerNathan TeBlunthuis <nathante@uw.edu>
Tue, 31 Mar 2020 22:27:21 +0000 (15:27 -0700)
keywords/src/compile_transliterated_phrases.sh
keywords/src/wikidata_translations.py [moved from keywords/src/wikidata_transliterations.py with 100% similarity]

index 6d633eebbbcbcfa8f9b523aa8f016ddd3f114da7..cbc9e5a7d54bdd0616e0c6efb24a789b7e397c00 100755 (executable)
@@ -11,6 +11,6 @@ python3 wikidata_search.py ../resources/base_terms.txt --output ../output/interm
 echo "Searching for Wikidata entities using Google trends"
 python3 wikidata_search.py ../output/intermediate/related_searches_rising.csv ../output/intermediate/related_searches_top.csv --use-gtrends --output ../output/intermediate/wikidata_search_results_from_gtrends.csv
 
 echo "Searching for Wikidata entities using Google trends"
 python3 wikidata_search.py ../output/intermediate/related_searches_rising.csv ../output/intermediate/related_searches_top.csv --use-gtrends --output ../output/intermediate/wikidata_search_results_from_gtrends.csv
 
-echo "Finding transliterations from Wikidata using sparql"
-python3 wikidata_transliterations.py  ../output/intermediate/wikidata_search_results_from_gtrends.csv  ../output/intermediate/wikidata_search_results.csv --topN 10 20 --output ../output/csv/$(date '+%Y-%m-%d')_wikidata_entity_labels.csv
+echo "Finding translations from Wikidata using sparql"
+python3 wikidata_translations.py  ../output/intermediate/wikidata_search_results_from_gtrends.csv  ../output/intermediate/wikidata_search_results.csv --topN 10 20 --output ../output/csv/$(date '+%Y-%m-%d')_wikidata_item_labels.csv
 
 

Community Data Science Collective || Want to submit a patch?