Coder Social home page Coder Social logo

dash-shakespeare's Introduction

Shakespeare Sentiments

Users can view charts of the sentiments of speakers in Shakespeare's plays, and get information about words used.

Built With:

  • Dash

Screenshot:

screen shot 2018-07-31 at 12 14 51 am

Personal Notes:

  • Awesome for datasets: req=urllib2.Request("https://raw.githubusercontent.com/plotly/datasets/master/miserables.json")
  • Use pip freeze > requirements.txt to generate this.
  • Ok the road to deployment was long and strange.
    • I think the main issue was that we weren't importing all of the NLTK data modules...One of them must be needed for sentiment analysis.
    • Then because we brought in Flask and forgot the URL.
    • Also I think example had superfluous semicolon in Procfile.
    • A few red herrings -- the line endings thing, the /bin idea
  • Keep in mind the difference between .similar() and .similar_words -- the latter requires nltk.text.ContextIndex.

Next Steps:

  • Would be cool if clicking a point brought up the surrounding text.
  • HMM, nltk gives 22 matches for 'madness' (via concordance()), whereas our query only found 13...

dash-shakespeare's People

Contributors

zackstout avatar

Watchers

 avatar

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.