Skip to content

Commit

Permalink
Fix emoji extract missing commits
Browse files Browse the repository at this point in the history
  • Loading branch information
Sieboldianus committed Nov 22, 2022
1 parent 12e0d0f commit 1c309a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion environment_dev.yml
Expand Up @@ -5,7 +5,7 @@ channels:
dependencies:
- python>=3.5
- pip
- emoji>=0.5.1
- emoji>=2.0.0
- numpy
- pycodestyle
- protobuf<=3.19.4
Expand Down
4 changes: 2 additions & 2 deletions lbsntransform/output/hll/hll_bases.py
Expand Up @@ -147,7 +147,7 @@ def base_factory(facet=None, base=None, record: lbsn.Post = None):
base_structure(tag))
elif base == 'emoji':
# do nothing
all_post_emoji = HF.get_all_post_emoji(record.post_body)
all_post_emoji = HF.extract_emoji(record.post_body)
for emoji in all_post_emoji:
# create base for each term
records.append(
Expand Down Expand Up @@ -183,7 +183,7 @@ def base_factory(facet=None, base=None, record: lbsn.Post = None):
elif base == '_emoji_latlng':
# any term mentioned in title,
# body or hashtag
all_post_emoji = HF.get_all_post_emoji(record.post_body)
all_post_emoji = HF.extract_emoji(record.post_body)
for emoji in all_post_emoji:
# create base for each emoji
base_record = base_structure(record=record, emoji=emoji)
Expand Down

0 comments on commit 1c309a3

Please sign in to comment.