from DIYNER.model import CRFNER
# Gazateer = {'entity': 'category'}
# Documents = ['doc1','doc2','doc3']
# Training Model
ner_crf = CRFNER(gazetteer)
ner_crf.train(documents)
# Predictions
ner_crf.predict('Google are opening new stores in Vancouver')
[['company', '0', '0', '0', '0', '0', 'city']]
from DIYNER.viz import radialTree