Skip to content

Commit

Permalink
improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneBinder committed Feb 5, 2024
1 parent 01ba109 commit 1ec0121
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1ec0121

Please sign in to comment.