sentiment

The script fetch and preprocess movie_reviews data set that provided by NLTK

TODO(yuyang18): Complete dataset.

paddle.dataset.sentiment.get_word_dict()[source]

Sorted the words by the frequency of words which occur in sample :return:

words_freq_sorted

paddle.dataset.sentiment.train()[source]

Default training set reader creator

paddle.dataset.sentiment.test()[source]

Default test set reader creator