blob: a34aba1a72015d3974e7789f5aa829365dfab512 (
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
86
87
88
89
90
91
92
93
94
|
bin_PROGRAMS = cdec
if HAVE_GTEST
noinst_PROGRAMS = \
dict_test \
weights_test \
trule_test \
hg_test \
ff_test \
logval_test \
parser_test \
grammar_test \
small_vector_test
endif
cdec_SOURCES = cdec.cc forest_writer.cc maxtrans_blunsom.cc cdec_ff.cc timing_stats.cc
small_vector_test_SOURCES = small_vector_test.cc
small_vector_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS) libcdec.a
parser_test_SOURCES = parser_test.cc
parser_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS) libcdec.a
dict_test_SOURCES = dict_test.cc
dict_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS) libcdec.a
ff_test_SOURCES = ff_test.cc
ff_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS) libcdec.a
grammar_test_SOURCES = grammar_test.cc
grammar_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS) libcdec.a
hg_test_SOURCES = hg_test.cc
hg_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS) libcdec.a
trule_test_SOURCES = trule_test.cc
trule_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS) libcdec.a
weights_test_SOURCES = weights_test.cc
weights_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS) libcdec.a
logval_test_SOURCES = logval_test.cc
logval_test_LDADD = $(GTEST_LDFLAGS) $(GTEST_LIBS)
LDADD = libcdec.a
AM_CPPFLAGS = -W -Wall -Wno-sign-compare $(GTEST_CPPFLAGS) -I..
AM_LDFLAGS = -lz
rule_lexer.cc: rule_lexer.l
$(LEX) -s -CF -8 -o$@ $<
noinst_LIBRARIES = libcdec.a
libcdec_a_SOURCES = \
rule_lexer.cc \
fst_translator.cc \
csplit.cc \
dict.cc \
translator.cc \
scfg_translator.cc \
hg.cc \
hg_io.cc \
hg_intersect.cc \
viterbi.cc \
lattice.cc \
aligner.cc \
gzstream.cc \
apply_models.cc \
earley_composer.cc \
phrasetable_fst.cc \
sparse_vector.cc \
trule.cc \
filelib.cc \
stringlib.cc \
fdict.cc \
tdict.cc \
weights.cc \
ttables.cc \
ff.cc \
ff_lm.cc \
ff_ruleshape.cc \
ff_wordalign.cc \
ff_csplit.cc \
ff_tagger.cc \
ff_bleu.cc \
ff_factory.cc \
../vest/scorer.cc \
../vest/ter.cc \
../vest/aer_scorer.cc \
../vest/comb_scorer.cc \
../vest/error_surface.cc \
../vest/viterbi_envelope.cc \
tromble_loss.cc \
freqdict.cc \
lexalign.cc \
lextrans.cc \
tagger.cc \
bottom_up_parser.cc \
phrasebased_translator.cc \
JSON_parser.c \
json_parse.cc \
grammar.cc
|