提交 d02db98a 编写于 作者: A Aston Zhang

add to gluonbook

上级 a950b76e
......@@ -240,6 +240,9 @@ predict_sentiment(net, vocab, ['i', 'think', 'this', 'movie', 'is', 'great'])
predict_sentiment(net, vocab, ['the', 'show', 'is', 'terribly', 'boring'])
```
本节介绍的`download_imdb``read_imdb``get_tokenized_imdb``count_tokens``preprocess_imdb``predict_sentiment`函数均定义在`gluonbook`包中供后面章节调用。
## 小结
* 我们可以应用预训练的词向量和循环神经网络对文本的情感进行分类。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册