From 7ebac193aba9a7fbe2c0d8ef5af3ed4857a8a050 Mon Sep 17 00:00:00 2001 From: Kenneth Enevoldsen Date: Fri, 6 Oct 2023 12:36:22 +0200 Subject: [PATCH] fix: update combine docs --- src/augmenty/augment_utilities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/augmenty/augment_utilities.py b/src/augmenty/augment_utilities.py index 6614b60..96f1b24 100644 --- a/src/augmenty/augment_utilities.py +++ b/src/augmenty/augment_utilities.py @@ -25,7 +25,7 @@ def combine( >>> synonym_augmenter = augmenty.load("wordnet_synonym_v1", level=1, lang="en") >>> combined_aug = augmenty.combine([char_swap_augmenter, synonym_augmenter]) >>> # combine doc using two augmenters - >>> augmented_docs = list(augmenty.docs(docs, augmenter=combined_aug, nlp=nlp_en_md)) + >>> augmented_docs = list(augmenty.docs(docs, augmenter=combined_aug, nlp=nlp)) """ def apply_multiple_augmenters(nlp: Language, example: Example):