Skip to content

denmonz/Orrick-Flashcards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orrick Flashcards

To-do's

  • Grammar/Styling filter
    • Or get a better, purely-python-implemented question generator
  • Finalize a main.py or pipeline to automate connections between our back and front-end components
  • Test our pipeline on a brand new environment
    • A .sh script to automate set-up procedures as much as possible
  • Self-defined questions
  • AWS deployment

Clients' Wishlist:

  • Customize sections
  • Password Protection of the site

LexNLP

Paper | Code

Question Generation via Overgenerating Transformations and Ranking

Paper | Code


Setup Instructions

The Essentials

Be sure to have Python version 3.6 and PipEnv installed on your machine.

How To Get LexNLP Working Using Pipenv and the Pipfile Files

  1. Start a terminal at the Flashcard Generator folder.
  2. Use the command pipenv shell.
    This will launch a new Pipenv environment using the Pipfile files.
  3. Launch the python console and use the command import nltk followed by nltk.download().
  4. In the pop-up window, install "all".

How I got LexNLP working on Mac From Scratch

  1. Download LexNLP.
  2. Use Pipenv to make a Python 3.6 environment in your downloaded LexNLP folder
  3. Use pipenv to install dependencies from python-requirements-full.txt
  4. Manually install any dependencies which PipEnv failed to install (for me that was sklearn)
  5. Launch the python console and use the command import nltk followed by nltk.download().
  6. In the pop-up window, install "all".

Common Errors

"SSL: CERTIFICATE_VERIFY_FAILED" When Installing NLTK

Navigate to the intallation location of Python 3.6, open a terminal, and run the command sudo ./Install\ Certificates.command.