Flow that apply augmentation sequentially.
Sequential(flow=None, name='Sequential_Pipeline', verbose=0)¶
Flow that apply augmenters sequentially.
- flow (list) – list of flow or augmenter
- name (str) – Name of this augmenter
>>> import nlpaug.flow as naf >>> import nlpaug.augmenter.char as nac >>> import nlpaug.augmenter.word as naw >>> flow = naf.Sequential([nac.RandomCharAug(), naw.RandomWordAug()])