summaryrefslogblamecommitdiff
path: root/kaldi_seq/src/kaldi_mpe.h
blob: fd09574d184a0fd6240b0ff992e8da5d977c0823 (plain) (tree)




















                                                                                
#ifndef NERV_kaldi_KALDI_MPE
#define NERV_kaldi_KALDI_MPE
#include "nerv/matrix/matrix.h"
#include "nerv/common.h"
#ifdef __cplusplus
extern "C" {
#endif

    typedef struct KaldiMPE KaldiMPE;

    KaldiMPE * new_KaldiMPE(const char*, const char*, const char*, const char*);
    void destroy_KaldiMPE(KaldiMPE *);
    int check_mpe(KaldiMPE *, const Matrix*, const char *);
    Matrix * calc_diff_mpe(KaldiMPE *, Matrix *, const char *);
    double get_num_frames_mpe(const KaldiMPE *);
    double get_utt_frame_acc_mpe(const KaldiMPE *);

#ifdef __cplusplus
}
#endif
#endif