14
14
"""
15
15
IMDB dataset.
16
16
17
- This module download IMDB dataset from
18
- http://ai.stanford.edu/%7Eamaas/data/sentiment/, which contains a set of 25,000
19
- highly polar movie reviews for training, and 25,000 for testing. Besides, this
20
- module also provides API for build dictionary and parse train set and test set
17
+ This module download IMDB dataset from
18
+ http://ai.stanford.edu/%7Eamaas/data/sentiment/, which contains a set of 25,000
19
+ highly polar movie reviews for training, and 25,000 for testing. Besides, this
20
+ module also provides API for build dictionary and parse train set and test set
21
21
into paddle reader creators.
22
22
"""
23
23
@@ -122,7 +122,7 @@ def train(word_idx):
122
122
"""
123
123
IMDB train set creator.
124
124
125
- It returns a reader creator, each sample in the reader is an index
125
+ It returns a reader creator, each sample in the reader is an index
126
126
sequence and label in [0, 1].
127
127
128
128
:param word_idx: word dictionary
@@ -139,7 +139,7 @@ def test(word_idx):
139
139
"""
140
140
IMDB test set creator.
141
141
142
- It returns a reader creator, each sample in the reader is an index
142
+ It returns a reader creator, each sample in the reader is an index
143
143
sequence and label in [0, 1].
144
144
145
145
:param word_idx: word dictionary
0 commit comments