Replies: 2 comments
-
|
Hi, this seems like a duplicate of #1058. The docker file spins up the flask in app.py which creates the default |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks a lot, for now that seems to work! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there, I am trying to add other languages to the presidio-analyzer. I did the following:
Added the desired language to conf/default.yaml as per https://microsoft.github.io/presidio/analyzer/languages/:
After that I ran
Note: during the build phase I can see it does something with the DE model, it's quite fast so I cannot exactly tell what, but it does something with it.
Then I checked if the english analyzer works:
curl -X POST http://localhost:5002/analyze -H "Content-type: application/json" --data "{ \"text\": \"John Smith drivers license is AC432223\", \"language\" : \"en\"}"That worked!
Then I tried german:
curl -X POST http://localhost:5002/analyze -H "Content-type: application/json" --data "{ \"text\": \"Tim Burgmanns Rufnummer ist 054681571231\", \"language\" : \"de\"}"But it fails with the error:
{"error":"No matching recognizers were found to serve the request."}I tried to investigate but I don't have any idea:
I am missing something. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions