summaryrefslogblamecommitdiff
path: root/kaldi_seq/src/kaldi_mpe.h
blob: 218cff57b1f9d8f17212f7c1f4d9decc23ee2f56 (plain) (tree)
1
2
3
4

                            

                                   
















                                                                                
#ifndef NERV_kaldi_KALDI_MPE
#define NERV_kaldi_KALDI_MPE
#include "nerv/lib/matrix/matrix.h"
#include "nerv/lib/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