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:
parent
ee07c0cf7c
commit
8d79c67478
1 changed files with 1 additions and 4 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue