dand199 commited on
Commit
a5c709d
1 Parent(s): 5243d05

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ Hence, implementing named entity recognition before sentiment analysis helps to
37
 
38
  Using RNN-based approach can also overcome lexicon issues, but it also takes more resources.
39
  '''
40
- dat_name = 'E:/Project/NLP/news_sentiment_analytics/news_db/merged_news_data_' + datetime.today().strftime('%Y-%m-%d') + '.csv'
41
  news = pd.read_csv(dat_name, on_bad_lines='skip')
42
  news[['pos_sent', 'neg_sent']] = news[['pos_sent', 'neg_sent']].fillna('')
43
  news['clean_content'] = news.clean_content.apply(lambda x: ast.literal_eval(x))
 
37
 
38
  Using RNN-based approach can also overcome lexicon issues, but it also takes more resources.
39
  '''
40
+ dat_name = './news_db/merged_news_data_' + datetime.today().strftime('%Y-%m-%d') + '.csv'
41
  news = pd.read_csv(dat_name, on_bad_lines='skip')
42
  news[['pos_sent', 'neg_sent']] = news[['pos_sent', 'neg_sent']].fillna('')
43
  news['clean_content'] = news.clean_content.apply(lambda x: ast.literal_eval(x))