From 538e9ee1b284991594466fc562d9653340a0dcd1 Mon Sep 17 00:00:00 2001 From: Arne Binder Date: Sun, 15 Sep 2024 22:42:22 +0200 Subject: [PATCH] remove unused kwargs from add_negative_coref_relations() --- src/pie_modules/document/processing/text_pair.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pie_modules/document/processing/text_pair.py b/src/pie_modules/document/processing/text_pair.py index 1117b349a..9808d042e 100644 --- a/src/pie_modules/document/processing/text_pair.py +++ b/src/pie_modules/document/processing/text_pair.py @@ -180,7 +180,6 @@ def construct_text_document_from_text_pair_coref_document( def add_negative_coref_relations( documents: Iterable[TextPairDocumentWithLabeledSpansAndBinaryCorefRelations], downsampling_factor: Optional[float] = None, - **kwargs, ) -> Iterable[TextPairDocumentWithLabeledSpansAndBinaryCorefRelations]: positive_tuples = defaultdict(set) text2spans = defaultdict(set)