deduce icon indicating copy to clipboard operation
deduce copied to clipboard

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

Open jacob-rousseau opened this issue 2 years ago • 1 comments

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

jacob-rousseau avatar Feb 23 '23 15:02 jacob-rousseau

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.

vmenger avatar Nov 15 '23 12:11 vmenger