X-Git-Url: https://code.communitydata.science/covid19.git/blobdiff_plain/033149776c8bebf2a566c36d4d4b0d3ab8c9c48f..20ad09d15575bc9e54877f61c3c8f0ae5866be17:/transliterations/src/compile_transliterated_phrases.sh diff --git a/transliterations/src/compile_transliterated_phrases.sh b/transliterations/src/compile_transliterated_phrases.sh index 55fe211..6d633ee 100755 --- a/transliterations/src/compile_transliterated_phrases.sh +++ b/transliterations/src/compile_transliterated_phrases.sh @@ -6,11 +6,11 @@ echo "Reading Google trends" python3 collect_trends.py echo "Searching for Wikidata entities using base_terms.txt" -python3 wikidata_search.py ../data/input/base_terms.txt --output ../data/output/wikidata_search_results.csv +python3 wikidata_search.py ../resources/base_terms.txt --output ../output/intermediate/wikidata_search_results.csv 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 +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 ../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 +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