Open taf2 opened 4 years ago
Okay seems like the solution is to use the NlpManager object directly? Now the question is how do we access the equivalent NerManager#findEntities function?
trying to see if maybe we use:
//let entities = nerManager.findEntities(params.text, params.lang);
let entities = nerManager.getEntitiesFromUtterance(params.lang, params.text);
getEntitiesFromUtterance instead of findEntities? but I'm getting 0 results where we used to get at least 1 result... maybe another initialization step missing/required or a different method required...
@taf2 I'm having the same issue extracting entities. Did you ever solve this?
@SaltedBlowfish sort of i am using spacy.io
Reading through issues was able to figure out to get to NerManager we have to do the following:
Instead of
But now the interface is still different so things like:
Are broken but scanning through ner.js it's unclear how this migrates forward in v4 from v3?
Sorry if I'm missing something obvious...