Skip to content

Commit

Permalink
Merge pull request #50 from andrewtavis/49-update-emoji
Browse files Browse the repository at this point in the history
#49 update emoji to v2.x
  • Loading branch information
andrewtavis authored Jan 28, 2023
2 parents f491e1c + 899fb1a commit 9ae7872
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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="[email protected]",
classifiers=[
Expand Down
2 changes: 1 addition & 1 deletion src/kwx/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 9ae7872

Please sign in to comment.