Skip to content

Commit 499ad78

Browse files
author
Johannes Hötter
authored
Accept weak supervision as manual v2 (#47)
* avoid setting overlapping extraction labels * implements suggestions
1 parent f6c76f6 commit 499ad78

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

controller/record_label_association/manager.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ def create_manual_extraction_label(
111111
if label_item is None:
112112
return None
113113

114-
existing_tokens = record_label_association.get_manual_tokens_by_record_id(record_id)
114+
existing_tokens = record_label_association.get_manual_tokens_by_record_id(
115+
project_id, record_id
116+
)
115117

116118
tokens = []
117119
curr_start = None

submodules/model

0 commit comments

Comments
 (0)