From 2fdab323d12e488346e428bd742244b80cabbb21 Mon Sep 17 00:00:00 2001 From: Yongbo Wang Date: Wed, 20 Feb 2019 21:11:06 +0800 Subject: [PATCH] typo --- pytorch_pretrained_bert/tokenization_transfo_xl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytorch_pretrained_bert/tokenization_transfo_xl.py b/pytorch_pretrained_bert/tokenization_transfo_xl.py index 3f74726f6f..7f25ef69cd 100644 --- a/pytorch_pretrained_bert/tokenization_transfo_xl.py +++ b/pytorch_pretrained_bert/tokenization_transfo_xl.py @@ -292,7 +292,7 @@ class TransfoXLTokenizer(object): return "".join(output) def whitespace_tokenize(self, text): - """Runs basic whitespace cleaning and splitting on a peice of text.""" + """Runs basic whitespace cleaning and splitting on a piece of text.""" text = text.strip() if not text: return []