Experiments with DocumentCloud addons.
- Set up a virtual environment with
python3.9 -m venv venv
. - Put
NLTK_DATA=nltk_data
in your.env
file. - Put your DocumentCloud credentials in
.env
asUSER
andPASSWORD
. (Keep your.env
safe.) - Run
venv/bin/pip install -r requirements.text
. - Run
make install-nltk
.
Try it out with venv/bin/python summarize.py
.