Skip to content

Commit d6bb0af

Browse files
authored
Update text_sentiment_ngrams_tutorial.py
1 parent 755db7f commit d6bb0af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beginner_source/text_sentiment_ngrams_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
import torchtext
4343
from torchtext.datasets import text_classification
4444
NGRAMS = 2
45-
mport os
45+
import os
4646
if not os.path.isdir('./.data'):
4747
os.mkdir('./.data')
4848
train_dataset, test_dataset = text_classification.DATASETS['AG_NEWS'](

0 commit comments

Comments
 (0)