X-Git-Url: https://code.communitydata.science/covid19.git/blobdiff_plain/98b07b8098611287eaa775b09622d1f3514303c8..17c3f75389d7cadba4400ee5a0d2281f71fcdc4c:/keywords/src/compile_transliterated_phrases.sh?ds=inline diff --git a/keywords/src/compile_transliterated_phrases.sh b/keywords/src/compile_transliterated_phrases.sh old mode 100755 new mode 100644 index 6d633ee..14a225d --- a/keywords/src/compile_transliterated_phrases.sh +++ b/keywords/src/compile_transliterated_phrases.sh @@ -5,12 +5,12 @@ echo "Reading Google trends" python3 collect_trends.py -echo "Searching for Wikidata entities using base_terms.txt" +echo "Searching for Wikidata items using base_terms.txt" python3 wikidata_search.py ../resources/base_terms.txt --output ../output/intermediate/wikidata_search_results.csv -echo "Searching for Wikidata entities using Google trends" +echo "Searching for Wikidata items 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