Documentation ¶
Overview ¶
Package score wraps SCTK tools and provides a simpler interface for scoring ASR hypotheses submitted in a variety of formats against reference transcripts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Score ¶
func Score( ctx context.Context, fileFormat FileFormat, normCfg NormalizeConfig, scliteCfg sctk.ScliteCfg, outDir, refFile string, hypFiles []sctk.Hypothesis, ) error
Types ¶
type FileFormat ¶
FileFormat specifies the expected format of reference and hypotheses files.
func (*FileFormat) Validate ¶ added in v0.2.0
func (f *FileFormat) Validate() error
Validate checks whether the options configured for the file format are consistent, and supported.
type NormalizeConfig ¶
NormalizeConfig specifies how to normalize utterance transcripts.
Click to show internal directories.
Click to hide internal directories.