1
0
Fork 0
mirror of https://github.com/qurator-spk/page2tsv.git synced 2025-06-09 19:39:54 +02:00
This commit is contained in:
Kai Labusch 2021-03-18 21:20:46 +01:00
parent 1ec06a3087
commit e21fbc09a1

View file

@ -20,7 +20,7 @@ def ned(tsv, ner_result, ned_rest_endpoint, json_file=None, threshold=None):
ner_parsed = json.loads(resp.content)
ned_rest_endpoint = ned_rest_endpoint + '/ned?return_full=' + str(json_file is not None).lower()
ned_rest_endpoint = ned_rest_endpoint + '/ned?return_full=' + str(int(json_file is not None)).lower()
resp = requests.post(url=ned_rest_endpoint, json=ner_parsed, timeout=3600000)