-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Twitter monitor #457
Open
s1s1fo
wants to merge
9
commits into
CIRCL:master
Choose a base branch
from
s1s1fo:Twitter-Monitor
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Twitter monitor #457
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New module "TwitterMon" is added to /var/www/modules: It allows to monitor Twitter (no API needed) and check the results of the statistical and sentiment analysis. It provides three web pages(monitor, analyse, settings): - /var/www/modules/TwitterMon/templates/TwitterMon.html - /var/www/modules/TwitterMon/templates/TwitterMon_results.html - /var/www/modules/TwitterMon/templates/TwitterMon_settings.html Retrieving Tweets: - /var/www/modules/TwitterMon/TweetsImporter.py - /var/www/modules/TwitterMon/TM_Status.py Module configuration: - /var/www/modules/TwitterMon/config/TwitterMon.cfg
Statistical and Sentiment analysis are performed by the following files, once the Tweets are received in the queue: - TwitterAnalyzer.py - packages/Tweet.py Please note that the original Vader sentiment library is used due to the lack of emoji analysis in the ntlk.vader library.
Launch TwitterMon module at start-up
Subscribe to Redis Global for TwitterAnalyzer.py (in charge of statistical and sentiment analysis of Tweets from TwitterMon)
Install dependencies for TwitterMon. Please note that the original Vader sentiment library is used due to the lack of emoji analysis in the ntlk.vader library.
Codecov Report
@@ Coverage Diff @@
## master #457 +/- ##
=======================================
Coverage 12.02% 12.02%
=======================================
Files 74 74
Lines 7601 7601
=======================================
Hits 914 914
Misses 6687 6687 Continue to review full report at Codecov.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added a new module that allows to monitor the content published in Twitter either within a certain period of time or in real time, in addition to performing a sentiment analysis and a statistical analysis of the publications collected.
README
More information about the module features, instructions and more ... can be found here:
https://github.com/Sisifo-Stone/TwitterMon
TWITTERMON MODULE
New module "TwitterMon" is added to /var/www/modules:
It allows to monitor Twitter (no API needed) and check the results of the statistical and sentiment analysis.
It provides three web pages(monitor, analyse, settings):
Retrieving Tweets:
Module configuration:
Interface with AIL:
Auxiliary files:
TWEETS ANALYSIS
Statistical and Sentiment analysis are performed by the following files, once the Tweets are received in the queue:
Please note that the original Vader sentiment library is used due to the lack of emoji analysis in the ntlk.vader library.
AIL MODIFICATIONS
Modifications made to the AIL files are for launching the module, subscribe to Redis_Global, install dependencies and to display a link to the TwitterMon page: