X-Git-Url: https://code.communitydata.science/covid19.git/blobdiff_plain/033149776c8bebf2a566c36d4d4b0d3ab8c9c48f..98b07b8098611287eaa775b09622d1f3514303c8:/transliterations/src/compile_transliterated_phrases.sh diff --git a/transliterations/src/compile_transliterated_phrases.sh b/transliterations/src/compile_transliterated_phrases.sh deleted file mode 100755 index 55fe211..0000000 --- a/transliterations/src/compile_transliterated_phrases.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -# For now these scripts don't accept command line arguments. It's an MVP - -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 - -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_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 -