Git Product home page Git Product logo

vectorsmgen's Introduction

VectorSMGen

Author: @theocoyne

Shoutout to the beautiful people over at http://www.snowball.tartarus.org/

A small python program to visually compare normalized vector representations of Presidential speeches. The dataset format for this version is currently 4 speeches per speaker, to give you an averaged speech vector in the form of a dotproduct. You will encounter serious errors if your dataset is not in the correct format of 4 speeches per speaker.

VectorSMGen was built with the miniconda interpreter. If you'd like to run VSMG as is, it is recommended you install miniconda as the easiest method of dependency resolution. Running VSMG necessitates the 'files.py' file be in the same directory as the 'Presidents.py' file in addition to the document corpus.

Installation Guide:

  1. Install miniconda: http://conda.pydata.org/miniconda.html

  2. Install setuptools module by running 'conda install setuptools' from the commandline in minicondas your miniconda directory.

  3. Install the package manager pip by running 'conda install pip'.

  4. Install the pure python implementation of the snowball stemmer 'pip install stemming'.

  5. You're now ready to run Presidents.py!

Thanks for checking out the project!

vectorsmgen's People

Contributors

zerocool2u avatar

Watchers

James Cloos avatar  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.