mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
typo
This commit is contained in:
parent
8337740754
commit
813e4d18ba
@ -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 []
|
||||
|
Loading…
Reference in New Issue
Block a user