diff options
author | Chris Dyer <redpony@gmail.com> | 2014-12-17 22:43:12 -0500 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2014-12-17 22:43:12 -0500 |
commit | 3b3d7fe1f65c811d2c158f0c79a007817023a5c5 (patch) | |
tree | 2d2c1c9fe34e60a9109ff24a2e79809a67aede07 /training/const_reorder | |
parent | fb3eed63fb8d97e807eeff8543428680c4a27ab2 (diff) | |
parent | 814f7e4aba46701f83043972e548f0bd36e727e0 (diff) |
Merge pull request #65 from kho/const_reorder_2
Fix a building problem
Diffstat (limited to 'training/const_reorder')
-rw-r--r-- | training/const_reorder/Makefile.am | 12 | ||||
-rw-r--r-- | training/const_reorder/trainer.cc | 2 |
2 files changed, 6 insertions, 8 deletions
diff --git a/training/const_reorder/Makefile.am b/training/const_reorder/Makefile.am index 367ac904..2c681398 100644 --- a/training/const_reorder/Makefile.am +++ b/training/const_reorder/Makefile.am @@ -1,12 +1,8 @@ -noinst_LIBRARIES = libtrainer.a - -libtrainer_a_SOURCES = trainer.h trainer.cc - bin_PROGRAMS = const_reorder_model_trainer argument_reorder_model_trainer AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/utils -I$(top_srcdir)/decoder -const_reorder_model_trainer_SOURCES = constituent_reorder_model.cc -const_reorder_model_trainer_LDADD = ../../utils/libutils.a libtrainer.a -argument_reorder_model_trainer_SOURCES = argument_reorder_model.cc -argument_reorder_model_trainer_LDADD = ../../utils/libutils.a libtrainer.a +const_reorder_model_trainer_SOURCES = constituent_reorder_model.cc trainer.h trainer.cc +const_reorder_model_trainer_LDADD = ../../utils/libutils.a +argument_reorder_model_trainer_SOURCES = argument_reorder_model.cc trainer.h trainer.cc +argument_reorder_model_trainer_LDADD = ../../utils/libutils.a diff --git a/training/const_reorder/trainer.cc b/training/const_reorder/trainer.cc index 89bd7479..1d388eec 100644 --- a/training/const_reorder/trainer.cc +++ b/training/const_reorder/trainer.cc @@ -1,5 +1,7 @@ #include "trainer.h" +#include "utils/maxent.h" + Tsuruoka_Maxent_Trainer::Tsuruoka_Maxent_Trainer() : const_reorder::Tsuruoka_Maxent(NULL) {} |