CAMeL-Lab / camel_tools

A suite of Arabic natural language processing tools developed by the CAMeL Lab at New York University Abu Dhabi.
MIT License
415 stars 73 forks source link

ImportError: cannot import name 'EMOJI_DATA' from 'emoji' #129

Open Yassin522 opened 11 months ago

Yassin522 commented 11 months ago

ImportError Traceback (most recent call last) in <cell line: 1>() ----> 1 from camel_tools.tokenizers.morphological import MorphologicalTokenizer 2 from cameltools.disambig.mle import MLEDisambiguator 3 import re 4 5 punctuationPattern = r"([*|,-#!<&>+{:/$\=()?؟.،'}%\";[]])"

2 frames /usr/local/lib/python3.10/dist-packages/camel_tools/utils/charsets.py in 29 import unicodedata 30 ---> 31 from emoji import EMOJI_DATA 32 33

ImportError: cannot import name 'EMOJI_DATA' from 'emoji' (/usr/local/lib/python3.10/dist-packages/emoji/init.py)