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

docs: fix simple typo, experessed -> expressed #123

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 torchnlp/encoders/text/subword_text_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def decode(tokens):
def _escape_token(token, alphabet):
"""
Escape away underscores and OOV characters and append '_'.
This allows the token to be experessed as the concatenation of a list
This allows the token to be expressed as the concatenation of a list
of subtokens from the vocabulary. The underscore acts as a sentinel
which allows us to invertibly concatenate multiple such lists.
Args:
Expand Down