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

Provide options to Configure NLP Engine #11

Open
RohitPShetty opened this issue Jul 3, 2024 · 1 comment
Open

Provide options to Configure NLP Engine #11

RohitPShetty opened this issue Jul 3, 2024 · 1 comment

Comments

@RohitPShetty
Copy link

RohitPShetty commented Jul 3, 2024

In the current code, as per my understanding - the default Spacy model (en_core_web_lg) is utilised when the AnalyzerEngine() is instantiated.

It would be helpful if we could pass in parameters which would indicate the model to be used in the Analyser. Accordingly, based on the compute and accuracy requirements, folks could toggle the model used. This would also help in loading models for different languages.

Ref; https://github.com/microsoft/presidio/blob/main/docs/samples//python/customizing_presidio_analyzer.ipynb

@zsimjee
Copy link
Contributor

zsimjee commented Jul 21, 2024

Hi Rohit,

Thanks for bringing this to our attention. we have not benchmarked this particular validator for latency yet. we will pick up benchmarking as a task soon and let you know how it goes.

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

2 participants