GithubHelp home page GithubHelp logo

day20-stanford-sentiment-analysis-demo's Introduction

Day 20 Demo Application##

To deploy it on OpenShift run the following command.

$ rhc create-app sentimentsapp jbosseap --from-code=https://github.com/shekhargulati/day20-stanford-sentiment-analysis-demo.git

If you have access to medium gears then you can use following command.

$ rhc create-app sentimentsapp jbosseap -g medium --from-code=https://github.com/shekhargulati/day20-stanford-sentiment-analysis-demo.git

Then set environment variables. Create new twitter app by going to http://dev.twitter.com/apps/new

$ rhc env set TWITTER_OAUTH_ACCESS_TOKEN=<please enter value> -a sentimentsapp

$ rhc env set TWITTER_OAUTH_ACCESS_TOKEN_SECRET=<please enter value> -a sentimentsapp

$rhc env set TWITTER_OAUTH_CONSUMER_KEY=<please enter value> -a sentimentsapp

$rhc env set TWITTER_OAUTH_CONSUMER_SECRET=<please enter value> -a sentimentsapp

day20-stanford-sentiment-analysis-demo's People

Contributors

shekhargulati avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

day20-stanford-sentiment-analysis-demo's Issues

Avoid having to copy models into your project...

You might want to add this additional dependency in your pom.xml to avoid having to copy the models from stanford and have all come down with maven.

<dependency>
            <groupId>edu.stanford.nlp</groupId>
            <artifactId>stanford-corenlp</artifactId>
            <version>${stanford.nlp.version}</version>
            <classifier>models</classifier>
</dependency>

JBOSS Error

2015/05/13 06:51:56,980 INFO [org.jboss.as.server](ServerService Thread Pool -- 38) JBAS015859: Deployed "ROOT.war" (runtime-name : "ROOT.war")
2015/05/13 06:51:56,984 INFO [org.jboss.as.controller](Controller Boot Thread) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.deployment.unit."ROOT.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ROOT.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "ROOT.war"
2015/05/13 06:51:57,120 INFO [org.jboss.as](Controller Boot Thread) JBAS015961: Http management interface listening on http://127.9.197.1:9990/management
2015/05/13 06:51:57,120 INFO [org.jboss.as](Controller Boot Thread) JBAS015951: Admin console listening on http://127.9.197.1:9990
2015/05/13 06:51:57,120 ERROR [org.jboss.as](Controller Boot Thread) JBAS015875: JBoss EAP 6.4.0.GA (AS 7.5.0.Final-redhat-21) started (with errors) in 21237ms - Started 204 of 323 services (1 services failed or missing dependencies, 144 services are lazy, passive or on-demand)
2015/05/13 06:51:57,277 INFO [org.jboss.as.server.deployment](MSC service thread 1-7) JBAS015877: Stopped deployment ROOT.war (runtime-name: ROOT.war) in 59ms
2015/05/13 06:51:57,380 INFO [org.jboss.as.server](DeploymentScanner-threads - 2) JBAS015858: Undeployed "ROOT.war" (runtime-name: "ROOT.war")
2015/05/13 06:51:57,380 INFO [org.jboss.as.controller](DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.deployment.unit."ROOT.war".POST_MODULE

How to use it on local machine.

i have tweets stored on local machine.How to use this on local machine. i have not used java earlier, is there a simple way i can iterate for many files.
something like given on sentiment page of corenlo
java -cp "*" -mx5g edu.stanford.nlp.sentiment.SentimentPipeline -stdin .

Windows OS alternative

I'm fairly new to sentiment analysis. Please is there an alternative for windows users?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.