langtest.transform.grammar.BaseGrammar#

class BaseGrammar#

Bases: ABC

__init__()#

Methods

__init__()

async_run(sample_list, model, **kwargs)

run(sample_list, model, **kwargs)

Abstract method that implements the model testing for to check the grammer issues.

transform(sample_list, *args, **kwargs)

abstract async static run(sample_list: List[Sample], model: ModelAPI, **kwargs)#

Abstract method that implements the model testing for to check the grammer issues.