Merge pull request #79 from ebotiab/fix-analyzer-wrapper
Fix Presidio wrapper to call predict with def lang
This commit is contained in:
Коммит
67457170b0
|
@ -40,7 +40,7 @@ class PresidioAnalyzerWrapper(BaseModel):
|
|||
results = self.analyzer_engine.analyze(
|
||||
text=sample.full_text,
|
||||
entities=self.entities,
|
||||
language="en",
|
||||
language=self.language,
|
||||
score_threshold=self.score_threshold,
|
||||
)
|
||||
starts = []
|
||||
|
|
Загрузка…
Ссылка в новой задаче