Auto-format

This commit is contained in:
Ines Montani 2019-04-08 12:53:16 +02:00
parent 0d26bfe677
commit d0f5e015cb

View File

@ -626,7 +626,7 @@ def docs_to_json(docs, id=0):
json_sent["tokens"].append(json_token)
json_para["sentences"].append(json_sent)
json_doc["paragraphs"].append(json_para)
return json_doc
return json_doc
def biluo_tags_from_offsets(doc, entities, missing="O"):