From 813e4d18ba77037daf1451e7f7c17c531f4f8a3c Mon Sep 17 00:00:00 2001 From: Yongbo Wang Date: Wed, 20 Feb 2019 21:10:07 +0800 Subject: [PATCH] typo --- pytorch_pretrained_bert/tokenization.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytorch_pretrained_bert/tokenization.py b/pytorch_pretrained_bert/tokenization.py index d64d3512f3..1fabea852a 100644 --- a/pytorch_pretrained_bert/tokenization.py +++ b/pytorch_pretrained_bert/tokenization.py @@ -63,7 +63,7 @@ def load_vocab(vocab_file): def whitespace_tokenize(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 []