#include <kws-scoring.h>
Public Member Functions | |
KwsTerm () | |
KwsTerm (const std::string &kw_id, const std::vector< double > &vec) | |
bool | valid () const |
int | utt_id () const |
void | set_utt_id (int utt_id) |
std::string | kw_id () const |
void | set_kw_id (const std::string &kw_id) |
int | start_time () const |
void | set_start_time (int start_time) |
int | end_time () const |
void | set_end_time (int end_time) |
float | score () const |
void | set_score (float score) |
Private Attributes | |
int | utt_id_ |
std::string | kw_id_ |
int | start_time_ |
int | end_time_ |
float | score_ |
Definition at line 32 of file kws-scoring.h.
|
inline |
Definition at line 34 of file kws-scoring.h.
|
inline |
Definition at line 45 of file kws-scoring.h.
References KALDI_ASSERT, KwsTerm::set_end_time(), KwsTerm::set_kw_id(), KwsTerm::set_score(), KwsTerm::set_start_time(), and KwsTerm::set_utt_id().
|
inline |
Definition at line 67 of file kws-scoring.h.
References KwsTerm::end_time_.
Referenced by KwsTermsAligner::AlignerScore(), KwTermLower::operator()(), KwTermEqual::operator()(), and KwsTerm::set_end_time().
|
inline |
Definition at line 63 of file kws-scoring.h.
References KwsTerm::kw_id_.
Referenced by TwvMetrics::AddEvent(), KwsTermsAligner::AddRef(), KwsTermsAligner::FindBestRefIndex(), KwTermEqual::operator()(), KwsTermsAligner::RefExistsMaybe(), and KwsTerm::set_kw_id().
|
inline |
Definition at line 69 of file kws-scoring.h.
References KwsTerm::score_.
Referenced by TwvMetrics::AddEvent(), and KwsTerm::set_score().
|
inline |
Definition at line 68 of file kws-scoring.h.
References KwsTerm::end_time(), and KwsTerm::end_time_.
Referenced by KwsTerm::KwsTerm().
|
inline |
Definition at line 64 of file kws-scoring.h.
References KwsTerm::kw_id(), and KwsTerm::kw_id_.
Referenced by KwsTerm::KwsTerm().
|
inline |
Definition at line 70 of file kws-scoring.h.
References KwsTerm::score(), and KwsTerm::score_.
Referenced by KwsTerm::KwsTerm().
|
inline |
Definition at line 66 of file kws-scoring.h.
References KwsTerm::start_time(), and KwsTerm::start_time_.
Referenced by KwsTerm::KwsTerm().
|
inline |
Definition at line 62 of file kws-scoring.h.
References KwsTerm::utt_id(), and KwsTerm::utt_id_.
Referenced by KwsTerm::KwsTerm().
|
inline |
Definition at line 65 of file kws-scoring.h.
References KwsTerm::start_time_.
Referenced by KwsTermsAligner::AlignerScore(), KwTermLower::operator()(), KwTermEqual::operator()(), and KwsTerm::set_start_time().
|
inline |
Definition at line 61 of file kws-scoring.h.
References KwsTerm::utt_id_.
Referenced by KwsTermsAligner::AddRef(), KwsTermsAligner::FindBestRefIndex(), KwTermEqual::operator()(), KwsTermsAligner::RefExistsMaybe(), and KwsTerm::set_utt_id().
|
inline |
Definition at line 56 of file kws-scoring.h.
References KwsTerm::kw_id_.
Referenced by TwvMetrics::AddEvent().
|
private |
Definition at line 76 of file kws-scoring.h.
Referenced by KwsTerm::end_time(), and KwsTerm::set_end_time().
|
private |
Definition at line 74 of file kws-scoring.h.
Referenced by KwsTerm::kw_id(), KwsTerm::set_kw_id(), and KwsTerm::valid().
|
private |
Definition at line 77 of file kws-scoring.h.
Referenced by KwsTerm::score(), and KwsTerm::set_score().
|
private |
Definition at line 75 of file kws-scoring.h.
Referenced by KwsTerm::set_start_time(), and KwsTerm::start_time().
|
private |
Definition at line 73 of file kws-scoring.h.
Referenced by KwsTerm::set_utt_id(), and KwsTerm::utt_id().