summaryrefslogtreecommitdiff
path: root/kaldi_seq/src/kaldi_mpe.h
blob: fd09574d184a0fd6240b0ff992e8da5d977c0823 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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