From 3d7e56c4e24bebea376a38bf2f06d5abff95337f Mon Sep 17 00:00:00 2001 From: Simon Gurcke Date: Tue, 24 Jan 2023 23:00:28 +1000 Subject: [PATCH] Update spacy/tokens/span.pyx Co-authored-by: Adriane Boyd --- spacy/tokens/span.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/tokens/span.pyx b/spacy/tokens/span.pyx index 6e78b9b13..2912dd705 100644 --- a/spacy/tokens/span.pyx +++ b/spacy/tokens/span.pyx @@ -639,7 +639,7 @@ cdef class Span: else: return self.doc[root] - def char_span(self, int start_idx, int end_idx, label=0, kb_id=0, vector=None, alignment_mode="strict", id=0): + def char_span(self, int start_idx, int end_idx, label=0, kb_id=0, vector=None, id=0, alignment_mode="strict"): """Create a `Span` object from the slice `span.text[start : end]`. start (int): The index of the first character of the span.