Skip to content

masonpawsey/Sylvstrr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sylvstrr

This project was a team effort by Mason Pawsey, Zak Worman, Tyler Sharp, and Randi Al Ghrer. We were presented with the Computer Science Crowd Favourite at Senior Design Expo by Dr Melissa Danforth, Department Chair and Dr Kathleen Madden, Dean, School of Natural Sciences, Mathematics, and Engineering. Our project was supervised by Dr Albert Cruz.

Personnel

Mason Pawsey - General development

Zak Worman - AI development

Tyler Sharp - General development

Randi Al Ghrer - Map development

Purpose

Our goal was to quantify how people from a specific location felt about a specific subject. We accomplished this by analysing the sentiments of Tweets people published; we chose Tweets due to their availability (many thanks to Seb Insua), their candidness, and their brevity.

Limitations

Our AI, while more accurate than a coin toss (based on randomly-selected Tweets and their classifications), did come with some limitations.

Literary Devices

Twitter, perhaps one of the most sarcastic corners of the Internet, sees a lot of euphemism, hyperbole, irony, and satire. Unfortunately our AI was fairly literal, making it difficult to weigh these literary devices for their "actual" meaning.

Memes

Image of Yaktocat

Emojis

We (Zak) generated a corpus file with emojis to give positive and negative weights to emojis, but again, they're often used in complex ways that we couldn't train our AI to understand.

For example, we may know that I'm dead 💀💀 just means that someone is having a right laugh; a computer, on the other hand might interpret that as the Tweeter is posting from the afterlife.

Language

As our team was only familiar with English and what we'll call "construction-site Spanish", we could only (somewhat) accurately train our AI to interpret English. Therefore, we limited our Tweet scraping to majority English-speaking cities.

Outcomes

Here is a good example of the current "Twitter outrage" over Blizzard's recent actions trending in Los Angeles and in Beijing.

Sylvstrr allows users to visually see trends of sentiment on a global level, for anything that people are Tweeting about.

Another example is during an Instagram outage:

https://i.imgur.com/o00Dm1u.png

versus normal Instagram operations: https://i.imgur.com/08SxmZc.png

The project is still live and under development by Mason Pawsey. The custom AI that was developed for this project was executed on servers at California State University, Bakersfield; however, the sentiment of Tweets is currently analyzed using Azure's Text Analysis API.

To do

  • Ability for users to edit their profile (avatar, common name instead of email, etc)

  • Bootstrap responsiveness

  • Share map as a picture to social media

  • Export map with a watermark for sylvstrr + image data (timestamp + query log)

  • Footer floats on mobile?

  • Text Twilio for account info

  • Store user image gallery

  • Export map as a high res image

  • Login button doesn't reset from :focus(?) when login fails

  • Delete account

  • Reset password function

  • 404 redirections

  • HTTPS

  • Favicon

  • 2FA

  • User stats page (more recent searches, most popular keyword & location)

  • User analytics

  • Recent searches not working with < 3 searches

  • Authenticate search.php

  • Track users searches

  • User accounts

  • Pull passwords out and store them in a .gitignore file

About

A Tweet-based sentiment analyser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published