about summary refs log tree commit diff
path: root/sourcecodes/k-best/src/ls_NML.h
diff options
context:
space:
mode:
Diffstat (limited to 'sourcecodes/k-best/src/ls_NML.h')
-rw-r--r--sourcecodes/k-best/src/ls_NML.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sourcecodes/k-best/src/ls_NML.h b/sourcecodes/k-best/src/ls_NML.h
new file mode 100644
index 00000000..bd7df9de
--- /dev/null
+++ b/sourcecodes/k-best/src/ls_NML.h
@@ -0,0 +1,12 @@
+#ifndef _LS_NML_H_
+#define _LS_NML_H_
+
+#include "cfg.h"
+#include "get_local_scores.h"
+
+/* NML = log(ML) - SUM_D log(ML(D)) */
+
+extern scorefun init_NML_scorer();
+extern void free_NML_scorer();
+
+#endif