Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

fix a minor typo in vocab.py #275

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion seq2seq/data/vocab.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down