You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Under the hood Pii Modifier uses Presidio (which uses spacy I believe).
Currently if the documents are very long (I believe 2,000,000 chars in length) then presidio errors out. See microsoft/presidio#957 (comment)
To solve this we might need to modify the nlp object that Presidio is using or create a new class that allows the modification of character limit.
Is your feature request related to a problem? Please describe.
Under the hood Pii Modifier uses Presidio (which uses spacy I believe).
Currently if the documents are very long (I believe 2,000,000 chars in length) then presidio errors out. See microsoft/presidio#957 (comment)
To solve this we might need to modify the
nlp
object thatPresidio
is using or create a new class that allows the modification of character limit.For now to avoid this I've done
Describe the solution you'd like
support a
max_char_length
as an arg e.g.PiiModifier(max_char_length=3_000_000)
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: