Skip to content

Commit

Permalink
Merge pull request #218 from KennethEnevoldsen/KennethEnevoldsen-patch-1
Browse files Browse the repository at this point in the history
fixed var name in docstring
  • Loading branch information
KennethEnevoldsen authored Dec 26, 2023
2 parents 96fff7c + be01698 commit 31dda40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/augmenty/doc/subset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."]
"""
Expand Down

0 comments on commit 31dda40

Please sign in to comment.