Skip to content

Commit

Permalink
Fix Presidio wrapper to call predict with def lang
Browse files Browse the repository at this point in the history
  • Loading branch information
enrique.botia committed Sep 21, 2023
1 parent 66e2433 commit 9b9f890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion presidio_evaluator/models/presidio_analyzer_wrapper.py
Original file line number Diff line number Diff line change
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 9b9f890

Please sign in to comment.