From 3b6053a410341e42ff12a917bf7b214c5c7748af Mon Sep 17 00:00:00 2001 From: Xinlan Emily Hu Date: Thu, 8 Aug 2024 15:39:54 -0400 Subject: [PATCH] add nltk resources to ensure feature builder works --- docs/.readthedocs.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/.readthedocs.yaml b/docs/.readthedocs.yaml index 1a6dca0e..ed60c6cc 100644 --- a/docs/.readthedocs.yaml +++ b/docs/.readthedocs.yaml @@ -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: @@ -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 \ No newline at end of file + - requirements: ./requirements.txt \ No newline at end of file