rename 'transliterations' to 'keywords'

This commit is contained in:
2020-03-31 15:15:01 -07:00
parent 09d171608f
commit 98b07b8098
21 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#!/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 ../resources/base_terms.txt --output ../output/intermediate/wikidata_search_results.csv
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