mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-23 09:21:37 +00:00
correct the simple_tokenize docstring
This commit is contained in:
parent
01b6403ef4
commit
f7babea352
@ -55,9 +55,8 @@ def simple_tokenize(text):
|
||||
ideograms and hiragana) relatively untokenized, instead of splitting each
|
||||
character into its own token.
|
||||
|
||||
- It excludes punctuation, many classes of symbols, and "extenders" with
|
||||
nothing to extend, from being tokens, but it allows miscellaneous symbols
|
||||
such as emoji.
|
||||
- It outputs only the tokens that start with a word-like character, or
|
||||
miscellaneous symbols such as emoji.
|
||||
|
||||
- It breaks on all spaces, even the "non-breaking" ones.
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user