From 55110c7f21a215db2ec3e3512ff03b7e22685069 Mon Sep 17 00:00:00 2001 From: Nathan TeBlunthuis Date: Tue, 31 Mar 2020 15:27:21 -0700 Subject: [PATCH] update compile script --- keywords/src/compile_transliterated_phrases.sh | 4 ++-- ...{wikidata_transliterations.py => wikidata_translations.py} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename keywords/src/{wikidata_transliterations.py => wikidata_translations.py} (100%) diff --git a/keywords/src/compile_transliterated_phrases.sh b/keywords/src/compile_transliterated_phrases.sh index 6d633ee..cbc9e5a 100755 --- a/keywords/src/compile_transliterated_phrases.sh +++ b/keywords/src/compile_transliterated_phrases.sh @@ -11,6 +11,6 @@ python3 wikidata_search.py ../resources/base_terms.txt --output ../output/interm 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 +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 diff --git a/keywords/src/wikidata_transliterations.py b/keywords/src/wikidata_translations.py similarity index 100% rename from keywords/src/wikidata_transliterations.py rename to keywords/src/wikidata_translations.py -- 2.39.5