From c608baeecc2e7af749f1b6d418154f8f338c0da3 Mon Sep 17 00:00:00 2001 From: maurice Date: Tue, 16 Jan 2024 21:54:54 +0100 Subject: [PATCH] Fix typo in method name --- spacy/pipeline/_parser_internals/stateclass.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/pipeline/_parser_internals/stateclass.pyx b/spacy/pipeline/_parser_internals/stateclass.pyx index e3b063b7d..24b9f1adc 100644 --- a/spacy/pipeline/_parser_internals/stateclass.pyx +++ b/spacy/pipeline/_parser_internals/stateclass.pyx @@ -29,7 +29,7 @@ cdef class StateClass: return [self.B(i) for i in range(self.c.buffer_length())] @property - def token_vector_lenth(self): + def token_vector_length(self): return self.doc.tensor.shape[1] @property