Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Guanheng Zhang committed Feb 19, 2021
1 parent db0179c commit 178b618
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions packaging/torchtext/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ test:
requires:
- pytest
- cpuonly
- nltk

about:
home: https://github.com/pytorch/text
Expand Down
5 changes: 1 addition & 4 deletions torchtext/datasets/sst.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
from torchtext.datasets.common import find_match
import os
import io
try:
from nltk.tree import Tree
except ImportError:
print("Please install NLTK. See the docs at https://nltk.org for more information.")
from nltk.tree import Tree


URL = 'http://nlp.stanford.edu/sentiment/trainDevTestTrees_PTB.zip'
Expand Down

0 comments on commit 178b618

Please sign in to comment.