diff --git a/chapter_recurrent-modern/machine-translation-and-dataset.md b/chapter_recurrent-modern/machine-translation-and-dataset.md index d872f820d..0c00427fb 100644 --- a/chapter_recurrent-modern/machine-translation-and-dataset.md +++ b/chapter_recurrent-modern/machine-translation-and-dataset.md @@ -241,7 +241,7 @@ def build_array_nmt(lines, vocab, num_steps): return array, valid_len ``` -## [**训练模型**] +## [**词表生成**] 最后,我们定义`load_data_nmt`函数来返回数据迭代器, 以及源语言和目标语言的两种词表。