nlptest.augmentation.BaseAugmentaion#

class BaseAugmentaion#

Bases: ABC

Abstract base class for data augmentation techniques.

None#
fix()#

Abstract method that should be implemented by child classes. This method should perform the data augmentation operation.

Returns:

Raised if the method is not implemented by child classes.

Return type:

NotImplementedError

__init__()#

Methods

__init__()

fix()

Abstract method that should be implemented by child classes.

abstract fix()#

Abstract method that should be implemented by child classes. This method should perform the data augmentation operation.

Returns:

Raised if the method is not implemented by child classes.

Return type:

NotImplementedError