From 0d05f10786518e2c009fa4146257d1ae1429e65d Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Mon, 31 Jul 2023 17:45:43 +0200 Subject: [PATCH] Update spacy/vocab.pyx Co-authored-by: Sofie Van Landeghem --- spacy/vocab.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/vocab.pyx b/spacy/vocab.pyx index fd8fa5748..a357b7889 100644 --- a/spacy/vocab.pyx +++ b/spacy/vocab.pyx @@ -300,7 +300,7 @@ cdef class Vocab: width, you have to call this to change the size of the vectors. """ if not isinstance(self.vectors, Vectors): - raise ValueError(Errors.E849.format("reset", vectors_type=type(self.vectors))) + raise ValueError(Errors.E849.format(action="reset", vectors_type=type(self.vectors))) if width is not None and shape is not None: raise ValueError(Errors.E065.format(width=width, shape=shape)) elif shape is not None: