UniqueNewsFeed

所属分类:内容生成
开发工具:Jupyter Notebook
文件大小:13KB
下载次数:0
上传日期:2019-10-22 05:24:34
上 传 者sh-1993
说明:  这里的想法是创建一个公正、情绪平衡、不重复、相关的新闻提要,可以提供新闻...
(The idea here is to create an unbiased, sentiment balanced, non-repetitive, relevant news-feed that can provide news for any specified location by utilising the Twitter API. Twitter feed is chosen here because it is not organisation driven and has near instant updates. The program does the following. First, it authenticates the twitter access)

文件列表:
Dateopened.txt (27, 2019-04-10)
Datetoday.txt (27, 2019-04-10)
FutureGoal (540, 2019-04-10)
NewsBot.ipynb (8940, 2019-04-10)
Output sample1 (8150, 2019-04-10)
Sample Output 2 (15243, 2019-04-10)
Working on:Module specific (2293, 2019-04-10)
taglist.txt (1, 2019-04-10)

# UniqueNewsFeed The idea here is to create an unbiased, sentiment balanced, non-repetitive, relevant news-feed that can provide news for any specified location by utilising the Twitter API. Twitter feed is chosen here because it is not organisation driven and has near instant updates. The program does the following. First, it authenticates the twitter access credentials and gets the twitter 'app' running. Next, it jots down the date and time of the app being accessed, while simultaneously checking log of previous entry. If the dates don't match, it wipes the taglist(which is instrumental in keeping track of topics completed, will be explained later in this 'readme') and updates last entry log. It then asks user for the type of news expected, i.e, World, Country, State, District. It then proceeds to list out the news from that location by finding trending hashtags and using twitter api to search for it. It then provides topics which are unique with three options, to either have a sentiment balanced view(To avoid overwhelming negative or positive news), to view all top tweets or to skip the topics. As the topics for the day are added, the user find the number of topics yet to be read, decreasing. Also, if the topic is not in the language of the user's preference, the translated version is presented along with the original text with a note below that mentions that it has been translated. It also makes sure to censor any vulgar language. Then, the user is periodically given the option to quit the program.

近期下载者

相关文件


收藏者