diff --git a/src/pie_modules/document/processing/merge_spans_via_relation.py b/src/pie_modules/document/processing/merge_spans_via_relation.py index 45c11582f..efd8f72f9 100644 --- a/src/pie_modules/document/processing/merge_spans_via_relation.py +++ b/src/pie_modules/document/processing/merge_spans_via_relation.py @@ -87,9 +87,9 @@ def _merge_spans_via_relation( class SpansViaRelationMerger: """Merge spans based on relations. - This processor merges spans based on the relations with a specific label. The spans - are merged into a single span if they are connected via a relation with the specified - label. The processor handles both gold and predicted annotations. + This processor merges spans based on binary relations. The spans are merged into a + single span if they are connected via a relation with the specified link label. The + processor handles both gold and predicted annotations. Args: relation_layer: The name of the relation layer in the document.