We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87ba201 commit 155a8a7Copy full SHA for 155a8a7
.github/workflows/ci.yml
@@ -29,6 +29,7 @@ jobs:
29
python -m pip install --upgrade poetry
30
pip install flake8 pytest nltk
31
poetry install
32
+ python tools/install_nltk_popular.py
33
34
- name: Lint with flake8
35
run: |
tools/install_nltk_popular.py
@@ -0,0 +1,12 @@
1
+#!/usr/bin/env python
2
+import nltk
3
+import ssl
4
+
5
+try:
6
+ _create_unverified_https_context = ssl._create_unverified_context
7
+except AttributeError:
8
+ pass
9
+else:
10
+ ssl._create_default_https_context = _create_unverified_https_context
11
12
+nltk.download('popular')
0 commit comments