def main(): data.city_corpus_dict() #seeds words table with city, word, prob(w/city) data.seed_words_table() data.city_tweet_corpus_dict() for city in cities: data.create_region_tweet_count(city) feature_selection.populate_db_with_features(city) data.create_tweet_total_count()
def update_features_in_db(cities): for city in cities: feature_selection.populate_db_with_features(city) print "Finished a city!"