nlpaug
nlpaug copied to clipboard
How to generate more than 1 augmented samples using Back-Translation method?
How to generate more than 1 augmented samples using Back-Translation method?
Current implementation of BackTranslationAug
can only support generating a single text, but actually we can change the decoding strategy so than multiple augmented texts can be generated, which will make augmentation more effective.
Is there a way to more more than one text? Thanks!
Considered the unexpected sequence problem. If input is list (e.g. ["a", "B", "c"], it will only augmented 1 record per input.