benchmarkstt.api.entrypoints.benchmark module

benchmarkstt.api.entrypoints.benchmark.callback(cls, ref: str, hyp: str, config: str = None, return_logs: bool = None, *args, **kwargs)[source]
Parameters
  • ref -- Reference text

  • hyp -- Hypothesis text

  • config -- The config to use

  • return_logs (bool) -- Return normalization logs

Example ref

'Hello darkness my OLD friend'

Example hyp

'Hello darkness my old foe'

Example config
[normalization]
# using a simple config file
Lowercase
Example result

""