Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default extractor is still Microsoft Recognizers? #1301

Closed
jBernavaPrah opened this issue Apr 15, 2023 · 1 comment
Closed

Default extractor is still Microsoft Recognizers? #1301

jBernavaPrah opened this issue Apr 15, 2023 · 1 comment

Comments

@jBernavaPrah
Copy link

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!

@jBernavaPrah
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant