Commit 65b5a19d authored by Decoupes Remy's avatar Decoupes Remy
Browse files

embedding with Influenza

parent fbdbbacc
......@@ -327,12 +327,17 @@ if __name__ == '__main__':
"""
path_param_keywords = "/home/rdecoupe/PycharmProjects/mood-tweets-collect/params/keywordsFilter.csv"
params_kw = pd.read_csv(path_param_keywords)
logger.info("time series by disease")
logger.info("Work around sentence embedding")
# For Avian Influenza:
disease = "Avian influenza"
list_of_keywords = ['Fowl', 'Bird', 'Avian', 'HPAI', 'FowlPlague', 'AvianInfluenza', 'avianInfluenza',
'Avianflu', 'bird', 'BirdFlu']
corpus_tweets = get_tweet_content_by_disease(jinja_env, es_url, index_es, list_of_keywords, disease)
visualize_sentence_through_embedding(corpus_tweets)
# for Influenza
disease = "Influenza"
list_of_keywords = ['Flu', 'Influenza', 'influenzavirus', 'InfluenzaVirus', 'H1N1', 'H2N2', 'H3N2', 'H3N8', 'H5N1',
'H5N2', 'H7N7', 'H9N2', 'H1N2', 'H7N1', 'H7N2', 'H7N3', 'H10N7', 'H7N9', 'H10N8', 'H5N8']
corpus_tweets = get_tweet_content_by_disease(jinja_env, es_url, index_es, list_of_keywords, disease)
visualize_sentence_through_embedding(corpus_tweets)
logger.info("EDA stop")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment