mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-23 09:21:37 +00:00
updated docstring
This commit is contained in:
parent
32803b235b
commit
9b851f3afe
@ -10,10 +10,8 @@ DATA_PATH = pathlib.Path(resource_filename('wordfreq', 'data'))
|
||||
|
||||
def _emoji_char_class():
|
||||
"""
|
||||
Build a regex for emoji substitution. First we create a regex character set
|
||||
(like "[a-cv-z]") matching characters we consider emoji. The final regex
|
||||
matches one such character followed by any number of spaces and identical
|
||||
characters.
|
||||
Build a regex for emoji substitution. We create a regex character set
|
||||
(like "[a-cv-z]") matching characters we consider emoji.
|
||||
"""
|
||||
emoji_file = DATA_PATH / 'emoji.txt'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user