blob: 6914fa0fe56c6761c11b01a3a6855106dc605eea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
bin_PROGRAMS = cdec
noinst_PROGRAMS = \
trule_test \
hg_test \
parser_test \
grammar_test
TESTS = trule_test parser_test grammar_test hg_test
parser_test_SOURCES = parser_test.cc
parser_test_LDADD = $(BOOST_UNIT_TEST_FRAMEWORK_LDFLAGS) $(BOOST_UNIT_TEST_FRAMEWORK_LIBS) libcdec.a ../mteval/libmteval.a ../utils/libutils.a -lz
grammar_test_SOURCES = grammar_test.cc
grammar_test_LDADD = $(BOOST_UNIT_TEST_FRAMEWORK_LDFLAGS) $(BOOST_UNIT_TEST_FRAMEWORK_LIBS) libcdec.a ../mteval/libmteval.a ../utils/libutils.a -lz
hg_test_SOURCES = hg_test.cc
hg_test_LDADD = $(BOOST_UNIT_TEST_FRAMEWORK_LDFLAGS) $(BOOST_UNIT_TEST_FRAMEWORK_LIBS) libcdec.a ../mteval/libmteval.a ../utils/libutils.a -lz
trule_test_SOURCES = trule_test.cc
trule_test_LDADD = $(BOOST_UNIT_TEST_FRAMEWORK_LDFLAGS) $(BOOST_UNIT_TEST_FRAMEWORK_LIBS) libcdec.a ../mteval/libmteval.a ../utils/libutils.a -lz
cdec_SOURCES = cdec.cc
cdec_LDADD = libcdec.a ../mteval/libmteval.a ../utils/libutils.a ../klm/search/libksearch.a ../klm/lm/libklm.a ../klm/util/libklm_util.a -lz
AM_CPPFLAGS = -DBOOST_TEST_DYN_LINK -W -Wno-sign-compare $(GTEST_CPPFLAGS) -I.. -I../mteval -I../utils -I../klm
rule_lexer.cc: rule_lexer.ll
$(LEX) -s -CF -8 -o$@ $<
noinst_LIBRARIES = libcdec.a
libcdec_a_SOURCES = \
forest_writer.cc \
maxtrans_blunsom.cc \
cdec_ff.cc \
cfg.cc \
dwarf.cc \
ff_dwarf.cc \
ff_external.cc \
rule_lexer.cc \
fst_translator.cc \
csplit.cc \
translator.cc \
rescore_translator.cc \
scfg_translator.cc \
hg.cc \
hg_io.cc \
hg_remove_eps.cc \
decoder.cc \
hg_intersect.cc \
hg_union.cc \
hg_sampler.cc \
factored_lexicon_helper.cc \
viterbi.cc \
lattice.cc \
aligner.cc \
apply_models.cc \
earley_composer.cc \
phrasetable_fst.cc \
trule.cc \
ff.cc \
ffset.cc \
ff_basic.cc \
ff_rules.cc \
ff_wordset.cc \
ff_context.cc \
ff_charset.cc \
ff_lm.cc \
ff_klm.cc \
ff_ngrams.cc \
ff_spans.cc \
ff_ruleshape.cc \
ff_wordalign.cc \
ff_csplit.cc \
ff_tagger.cc \
ff_source_syntax.cc \
ff_bleu.cc \
ff_factory.cc \
incremental.cc \
lexalign.cc \
lextrans.cc \
tagger.cc \
bottom_up_parser.cc \
phrasebased_translator.cc \
JSON_parser.c \
json_parse.cc \
grammar.cc
|