From 8d79c67478f96f6506d54d0317b60ead3dfc1563 Mon Sep 17 00:00:00 2001 From: Kai Labusch Date: Tue, 26 Nov 2019 13:04:20 +0100 Subject: [PATCH] remove breakpoint --- tools/cli.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/cli.py b/tools/cli.py index 0c1c879..858d4d7 100644 --- a/tools/cli.py +++ b/tools/cli.py @@ -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))