cardiffnlp / tweetnlp

TweetNLP for all the NLP enthusiasts working on Twitter! The Python library tweetnlp provides a collection of useful tools to analyze/understand tweets such as sentiment analysis, emoji prediction, and named entity recognition, powered by state-of-the-art language models specialised on Twitter.
https://tweetnlp.org/
MIT License
304 stars 27 forks source link

ImportError: cannot import name 'OrderedDict' #2

Closed keikoochoa closed 2 years ago

keikoochoa commented 2 years ago
  1 import os

----> 2 from typing import ( 3 Union, 4 Tuple, 5 OrderedDict,

ImportError: cannot import name 'OrderedDict'

hi, not sure if anyone else has had this problem?

asahi417 commented 2 years ago

Hi, can you share your python version? TweetNLP is available only with later version of python3, so I assume your python is either of 2 or older version of 3.