From f7507c2327162a97a31cbe75732a0b512f4cd323 Mon Sep 17 00:00:00 2001 From: Sofie Van Landeghem Date: Thu, 2 Jun 2022 00:10:16 +0200 Subject: [PATCH] fix typo + CI slow testing (#10835) * fix typo * one more typo --- spacy/pipeline/pipe.pyx | 2 +- spacy/training/example.pyx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/pipeline/pipe.pyx b/spacy/pipeline/pipe.pyx index d24e4d574..4e3ae1cf0 100644 --- a/spacy/pipeline/pipe.pyx +++ b/spacy/pipeline/pipe.pyx @@ -31,7 +31,7 @@ cdef class Pipe: and returned. This usually happens under the hood when the nlp object is called on a text and all components are applied to the Doc. - docs (Doc): The Doc to process. + doc (Doc): The Doc to process. RETURNS (Doc): The processed Doc. DOCS: https://spacy.io/api/pipe#call diff --git a/spacy/training/example.pyx b/spacy/training/example.pyx index ab92f78c6..3035388a6 100644 --- a/spacy/training/example.pyx +++ b/spacy/training/example.pyx @@ -198,7 +198,7 @@ cdef class Example: def get_aligned_sent_starts(self): """Get list of SENT_START attributes aligned to the predicted tokenization. - If the reference has not sentence starts, return a list of None values. + If the reference does not have sentence starts, return a list of None values. """ if self.y.has_annotation("SENT_START"): align = self.alignment.y2x