This PR resolves a bug where using the EDA augmentation recipe would not work with the textattack augmentation cli. This issue was because the EDA recipe did not accept the default arguments defined in the Augmentation superclass. This change resolves this issue by accepting a var-keyword parameter, which is then passed to the component Augmenter objects used by the EDA recipe.
This PR resolved the bug raised in #796, which found that running the EDA recipe from the textattack augmentation cli would raise a TypeError: __init__() got an unexpected keyword argument `high_yield`
Changes
Changes EDA recipe to accept a var-keyword parameter, which is passed to the component Augmenter objects
What does this PR do?
Summary
This PR resolves a bug where using the EDA augmentation recipe would not work with the textattack augmentation cli. This issue was because the EDA recipe did not accept the default arguments defined in the Augmentation superclass. This change resolves this issue by accepting a var-keyword parameter, which is then passed to the component Augmenter objects used by the EDA recipe.
This PR resolved the bug raised in #796, which found that running the EDA recipe from the textattack augmentation cli would raise a
TypeError: __init__() got an unexpected keyword argument `high_yield`
Changes