Hironsan / anago

Bidirectional LSTM-CRF and ELMo for Named-Entity Recognition, Part-of-Speech Tagging and so on.
https://anago.herokuapp.com/
MIT License
1.48k stars 371 forks source link

predict() function in Sequence() missing with version installed with pip #98

Open jinmeiz opened 5 years ago

jinmeiz commented 5 years ago

Problem

I installed anago with pip install (version 1.0.8) on AWS node. The predict() function in Sequence() is missing, but it is present in the master branch codes. Could you add it to the pip version?

CyKaMing commented 5 years ago

You can simply download master branch codes. Copy all the python files in anago\anago and replace the python files in your pip directory for anago. eg. C:\Users\\Anaconda3\envs\\Lib\site-packages\anago

eshijia commented 5 years ago

Same problem with version 1.0.0. Could you fix that problem? @Hironsan

nikhiljsk commented 5 years ago

I've run into the same kind of problem. The problem with the version. @Alaska47 helped me with this pip install git+https://github.com/Hironsan/anago.git