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 options to make first names and surnames be adjacent #77

Open
jzonthemtn opened this issue Apr 3, 2024 · 1 comment
Open

Add options to make first names and surnames be adjacent #77

jzonthemtn opened this issue Apr 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@jzonthemtn
Copy link
Member

Add an optional parameter to the FirstName filter that requires a Surname immediately after.

Likewise, add an optional parameter to the Surname filter that requires a FirstName immediately preceding it.

Both options can be set independently, and both should default to false.

When either option is set to true, that filter should only report a span when it is preceded/followed by a span from the other filter.

@jzonthemtn
Copy link
Member Author

There should likely be a related previouslySeen option in FirstName filter that overrides the proposed option if the first name has been previously seen. For example, the combination John Smith as the first name surname, but instances of just John should also be redacted if the previouslySeen option is set.

@jzonthemtn jzonthemtn added the enhancement New feature or request label Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant