Skip to content

Commit

Permalink
Merge pull request #79 from ebotiab/fix-analyzer-wrapper
Browse files Browse the repository at this point in the history
Fix Presidio wrapper to call predict with def lang
  • Loading branch information
omri374 committed Sep 21, 2023
2 parents 66e2433 + 9b9f890 commit 6745717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion presidio_evaluator/models/presidio_analyzer_wrapper.py
Expand Up @@ -40,7 +40,7 @@ def predict(self, sample: InputSample) -> List[str]:
results = self.analyzer_engine.analyze(
text=sample.full_text,
entities=self.entities,
language="en",
language=self.language,
score_threshold=self.score_threshold,
)
starts = []
Expand Down

0 comments on commit 6745717

Please sign in to comment.