Skip to content

Commit

Permalink
fix: update combine docs
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethEnevoldsen committed Oct 6, 2023
1 parent ce3ffc5 commit 7ebac19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/augmenty/augment_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 7ebac19

Please sign in to comment.