Create sentiment graph for any account!steemCreated with Sketch.

in #utopian-io6 years ago (edited)

Sentiment analysis the the algorithmic approach to determining whether text is positive or negative. In other words, when you post something, we can use computers to figure out how positive or negative the language you use is.

You can try it out for any account here .

Just type in any account name and click "Generate".

Here's the sentiment analysis for @codingdefined

Screen Shot 2018-03-01 at 10.23.00 AM.png

New Features

  • What feature(s) did you add?

The new feature is the sentiment analysis, displayed in a graph. There was also some code cleanup and integration of build tooling to make the overall code cleaner.

It uses the sentiment npm package to create the scores for each post and comment and then Chart.js to display the results.

The relevant commits:

  1. Refactor + Webpack/Gulp In this commit, I added Webpack & Gulp to significantly improve the tooling. The code before required me to copy everything into a single html file to get the gitpage working. With gulp and webpack, building is very easy: gulp build and everything can be split into files that clearly group the purpose. It also allowed me to get several of the dependencies from npm instead of copy-pasting the source.
  2. Sentiment Analysis This is the commit where I actually added the sentiment analysis with relevant graph.
  3. Refactor sentiment analysis In this commit, I moved code into separate files to reduce the complexity and scope of the initial file.

Next steps

There are a few directions I could go in, please let me know if any particular feature would be useful.

  • Create sentiment analysis search by topic
  • Improve the ui: separate pages and localstorage saving of the names (and many more)
  • Improve tooling: adding typescript & test framework



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

It would be nice if you can give some examples of text for both positive and negative so that people will understand what "Sentiment analysis" is all about.

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Hey @egmracer01 I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.28
TRX 0.12
JST 0.033
BTC 69849.38
ETH 3709.01
USDT 1.00
SBD 3.73