updated docstring

This commit is contained in:
Joshua Chin 2015-07-07 15:33:51 -04:00
parent 32803b235b
commit 9b851f3afe

View File

@ -10,10 +10,8 @@ DATA_PATH = pathlib.Path(resource_filename('wordfreq', 'data'))
def _emoji_char_class(): def _emoji_char_class():
""" """
Build a regex for emoji substitution. First we create a regex character set Build a regex for emoji substitution. We create a regex character set
(like "[a-cv-z]") matching characters we consider emoji. The final regex (like "[a-cv-z]") matching characters we consider emoji.
matches one such character followed by any number of spaces and identical
characters.
""" """
emoji_file = DATA_PATH / 'emoji.txt' emoji_file = DATA_PATH / 'emoji.txt'