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

Add the possibilty to use DEDUCE with multiple data sources and formats using a kind of adapter #77

Open
jacob-rousseau opened this issue Feb 23, 2023 · 1 comment

Comments

@jacob-rousseau
Copy link
Collaborator

Currently DEDUCE can only accept data from a webservice REST-API (Flask based). Ideally a level of indirection should be added to decouple the data-source to make DEDUCE adaptable to different input sources or formats (e.g. CSV-file, TSV-file, DB-connector (ODBC / JDBC), SOAP). This is known the Enterprise Service Bus terms as an adapter

@vmenger
Copy link
Owner

vmenger commented Nov 15, 2023

To clarify, the way to use deduce is by creating a Deduce object, and then passing text to it:

from deduce import Deduce

deduce = Deduce()

deduce.deidentify("put your text here")

There is no need to start a webservice. I might still be useful to have some adapters for applying Deduce to multiple data formats, so leaving this open if someone wants to work on this.

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

No branches or pull requests

2 participants