1
0
Fork 0
mirror of https://github.com/qurator-spk/neat.git synced 2025-06-11 04:39:54 +02:00

remove breakpoint

This commit is contained in:
Kai Labusch 2019-11-26 13:04:20 +01:00
parent ee07c0cf7c
commit 8d79c67478

View file

@ -130,10 +130,7 @@ def ner(tsv, ner_rest_endpoint):
ner_token, ner_tag, sentence_break = next(result_sequence)
ner_token_concat += ner_token
try:
assert len(row_token) >= len(ner_token_concat)
except AssertionError:
import ipdb;ipdb.set_trace()
assert len(row_token) >= len(ner_token_concat)
if sentence_break:
tsv_result.append((0, '', 'O', 'O', '-', row.url_id, row.left, row.right, row.top, row.bottom))