summaryrefslogtreecommitdiff
path: root/training/const_reorder/trainer.h
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2014-12-17 22:04:58 -0500
committerChris Dyer <redpony@gmail.com>2014-12-17 22:04:58 -0500
commita059245e63178682624e10cde69f171820bd9209 (patch)
treea6f17da7c69048c8900260b5490bb9d8611be3bb /training/const_reorder/trainer.h
parent1a79175f9a101d46cf27ca921213d5dd9300518f (diff)
parent7468e8d85e99b4619442c7afaf4a0d92870111bb (diff)
Merge pull request #63 from kho/const_reorder_2
Soft linguistic reordering constraints from http://www.aclweb.org/anthology/P14-1106
Diffstat (limited to 'training/const_reorder/trainer.h')
-rw-r--r--training/const_reorder/trainer.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/training/const_reorder/trainer.h b/training/const_reorder/trainer.h
new file mode 100644
index 00000000..e574a536
--- /dev/null
+++ b/training/const_reorder/trainer.h
@@ -0,0 +1,12 @@
+#ifndef TRAINING_CONST_REORDER_TRAINER_H_
+#define TRAINING_CONST_REORDER_TRAINER_H_
+
+#include "decoder/ff_const_reorder_common.h"
+
+struct Tsuruoka_Maxent_Trainer : const_reorder::Tsuruoka_Maxent {
+ Tsuruoka_Maxent_Trainer();
+ void fnTrain(const char* pszInstanceFName, const char* pszAlgorithm,
+ const char* pszModelFName);
+};
+
+#endif // TRAINING_CONST_REORDER_TRAINER_H_