Skip to content

Commit 33cc8d7

Browse files
committed
ci: Add averaged_perceptron_tagger_eng to NLTK downloads
- NLTK now requires averaged_perceptron_tagger_eng for POS tagging - Fixes 10 postag test failures requiring the tagger resource
1 parent fb39d8b commit 33cc8d7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: |
3939
python -m pip install --upgrade pip
4040
pip install -r tests/requirements.txt
41-
python -m nltk.downloader popular punkt_tab
41+
python -m nltk.downloader popular punkt_tab averaged_perceptron_tagger_eng
4242
4343
- name: Run Unit Tests
4444
run: |
@@ -91,7 +91,7 @@ jobs:
9191
conda create -n yellowbrick python=${{ matrix.python-version }} pip --yes
9292
conda activate yellowbrick
9393
pip install -r tests/requirements.txt
94-
python -m nltk.downloader popular punkt_tab
94+
python -m nltk.downloader popular punkt_tab averaged_perceptron_tagger_eng
9595
9696
- name: Run Unit Tests
9797
shell: bash -l {0}

0 commit comments

Comments
 (0)