Update spacy/ml/models/coref_util.py

Co-authored-by: kadarakos <kadar.akos@gmail.com>
This commit is contained in:
Paul O'Leary McCann 2022-07-06 13:46:02 +09:00 committed by GitHub
parent 178feae00a
commit 63e27b5e44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = []