Open sangatDvikram opened 7 years ago
Every time we run polyglot
doc = Text(" ... ") print(doc.entities) doc1 = Text(" ... ") print(doc1.entities)
it creates two differnt text objects and load model differently but is there way to Load NER model once and perform task on different texts?
like
text = polygot.load_model('en') doc = text.Text(" ... ") doc2 = text.Text(" ... ") doc3 = text.Text(" ... ")
Every time we run polyglot
it creates two differnt text objects and load model differently but is there way to Load NER model once and perform task on different texts?
like