Created by: mu-arkhipov
New, neat python API for NER models, check this out:
from deeppavlov.models import ner
ner_model = ner.train_model('ner_ontonotes', 'dataset/path/') # path is optional
ner_model(['Your example to tag'])
or something like this for pre-trained models:
from deeppavlov.models import ner
ner_model = ner.load_model('ner_ontonotes')
ner_model(['Sample to tag.'])
and for evaluation:
from deeppavlov.models import ner
ner.evaluate_model('ner_ontonotes', 'dataset/path/') # path is optional