update sst loader

This commit is contained in:
yunfan 2019-06-04 17:06:19 +08:00
parent 429ff57846
commit c54ebace2c

View File

@ -8,6 +8,9 @@ from ..embed_loader import EmbeddingOption, EmbedLoader
class SSTLoader(DataSetLoader):
URL = 'https://nlp.stanford.edu/sentiment/trainDevTestTrees_PTB.zip'
DATA_DIR = 'sst/'
"""
别名:class:`fastNLP.io.SSTLoader` :class:`fastNLP.io.dataset_loader.SSTLoader`