Closed tobiasmorville closed 5 years ago
I can see that both problems #14 & this stems from the fast that the pip distribution is not updated. When looking at your repo, the flair.ner
model is there.
Hi @tomonodes
You are right, the problem was that the pip package was not updated. I have updated it to v0.0.4
which includes the Flair NER tagger.
https://github.com/alexandrainst/danlp/releases/tag/v0.0.4
Does it work for you now? :slightly_smiling_face:
👍
When trying your example
several things fail. See #14 for first problem.
Next problem is that
flair.ner
listed indownload.py
model_weight_path = download_model('flair.ner', cache_dir, process_func=_unzip_process_func, verbose=verbose)
is not in the MODELS list, which yields an error.