blob: 39a0267fdc202b7f153b356dbb50b4239c67c09d (
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
|
local with-cmph = [ option.get "with-cmph" ] ;
local includes = ;
if $(with-cmph) {
lib cmph : : <search>$(with-cmph)/lib <search>$(with-cmph)/lib64 ;
includes += <include>$(with-cmph)/include ;
}
else {
alias cmph ;
}
if [ xmlrpc ]
{
echo "BUILDING MOSES2 SERVER!" ;
alias mserver2 : [ glob server/*.cpp ] ;
}
else
{
echo "NOT BUILDING MOSES2 SERVER!" ;
alias mserver2 ;
}
max-factors = [ option.get "max-factors" : 4 : 4 ] ;
max-factors = <define>MAX_NUM_FACTORS=$(max-factors) <dependency>$(FACTOR-LOG) ;
max-order = [ option.get "max-kenlm-order" : 6 : 6 ] ;
max-order = <define>KENLM_MAX_ORDER=$(max-order) ;
alias deps : ..//z ..//boost_iostreams ..//boost_filesystem : : : $(max-factors) $(max-order) ;
lib moses2_lib :
AlignmentInfo.cpp
AlignmentInfoCollection.cpp
ArcLists.cpp
EstimatedScores.cpp
HypothesisBase.cpp
HypothesisColl.cpp
InputPathBase.cpp
InputPathsBase.cpp
InputType.cpp
ManagerBase.cpp
MemPool.cpp
Phrase.cpp
pugixml.cpp
Scores.cpp
SubPhrase.cpp
System.cpp
TargetPhrase.cpp
TranslationTask.cpp
TrellisPaths.cpp
TypeDef.cpp
Vector.cpp
Weights.cpp
Word.cpp
FF/Distortion.cpp
FF/FeatureFunction.cpp
FF/FeatureFunctions.cpp
FF/FeatureRegistry.cpp
FF/PhrasePenalty.cpp
FF/ExampleStatefulFF.cpp
FF/ExampleStatelessFF.cpp
FF/StatefulFeatureFunction.cpp
FF/StatelessFeatureFunction.cpp
FF/WordPenalty.cpp
FF/LexicalReordering/BidirectionalReorderingState.cpp
FF/LexicalReordering/HReorderingBackwardState.cpp
FF/LexicalReordering/HReorderingForwardState.cpp
FF/LexicalReordering/LexicalReordering.cpp
FF/LexicalReordering/LRModel.cpp
FF/LexicalReordering/LRState.cpp
FF/LexicalReordering/PhraseBasedReorderingState.cpp
FF/LexicalReordering/ReorderingStack.cpp
FF/OSM/OpSequenceModel.cpp
FF/OSM/KenOSM.cpp
FF/OSM/osmHyp.cpp
LM/LanguageModel.cpp
LM/KENLM.cpp
LM/KENLMBatch.cpp
LM/GPULM.cpp
TranslationModel/PhraseTable.cpp
TranslationModel/ProbingPT.cpp
TranslationModel/Transliteration.cpp
TranslationModel/UnknownWordPenalty.cpp
TranslationModel/Memory/PhraseTableMemory.cpp
TranslationModel/CompactPT/BlockHashIndex.cpp
TranslationModel/CompactPT/CmphStringVectorAdapter.cpp
TranslationModel/CompactPT/LexicalReorderingTableCompact.cpp
TranslationModel/CompactPT/MurmurHash3.cpp
TranslationModel/CompactPT/TargetPhraseCollectionCache.cpp
TranslationModel/CompactPT/ThrowingFwrite.cpp
TranslationModel/Dynamic/DynamicPhraseTable.cpp
parameters/AllOptions.cpp
parameters/BookkeepingOptions.cpp
parameters/ContextParameters.cpp
parameters/CubePruningOptions.cpp
parameters/InputOptions.cpp
parameters/LMBR_Options.cpp
parameters/MBR_Options.cpp
parameters/NBestOptions.cpp
parameters/OOVHandlingOptions.cpp
parameters/OptionsBaseClass.cpp
parameters/ReorderingOptions.cpp
parameters/ReportingOptions.cpp
parameters/SearchOptions.cpp
parameters/ServerOptions.cpp
parameters/SyntaxOptions.cpp
PhraseBased/Hypothesis.cpp
PhraseBased/InputPath.cpp
PhraseBased/InputPaths.cpp
PhraseBased/Manager.cpp
PhraseBased/PhraseImpl.cpp
PhraseBased/ReorderingConstraint.cpp
PhraseBased/TargetPhrases.cpp
PhraseBased/Search.cpp
PhraseBased/Sentence.cpp
PhraseBased/SentenceWithCandidates.cpp
PhraseBased/TargetPhraseImpl.cpp
PhraseBased/TrellisPath.cpp
PhraseBased/Normal/Search.cpp
PhraseBased/Normal/Stack.cpp
PhraseBased/Normal/Stacks.cpp
PhraseBased/CubePruningMiniStack/Misc.cpp
PhraseBased/CubePruningMiniStack/Search.cpp
PhraseBased/CubePruningMiniStack/Stack.cpp
# PhraseBased/CubePruningCardinalStack/Misc.cpp
# PhraseBased/CubePruningCardinalStack/Search.cpp
# PhraseBased/CubePruningCardinalStack/Stack.cpp
# PhraseBased/CubePruningBitmapStack/Misc.cpp
# PhraseBased/CubePruningBitmapStack/Search.cpp
# PhraseBased/CubePruningBitmapStack/Stack.cpp
# PhraseBased/CubePruningPerBitmap/Misc.cpp
# PhraseBased/CubePruningPerBitmap/Search.cpp
# PhraseBased/CubePruningPerBitmap/Stacks.cpp
# PhraseBased/CubePruningPerMiniStack/Misc.cpp
# PhraseBased/CubePruningPerMiniStack/Search.cpp
# PhraseBased/CubePruningPerMiniStack/Stacks.cpp
legacy/Bitmap.cpp
legacy/Bitmaps.cpp
legacy/Factor.cpp
legacy/FactorCollection.cpp
legacy/InputFileStream.cpp
legacy/Matrix.cpp
legacy/OutputFileStream.cpp
legacy/Parameter.cpp
legacy/Range.cpp
legacy/Range.cpp
legacy/ThreadPool.cpp
legacy/Timer.cpp
legacy/Util2.cpp
SCFG/ActiveChart.cpp
SCFG/Hypothesis.cpp
SCFG/InputPath.cpp
SCFG/InputPaths.cpp
SCFG/Manager.cpp
SCFG/Misc.cpp
SCFG/PhraseImpl.cpp
SCFG/Sentence.cpp
SCFG/Stack.cpp
SCFG/Stacks.cpp
SCFG/TargetPhraseImpl.cpp
SCFG/TargetPhrases.cpp
SCFG/Word.cpp
SCFG/nbest/KBestExtractor.cpp
SCFG/nbest/NBest.cpp
SCFG/nbest/NBests.cpp
SCFG/nbest/NBestColl.cpp
Moses2Wrapper.cpp
DLLEntryApi.cpp
deps
cmph
mserver2
:
$(includes)
;
#need to figure out this
lib moses2decoder : Main.cpp moses2_lib ../probingpt//probingpt ../util//kenutil ../lm//kenlm ;
exe moses2 : moses2decoder ;
echo "Building Moses2" ;
alias programs : moses2 moses2decoder ;
|