An open API service indexing awesome lists of open source software.

https://github.com/shatrunjai/ShinySentimentAnalysis

Shiny app for text analytics
https://github.com/shatrunjai/ShinySentimentAnalysis

Last synced: 4 months ago
JSON representation

Shiny app for text analytics

Awesome Lists containing this project

README

        

# ShinySentimentAnalysis
Shiny app for John Hancock Text Analytics Core

################################################################################################################
# Description: R code to create a shiny app for text analytics including sentiment analysis ####################
# Author: Shatrunjai P Singh ####################
# Date: 12/17/2016 ####################
# File: server.R file and ui.R file ####################
################################################################################################################
To run this app:
a) Open R, and
b) Type in the following commands:

install.packages("shiny")
library(shiny)
runGitHub( "ShinySentimentAnalysis", "shatrunjai")

################################################################################################################

Here I use shiny to develop an app which can do the following:
- Perform sentiment analysis on words,
- Perform sentiment analysis at sentense level,
- Get sentiment across a document
- Creat word frequencies
- Create a word cloud
- Mark positive and negative lines within text

I use sentimentr, worldcloud, topicmodeller and tm packages for this analysis.