blob: 6175479a5749f578c5fe0c15d1641b019de94d45 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef NERV_kaldi_KALDI_MMI
#define NERV_kaldi_KALDI_MMI
#include "nerv/lib/matrix/matrix.h"
#include "nerv/lib/common.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct KaldiMMI KaldiMMI;
KaldiMMI * new_KaldiMMI(const char*, const char*, const char*, const char*);
void destroy_KaldiMMI(KaldiMMI *);
int check_mmi(KaldiMMI *, const Matrix*, const char *);
Matrix * calc_diff_mmi(KaldiMMI *, Matrix *, const char *);
double get_num_frames_mmi(const KaldiMMI *);
#ifdef __cplusplus
}
#endif
#endif
|