From be01698f8ee416588fecf481943e46c81d5a4e47 Mon Sep 17 00:00:00 2001 From: Kenneth Enevoldsen Date: Tue, 26 Dec 2023 13:27:22 +0100 Subject: [PATCH] Update subset.pyf --- src/augmenty/doc/subset.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/augmenty/doc/subset.py b/src/augmenty/doc/subset.py index 8f8ddd2..3480f8d 100644 --- a/src/augmenty/doc/subset.py +++ b/src/augmenty/doc/subset.py @@ -92,11 +92,11 @@ def create_paragraph_subset_augmenter_v1( >>> import spacy >>> nlp = spacy.blank("en") >>> nlp.add_pipe("sentencizer") - >>> upper_case_augmenter = augmenty.load("sent_subset_v1", level=0.7) + >>> augmenter = augmenty.load("sent_subset_v1", level=0.7) >>> text = "Augmenty is a wonderful tool for augmentation. " + >>> "It have tons of different augmenters. " + >>> " Augmenty is developed using spaCy." - >>> list(augmenty.texts([text], upper_case_augmenter, nlp)) + >>> list(augmenty.texts([text], augmenter, nlp)) ["Augmenty is a wonderful tool for augmentation. Augmenty is developed using spaCy."] """