def constructNamedEntities(self, query=None): ner = NEIndex(dbname=self.dbname, host=self.host, port=self.port) ner.createIndex(query)
def constructNamedEntities(self, query=None): ner = NEIndex(self.dbname) ner.createIndex(query)