From 63e27b5e443626038782e35b1928c964ca806c00 Mon Sep 17 00:00:00 2001 From: Paul O'Leary McCann Date: Wed, 6 Jul 2022 13:46:02 +0900 Subject: [PATCH] Update spacy/ml/models/coref_util.py Co-authored-by: kadarakos --- spacy/ml/models/coref_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/ml/models/coref_util.py b/spacy/ml/models/coref_util.py index 772306dec..38af629d5 100644 --- a/spacy/ml/models/coref_util.py +++ b/spacy/ml/models/coref_util.py @@ -143,7 +143,7 @@ def create_head_span_idxs(ops, doclen: int): def get_clusters_from_doc(doc) -> List[List[Tuple[int, int]]]: - """Given a Doc, convert the cluster spans to simple int tuple lists. The + """Convert the span clusters in a Doc to simple integer tuple lists. The ints are char spans, to be tokenization independent. """ out = []