Skip to content

purag/NiceBook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NiceBook

A Chrome extension that hides negative content on Facebook.

This is my first venture into Natural Language Processing, specifically Sentiment Analysis. To analyze the tone of passages in this extension, I'm using SentiWordNet.

Pseudo

  1. Iterate on each piece of content (i.e. facebook post)
  2. Iterate on each sentence
  3. Iterate on each word
  4. Remove insignificant contraction endings (like 're and 's)
  5. Determine weighted positive/negative score of each word
  6. Ignore common words (prepositions, conjunctions, etc)
  7. Look around the word for negation (not, isn't) or emphasis (very)
  8. Average the word scores for the sentence score
  9. Average the sentence scores for the passage score
  10. Check against threshold negative value and hide

TODO

  • Public votes on links—let users vote on whether a link leads to negative content, and hide it for future readers
  • Custom negativity treshold (hide extreme negativity, slight negativity, or all negativity)

About

A Chrome extension that hides negative content on Facebook.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published