From c05394d724dd509996d992769d65823af1e05c5e Mon Sep 17 00:00:00 2001 From: Rerngvit Yanggratoke Date: Tue, 11 Jul 2017 09:30:27 +0200 Subject: [PATCH] fix a minor typo in vocab.py --- seq2seq/data/vocab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seq2seq/data/vocab.py b/seq2seq/data/vocab.py index e4d672ec..7d4034c7 100644 --- a/seq2seq/data/vocab.py +++ b/seq2seq/data/vocab.py @@ -64,7 +64,7 @@ def create_vocabulary_lookup_table(filename, default_value=None): """Creates a lookup table for a vocabulary file. Args: - filename: Path to a vocabulary file containg one word per line. + filename: Path to a vocabulary file containing one word per line. Each word is mapped to its line number. default_value: UNK tokens will be mapped to this id. If None, UNK tokens will be mapped to [vocab_size]