Inspiration

The end goal was to learn something new. Something that we didn't all have experience with, even if it meant not completing a project in time.

What it does

The user enters a keyword and clicks "submit." Then, the program displays the top 6 most relevant tweets containing that keyword and places each tweet in its own flash card that is displayed as a cover flow on the home page. On each card, there is also a score of the polarity and subjectivity of each tweet to determine the overall attitude towards the keyword that was entered. Below the cover flow, there's a horizontal bar graph that displays the average polarity of all 6 tweets. This graph and the tweets on the cards change for every new keyword entered.

How we built it

Nabdeep did all of the front-end UI work. This included the cover flow animation and the bar graph. Nathaniel, Tarun, and I (Edward) worked together to get the Twitter Search API working so that the tweets can be fetched and stored for display. Lastly, I connected the fetched tweets from the API to the front end HTML display using Flask in conjunction with python. Overall, however, the team contributed equally to all parts of the project.

Challenges we ran into

The first major challenge we ran into was getting the Twitter Search API to work properly. Multiple errors were given until we realized there existed a much simpler method to fetch these tweets while still using the API. Second, getting an overall understanding of how to integrate Flask to connect the API's results to the front-end's HTML files was challenging as this required an understanding of HTML, Python, and Flask syntax.

Accomplishments that we're proud of

We are very proud to have gotten the Twitter Search API working in the first place. We were pretty lucky to have discovered the simpler version of what we were trying to do. We're also proud to have a beautiful UI thanks to Nabdeep. Lastly, we are proud to have a working project that successfully does what we wanted it to do.

What we learned

We learned how to easily fetch tweets through keywords using the API, how to implement new front end designs with CSS and Javascript, and how to use Flask to connect our python files to the HTML files.

What's next for Sentimentally

While we were pretty satisfied with the UI, it can still be better, especially the text on the cards themselves, and the bar graph on the bottom of the page. Next, we would love to see what other areas we could apply this kind of capability of determining polarity and subjectivity among user input, and perhaps apply it to some kind of prediction software.

Built With

Share this project:
×

Updates