Skip to content

reid-fu/projectKindness

Repository files navigation

projectKindness

Chrome plugin that reminds people when they're about to post something offensive

Architecture

  • AWS EC2 instance hosts server that analyzes text for harassment potential
  • MySQL (later Amazon RDS) stores data used for text analysis
  • Chrome plugin scrapes and sends data from textboxes
  • Web development framework with node.js, HTML, CSS
  • Backend developed in JavaScript

Workflow

  1. User types text in textbox. As user is typing, Chrome plugin sends text to server.
  • Send what user has typed so far every 7 characters
  1. Server filters text for nouns, verbs, adjectives, adverbs, participles, and interjections
  • Part of speech tagging done using Stanford CoreNLP. Tags follow Penn Treebank.
  • Noun tags start with "NN". Verb tags start with "VB". Adjectives start with "JJ".
  • Adverbs start with "RB". Participles (adjectives/nouns derived from verbs) are "RP". Interjections are "UH".
  1. Server gets sentiment score for filtered text
  • If filtered text not found in cache, call Alchemy API to get score. Otherwise use data in cache.
  1. Server returns score to client. Client changes color based on score. When user stops typing, send message.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published