diff --git a/docs/source/conf.py b/docs/source/conf.py index d7068e8..56fdbaf 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -24,7 +24,7 @@ author = "kwx developers" # The full version, including alpha/beta/rc tags -release = "1.0.1" +release = "1.0.2" # -- General configuration --------------------------------------------------- diff --git a/environment.yml b/environment.yml index 4323389..284bb36 100644 --- a/environment.yml +++ b/environment.yml @@ -20,7 +20,7 @@ dependencies: - wordcloud=1.8.1 - xlrd=2.0.1 - pip: - - emoji==1.2.0 + - emoji==2.2.0 - gensim>=3.8.0 - googletrans==4.0.0rc1 - ipython==7.31.1 diff --git a/requirements.txt b/requirements.txt index 84640b4..2d67e8b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ black==20.8b1 defusedxml==0.7.1 -emoji==1.2.0 +emoji==2.2.0 gensim>=3.8.0 googletrans==4.0.0rc1 ipython==7.31.1 diff --git a/setup.py b/setup.py index c1e6acd..71be1bd 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ name="kwx", packages=find_packages(where="src"), package_dir={"": "src"}, - version="1.0.1", + version="1.0.2", author="Andrew Tavis McAllister", author_email="andrew.t.mcallister@gmail.com", classifiers=[ diff --git a/src/kwx/utils.py b/src/kwx/utils.py index 36eaa6b..a03ad9e 100644 --- a/src/kwx/utils.py +++ b/src/kwx/utils.py @@ -329,7 +329,7 @@ def clean( pbar.update() texts_no_emojis = [ - emoji.get_emoji_regexp().sub(r"", response) for response in texts_no_punctuation + emoji.replace_emoji(response, replace="") for response in texts_no_punctuation ] tokenized_texts = [