dlakata / VocabFinder

Finds difficult words in a given text

Home Page:http://vocabfinder.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VocabFinder

VocabFinder finds the words in a given text with the least usage in the English language.

Using VocabFinder

  1. Make sure you have Python and git installed on your system.

  2. Clone this repository:

    $ git clone https://github.com/dlakata/VocabFinder.git
    
  3. Set up a virtualenv and install the requirements:

    $ virtualenv VocabFinder
    $ cd VocabFinder
    $ source bin/activate
    $ npm install
    $ bower install
    $ pip install -r requirements.txt
    $ python
    >>> import nltk
    >>> nltk.download()
    [In the new window that appears, download 'wordnet' from Corpora and 'Punkt' from Models. Exit the window.]
    
  4. Create and start a PostgreSQL database. Set the environment variable DATABASE_URL to the location of the database.

  5. Initialize and upgrade the database.

    $ python manage.py db init
    $ python manage.py db upgrade
    
  6. Start the server.

    $ python manage.py runserver
    

The process_words module can be run independently:

$ python VocabFinder/process_words.py VocabFinder/books/nicomachean_ethics.txt

About

Finds difficult words in a given text

http://vocabfinder.herokuapp.com/

License:GNU General Public License v2.0


Languages

Language:Python 50.6%Language:HTML 36.7%Language:JavaScript 8.2%Language:CSS 3.7%Language:Mako 0.9%