Skip to content

Commit

Permalink
add nltk resources to ensure feature builder works
Browse files Browse the repository at this point in the history
  • Loading branch information
xehu committed Aug 8, 2024
1 parent 8e2ea9e commit 3b6053a
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions docs/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ build:
pre_install: # Stuff in src/requirements.txt depends on en_core_web_sm, which in turn depends on spacy
- pip install spacy==3.7.2
- bash -c "python3 -m spacy download en_core_web_sm"
post_install: # Install NLTK resources after the install step
- python -m nltk.downloader nps_chat
- python -m nltk.downloader punkt
- python -m nltk.downloader stopwords
- python -m nltk.downloader wordnet

# Build documentation in the "docs/" directory with Sphinx
sphinx:
Expand All @@ -34,10 +39,4 @@ sphinx:
python:
install:
- requirements: ./docs/requirements.txt
- requirements: ./requirements.txt
jobs:
post_install: # Install NLTK resources after the install step
- python -m nltk.downloader nps_chat
- python -m nltk.downloader punkt
- python -m nltk.downloader stopwords
- python -m nltk.downloader wordnet
- requirements: ./requirements.txt

0 comments on commit 3b6053a

Please sign in to comment.