axa-group / nlp.js

An NLP library for building bots, with entity extraction, sentiment analysis, automatic language identify, and so more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Default extractor is still Microsoft Recognizers?

jBernavaPrah opened this issue · comments

Hi, I'm evaluating this package in order to be used on one of my projects.
The default language will be Italian.

I show that in this comment the default extraction is done with Microsoft Recognizers. As the comment was written more than 3 years ago, this sentence is still true?

If false, where can I find documentation to help me to add this language to the built-in extractor?

Thanks!

Found myself the response. I can add "programmatically" the extractor.

For how will have the same issue that I had, there is an example of the code that you can use:

import { BuiltinMicrosoft } from '@nlpjs/builtin-microsoft';

const nlp = new Nlp({
// ...config
});

nlp.container.register('extract-builtin-??', BuiltinMicrosoft, true);

// use the nlp instance and the extractor will be executed.