kermitt2 / entity-fishing

A machine learning tool for fishing entities
http://nerd.readthedocs.io/
Apache License 2.0
246 stars 24 forks source link

Bad formatting of json response #141

Closed oterrier closed 2 years ago

oterrier commented 2 years ago

Sometimes the result returned by the term lookup endpoint is not a valid json response, some " characters are not escaped You can try with the term "Anderson" for french

Capture du 2022-02-09 17-07-20 Capture du 2022-02-09 17-06-32

"preferred" : "Greg "Cadillac" Anderson"

Best regards Olivier

kermitt2 commented 2 years ago

fix with 35fe86c03f82b38ab9f0c3e646af8def69dce681

Screenshot from 2022-04-30 19-45-16