philterd / phileas

The open source PII and PHI redaction engine
https://www.philterd.ai
Apache License 2.0
23 stars 4 forks source link

`windowSize` should be configurable for each filter instead of only in `PhileasConfiguration` #117

Open jzonthemtn opened 2 months ago

jzonthemtn commented 2 months ago

Each FilterConfiguration accepts a windowSize. This window size is read from PhileasConfiguration so the same filter gets the same window size. Each filter should have a windowSize property so the window size can be set individually.

Consider adding windowSize to AbstractFilter.

Refer to FilterPolicyLoader when the filters are created.