Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named twokenize #27

Open
mahdiabdollahpour opened this issue Aug 12, 2020 · 1 comment
Open

No module named twokenize #27

mahdiabdollahpour opened this issue Aug 12, 2020 · 1 comment

Comments

@mahdiabdollahpour
Copy link

After cloning and running build and then running the command

export TWITTER_NLP=./ & cat 'data.jsonl' | python2 python/ner/extractEntities2_json.py --pos --chunk > 'data_tagging.jsonl'
I get the error:

Traceback (most recent call last):
  File "python/ner/extractEntities2_json.py", line 26, in <module>
    import twokenize
ImportError: No module named twokenize
cat: write error: Broken pipe

python2 of course,

Does anyone know how to fix this?

@chandrasg
Copy link

install twokenize using pip install twokenize

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants