Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
Fix Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrochukM committed Jul 18, 2019
1 parent 09c0acd commit 40645e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchnlp/encoders/text/subword_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class SubwordEncoder(TextEncoder):
the index that token resides at.
unknown_index (int, optional): The unknown token is used to encode unseen tokens. This is
the index that token resides at.
padding_index (int, optional): The unknown token is used to encode sequence padding. This is
padding_index (int, optional): The padding token is used to encode sequence padding. This is
the index that token resides at.
**kwargs: Keyword arguments passed onto ``TextEncoder.__init__``.
"""
Expand Down

0 comments on commit 40645e5

Please sign in to comment.