langtest.augmentation.base.BaseAugmentaion#

class BaseAugmentaion#

Bases: ABC

Abstract base class for data augmentation techniques.

fix()#

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

__init__()#

Methods

__init__()

fix(*args, **kwargs)

Abstract method that should be implemented by child classes.

abstract fix(*args, **kwargs)#

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