Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.
/ sentimentext Public archive

Sentimentext is a browser extension that automatically warns users about those news articles that linguistically resemble the style of a fake news.

License

Notifications You must be signed in to change notification settings

okch-codes/sentimentext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python application

Sentimentext (alpha)

Sentimentext is a browser extension that automatically warns users about those news articles that linguistically resemble the style of a fake news.

Check the emotional content of your news

Logo

Sentimentext Logo

Description

Sentimentext is a browser extension that automatically warns users about those news articles that linguistically resemble the style of a fake news. Sentimentext scans the content of a webpage and analyses how emotionally loaded such content is by looking at its narrative style, the pattern of adjectives and syntaxes used. Sentimentext does not tell whether a news is fake or not: we do not want to tell people what to think, but give them a tool that helps them to think.

Fake news are found to purposefully employ emotional jargon and emotional narratives to hamper logical-thinking and foster emotional responses istead. They want to make you feel something. The emotional load of a text is usually analysed with a machine learning technique called sentiment analysis, which scores text based on two values: polarity and subjectivity. Several studies show how fake news are likely to have negative polarity [Kapusta et al. 2020] and high subjectivity [Volkova et al. 2017]. We want to use this distinctive emotional content of fake news to fight misinformation and provide citizens with a simple tool which alerts them of such possible suspicious behaviour.

Getting started

Requirements

  • Python >= 3.7.x
  • Google Chrome

Backend deployment

  1. Place in the project directory
  2. Install dependencies with pip install -r requirements.txt
  3. launch the REST services with python nlp\__init__.py

Chrome Extension Installation

  1. Go to chrome://extensions
  2. Enable Developer mode
  3. Click on Load unpacked and browse to the project folder chrome-extension, where it's placed manifest.json

Sentimentext's Chrome extension notification preview

Extension preview


Software License

Copyright (c) the respective contributors, as shown by the AUTHORS file.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

Sentimentext is a browser extension that automatically warns users about those news articles that linguistically resemble the style of a fake news.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published