/is-it-funny

Paper for computational linguistics.

Primary LanguageTeX

Paper Replication Project

Setup

You will need to be on Mac OS, Linux, or the Windows Subsystem for Linux.

First, install Python 3.9.7 onto your machine. Then install direnv and hook in into your shell. Then, cd into this directory, type direnv allow, and run:

pip3 install ./requirements.txt

Then open a python repl and run:

import nltk
nltk.download('popular')

This should make sure you have all the requisite dependencies to run the code here. You should also be able to use pip or conda to set up a virtual environment manually.

Testing

You can run all the unit tests for the project by running:

cd ./code && pytest