Rate My Movie implementation in Trident
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
db
filters
functions
jars
models
spout
utilities
.gitignore
LICENSE
MovieTopology.java
README.md

README.md

octorater

Rate My Movie implementation in Trident

####Steps:

  • Navigate to storm-starter/src/jvm/storm/starter/trident in a terminal
  • Clone the project into this repository.
  • Add following dependencies to pom.xml
  <dependency>
       <groupId>edu.stanford.nlp</groupId>
       <artifactId>stanford-corenlp</artifactId>
       <version>3.5.1</version>
    </dependency>
    <dependency>
       <groupId>edu.stanford.nlp</groupId>
       <artifactId>stanford-corenlp</artifactId>
       <version>3.5.1</version>
       <classifier>models</classifier>
  </dependency>
  • Run mvn package in $TRIDENT_SRC
  • Start Coding

For ElasticSearch

  • Download ElasticSearch for ur particular OS and install it from here
  • Once installed/unzipped , navigate to the bin folder and run elasticsearch. (.bat for windows and .sh for *nix based)
  • Run octorater.db.ElasticDB.java to populate your db
  • See if it works by navigating to http://127.0.0.1:9200/rotten/words/_search