KwsTermsAlignerOptions Struct Reference

#include <kws-scoring.h>

Collaboration diagram for KwsTermsAlignerOptions:

Public Member Functions

 KwsTermsAlignerOptions ()
 
void Register (OptionsItf *opts)
 

Public Attributes

int max_distance
 

Detailed Description

Definition at line 126 of file kws-scoring.h.

Constructor & Destructor Documentation

◆ KwsTermsAlignerOptions()

Definition at line 132 of file kws-scoring.h.

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)

Definition at line 113 of file kws-scoring.cc.

References OptionsItf::Register().

Referenced by main().

113  {
114  opts->Register("max_distance", &max_distance,
115  "Max distance on the ref and hyp centers "
116  "to be considered as a potential match");
117 }

Member Data Documentation

◆ max_distance

int max_distance

Definition at line 127 of file kws-scoring.h.

Referenced by KwsTermsAligner::FindNextRef().


The documentation for this struct was generated from the following files: