]> code.communitydata.science - covid19.git/blobdiff - transliterations/src/compile_transliterated_phrases.sh
Merge pull request #7 from kayleachampion/master
[covid19.git] / transliterations / src / compile_transliterated_phrases.sh
index 09f3bb5a66027bc46b5f179a6fe42e2b7a03e2f7..55fe211555b12d7a0d3040e51d93e0b9a6c5f7a3 100755 (executable)
@@ -12,4 +12,5 @@ echo "Searching for Wikidata entities using Google trends"
 python3 wikidata_search.py ../data/output/related_searches_rising.csv ../data/output/related_searches_top.csv --use-gtrends --output ../data/output/wikidata_search_results_from_gtrends.csv
 
 echo "Finding transliterations from Wikidata using sparql"
 python3 wikidata_search.py ../data/output/related_searches_rising.csv ../data/output/related_searches_top.csv --use-gtrends --output ../data/output/wikidata_search_results_from_gtrends.csv
 
 echo "Finding transliterations from Wikidata using sparql"
-python3 wikidata_transliterations.py  ../data/output/wikidata_search_results_from_gtrends.csv  ../data/output/wikidata_search_results.csv --topN 10 20 --output ../data/output/wikidata_entity_labels.csv
+python3 wikidata_transliterations.py  ../data/output/wikidata_search_results_from_gtrends.csv  ../data/output/wikidata_search_results.csv --topN 10 20 --output ../data/output/$(date '+%Y-%m-%d')_wikidata_entity_labels.csv
+

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