From 3647d53b383bad933d5ea148516cd9127bcf014d Mon Sep 17 00:00:00 2001 From: Prakhar Agarwal Date: Tue, 11 Jul 2017 19:17:26 +0530 Subject: [PATCH] Fixed a typing mistake --- 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]