From: Nathan TeBlunthuis Date: Tue, 31 Mar 2020 22:27:21 +0000 (-0700) Subject: update compile script X-Git-Url: https://code.communitydata.science/covid19.git/commitdiff_plain/55110c7f21a215db2ec3e3512ff03b7e22685069?ds=sidebyside;hp=4fd516a700501e0b934ddc7d90c27dfa5b87e7f4 update compile script --- diff --git a/keywords/src/compile_transliterated_phrases.sh b/keywords/src/compile_transliterated_phrases.sh index 6d633ee..cbc9e5a 100755 --- a/keywords/src/compile_transliterated_phrases.sh +++ b/keywords/src/compile_transliterated_phrases.sh @@ -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 "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 diff --git a/keywords/src/wikidata_transliterations.py b/keywords/src/wikidata_translations.py similarity index 100% rename from keywords/src/wikidata_transliterations.py rename to keywords/src/wikidata_translations.py