2010-06-10 19:32:33 +04:00
|
|
|
lib_LTLIBRARIES = libmoses.la
|
2009-08-07 20:47:54 +04:00
|
|
|
AM_CPPFLAGS = -W -Wall -ffor-scope -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES $(BOOST_CPPFLAGS)
|
2010-02-24 13:34:00 +03:00
|
|
|
|
2010-06-10 19:32:33 +04:00
|
|
|
libmoses_ladir = ${includedir}
|
|
|
|
|
|
|
|
libmoses_la_HEADERS = \
|
|
|
|
AlignmentInfo.h \
|
|
|
|
BilingualDynSuffixArray.h \
|
|
|
|
BitmapContainer.h \
|
|
|
|
CellCollection.h \
|
|
|
|
ChartRule.h \
|
|
|
|
ChartRuleCollection.h \
|
|
|
|
ConfusionNet.h \
|
|
|
|
DecodeGraph.h \
|
|
|
|
DecodeStep.h \
|
|
|
|
DecodeStepGeneration.h \
|
|
|
|
DecodeStepTranslation.h \
|
|
|
|
Dictionary.h \
|
|
|
|
DotChart.h \
|
|
|
|
DotChartOnDisk.h \
|
|
|
|
DummyScoreProducers.h \
|
|
|
|
DynSAInclude/file.h \
|
|
|
|
DynSAInclude/vocab.h \
|
|
|
|
DynSuffixArray.h \
|
|
|
|
FFState.h \
|
|
|
|
Factor.h \
|
|
|
|
FactorCollection.h \
|
|
|
|
FactorTypeSet.h \
|
|
|
|
FeatureFunction.h \
|
|
|
|
File.h \
|
|
|
|
FilePtr.h \
|
|
|
|
FloydWarshall.h \
|
|
|
|
GenerationDictionary.h \
|
|
|
|
GlobalLexicalModel.h \
|
|
|
|
gzfilebuf.h \
|
|
|
|
hash.h \
|
|
|
|
Hypothesis.h \
|
|
|
|
HypothesisStack.h \
|
|
|
|
HypothesisStackCubePruning.h \
|
|
|
|
HypothesisStackNormal.h \
|
|
|
|
InputFileStream.h \
|
|
|
|
InputType.h \
|
|
|
|
LMList.h \
|
|
|
|
LVoc.h \
|
|
|
|
LanguageModel.h \
|
|
|
|
LanguageModelJoint.h \
|
|
|
|
LanguageModelFactory.h \
|
|
|
|
LanguageModelInternal.h \
|
|
|
|
LanguageModelMultiFactor.h \
|
|
|
|
LanguageModelRemote.h \
|
|
|
|
LanguageModelSingleFactor.h \
|
|
|
|
LanguageModelSkip.h \
|
|
|
|
LexicalReordering.h \
|
|
|
|
LexicalReorderingState.h \
|
|
|
|
LexicalReorderingTable.h \
|
|
|
|
Manager.h \
|
|
|
|
ObjectPool.h \
|
|
|
|
PCNTools.h \
|
|
|
|
PDTAimp.h \
|
|
|
|
Parameter.h \
|
|
|
|
PartialTranslOptColl.h \
|
|
|
|
Phrase.h \
|
|
|
|
PhraseDictionary.h \
|
|
|
|
PhraseDictionaryDynSuffixArray.h \
|
|
|
|
PhraseDictionaryMemory.h \
|
2010-07-18 02:29:06 +04:00
|
|
|
PhraseDictionarySCFG.h \
|
2010-06-10 19:32:33 +04:00
|
|
|
PhraseDictionaryNode.h \
|
2010-07-18 02:29:06 +04:00
|
|
|
PhraseDictionaryNodeSCFG.h \
|
2010-06-10 19:32:33 +04:00
|
|
|
PhraseDictionaryOnDisk.h \
|
|
|
|
PhraseDictionaryTree.h \
|
|
|
|
PhraseDictionaryTreeAdaptor.h \
|
|
|
|
PrefixTree.h \
|
|
|
|
PrefixTreeMap.h \
|
|
|
|
ReorderingConstraint.h \
|
|
|
|
ReorderingStack.h \
|
|
|
|
ScoreComponentCollection.h \
|
|
|
|
ScoreIndexManager.h \
|
|
|
|
ScoreProducer.h \
|
|
|
|
Search.h \
|
|
|
|
SearchCubePruning.h \
|
|
|
|
SearchNormal.h \
|
|
|
|
Sentence.h \
|
|
|
|
SentenceStats.h \
|
|
|
|
SquareMatrix.h \
|
|
|
|
StaticData.h \
|
|
|
|
TargetPhrase.h \
|
|
|
|
TargetPhraseCollection.h \
|
|
|
|
Timer.h \
|
|
|
|
TranslationOption.h \
|
|
|
|
TranslationOptionCollection.h \
|
|
|
|
TranslationOptionCollectionConfusionNet.h \
|
|
|
|
TranslationOptionCollectionText.h \
|
|
|
|
TranslationOptionList.h \
|
|
|
|
TreeInput.h \
|
|
|
|
TrellisPath.h \
|
|
|
|
TrellisPathCollection.h \
|
|
|
|
TrellisPathList.h \
|
|
|
|
TypeDef.h \
|
|
|
|
UniqueObject.h \
|
|
|
|
UserMessage.h \
|
|
|
|
Util.h \
|
|
|
|
Word.h \
|
|
|
|
WordConsumed.h \
|
|
|
|
WordLattice.h \
|
|
|
|
WordsBitmap.h \
|
|
|
|
WordsRange.h \
|
|
|
|
XmlOption.h
|
2010-02-24 13:34:00 +03:00
|
|
|
|
|
|
|
if PROTOBUF
|
2010-06-10 19:32:33 +04:00
|
|
|
libmoses_la_HEADERS += rule.pb.h hypergraph.pb.h
|
2010-02-24 13:34:00 +03:00
|
|
|
endif
|
|
|
|
|
|
|
|
if SRI_LM
|
2010-06-10 19:32:33 +04:00
|
|
|
libmoses_la_HEADERS += LanguageModelSRI.h \
|
|
|
|
LanguageModelParallelBackoff.h
|
2010-02-24 13:34:00 +03:00
|
|
|
endif
|
|
|
|
|
|
|
|
if IRST_LM
|
2010-06-10 19:32:33 +04:00
|
|
|
libmoses_la_HEADERS += LanguageModelIRST.h
|
2010-02-24 13:34:00 +03:00
|
|
|
endif
|
|
|
|
|
|
|
|
if RAND_LM
|
2010-06-10 19:32:33 +04:00
|
|
|
libmoses_la_HEADERS += LanguageModelRandLM.h
|
2010-02-24 13:34:00 +03:00
|
|
|
endif
|
|
|
|
|
|
|
|
if INTERNAL_LM
|
2010-06-10 19:32:33 +04:00
|
|
|
libmoses_la_HEADERS += LanguageModelInternal.h \
|
2010-02-24 13:34:00 +03:00
|
|
|
NGramCollection.h \
|
|
|
|
NGramNode.h
|
|
|
|
endif
|
|
|
|
|
2010-06-10 19:32:33 +04:00
|
|
|
libmoses_la_SOURCES = \
|
|
|
|
AlignmentInfo.cpp \
|
|
|
|
BilingualDynSuffixArray.cpp \
|
|
|
|
BitmapContainer.cpp \
|
|
|
|
ChartRule.cpp \
|
|
|
|
ChartRuleCollection.cpp \
|
|
|
|
ConfusionNet.cpp \
|
|
|
|
DecodeGraph.cpp \
|
|
|
|
DecodeStep.cpp \
|
|
|
|
DecodeStepGeneration.cpp \
|
|
|
|
DecodeStepTranslation.cpp \
|
|
|
|
Dictionary.cpp \
|
|
|
|
DotChart.cpp \
|
|
|
|
DotChartOnDisk.cpp \
|
|
|
|
DummyScoreProducers.cpp \
|
2010-06-09 18:08:55 +04:00
|
|
|
DynSAInclude/file.cpp \
|
|
|
|
DynSAInclude/vocab.cpp \
|
2010-06-10 19:32:33 +04:00
|
|
|
DynSuffixArray.cpp \
|
|
|
|
FFState.cpp \
|
|
|
|
Factor.cpp \
|
|
|
|
FactorCollection.cpp \
|
|
|
|
FactorTypeSet.cpp \
|
|
|
|
FeatureFunction.cpp \
|
|
|
|
FloydWarshall.cpp \
|
|
|
|
GenerationDictionary.cpp \
|
|
|
|
GlobalLexicalModel.cpp \
|
|
|
|
hash.cpp \
|
|
|
|
Hypothesis.cpp \
|
|
|
|
HypothesisStack.cpp \
|
|
|
|
HypothesisStackCubePruning.cpp \
|
|
|
|
HypothesisStackNormal.cpp \
|
|
|
|
InputFileStream.cpp \
|
|
|
|
InputType.cpp \
|
|
|
|
LMList.cpp \
|
|
|
|
LVoc.cpp \
|
|
|
|
LanguageModel.cpp \
|
|
|
|
LanguageModelFactory.cpp \
|
|
|
|
LanguageModelInternal.cpp \
|
|
|
|
LanguageModelJoint.cpp \
|
|
|
|
LanguageModelMultiFactor.cpp \
|
|
|
|
LanguageModelRemote.cpp \
|
|
|
|
LanguageModelSingleFactor.cpp \
|
|
|
|
LanguageModelSkip.cpp \
|
|
|
|
LexicalReordering.cpp \
|
|
|
|
LexicalReorderingState.cpp \
|
|
|
|
LexicalReorderingTable.cpp \
|
|
|
|
Manager.cpp \
|
|
|
|
NGramCollection.cpp \
|
|
|
|
NGramNode.cpp \
|
|
|
|
PCNTools.cpp \
|
|
|
|
Parameter.cpp \
|
|
|
|
PartialTranslOptColl.cpp \
|
|
|
|
Phrase.cpp \
|
|
|
|
PhraseDictionary.cpp \
|
|
|
|
PhraseDictionaryDynSuffixArray.cpp \
|
|
|
|
PhraseDictionaryMemory.cpp \
|
2010-07-18 02:29:06 +04:00
|
|
|
PhraseDictionarySCFG.cpp \
|
|
|
|
PhraseDictionarySCFGChart.cpp \
|
2010-06-10 19:32:33 +04:00
|
|
|
PhraseDictionaryNode.cpp \
|
2010-07-18 02:29:06 +04:00
|
|
|
PhraseDictionaryNodeSCFG.cpp \
|
2010-06-10 19:32:33 +04:00
|
|
|
PhraseDictionaryOnDisk.cpp \
|
|
|
|
PhraseDictionaryOnDiskChart.cpp \
|
|
|
|
PhraseDictionaryTree.cpp \
|
|
|
|
PhraseDictionaryTreeAdaptor.cpp \
|
|
|
|
PrefixTreeMap.cpp \
|
|
|
|
ReorderingConstraint.cpp \
|
|
|
|
ReorderingStack.cpp \
|
|
|
|
ScoreComponentCollection.cpp \
|
|
|
|
ScoreIndexManager.cpp \
|
|
|
|
ScoreProducer.cpp \
|
|
|
|
Search.cpp \
|
|
|
|
SearchCubePruning.cpp \
|
|
|
|
SearchNormal.cpp \
|
|
|
|
Sentence.cpp \
|
|
|
|
SentenceStats.cpp \
|
|
|
|
SquareMatrix.cpp \
|
|
|
|
StaticData.cpp \
|
|
|
|
TargetPhrase.cpp \
|
|
|
|
TargetPhraseCollection.cpp \
|
|
|
|
Timer.cpp \
|
|
|
|
TranslationOption.cpp \
|
|
|
|
TranslationOptionCollection.cpp \
|
|
|
|
TranslationOptionCollectionConfusionNet.cpp \
|
|
|
|
TranslationOptionCollectionText.cpp \
|
|
|
|
TranslationOptionList.cpp \
|
|
|
|
TreeInput.cpp \
|
|
|
|
TrellisPath.cpp \
|
|
|
|
TrellisPathCollection.cpp \
|
|
|
|
UserMessage.cpp \
|
|
|
|
Util.cpp \
|
|
|
|
Word.cpp \
|
|
|
|
WordConsumed.cpp \
|
|
|
|
WordLattice.cpp \
|
|
|
|
WordsBitmap.cpp \
|
|
|
|
WordsRange.cpp \
|
|
|
|
XmlOption.cpp
|
2008-06-11 14:52:57 +04:00
|
|
|
|
2008-09-24 20:48:23 +04:00
|
|
|
if PROTOBUF
|
|
|
|
BUILT_SOURCES = \
|
|
|
|
rule.pb.h \
|
|
|
|
rule.pb.cc \
|
|
|
|
hypergraph.pb.h \
|
|
|
|
hypergraph.pb.cc
|
2008-06-11 14:52:57 +04:00
|
|
|
|
2008-09-24 20:48:23 +04:00
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
SUFFIXES = .proto
|
|
|
|
|
|
|
|
rule.pb.cc: rule.proto
|
|
|
|
@PROTOC@ --cpp_out=. $<
|
|
|
|
rule.pb.h: rule.proto
|
|
|
|
@PROTOC@ --cpp_out=. $<
|
|
|
|
|
|
|
|
hypergraph.pb.cc: hypergraph.proto
|
|
|
|
@PROTOC@ --cpp_out=. $<
|
|
|
|
hypergraph.pb.h: hypergraph.proto
|
|
|
|
@PROTOC@ --cpp_out=. $<
|
|
|
|
|
2010-06-10 19:32:33 +04:00
|
|
|
libmoses_la_SOURCES += rule.pb.cc hypergraph.pb.cc
|
2008-09-24 20:48:23 +04:00
|
|
|
|
|
|
|
endif
|
2008-06-11 14:52:57 +04:00
|
|
|
|
|
|
|
if SRI_LM
|
2010-06-10 19:32:33 +04:00
|
|
|
libmoses_la_SOURCES += LanguageModelSRI.cpp \
|
|
|
|
LanguageModelParallelBackoff.cpp
|
|
|
|
|
2008-06-11 14:52:57 +04:00
|
|
|
endif
|
|
|
|
|
|
|
|
if IRST_LM
|
2010-06-10 19:32:33 +04:00
|
|
|
libmoses_la_SOURCES += LanguageModelIRST.cpp
|
2008-06-11 14:52:57 +04:00
|
|
|
endif
|
|
|
|
|
2008-11-04 21:03:03 +03:00
|
|
|
if RAND_LM
|
2010-06-10 19:32:33 +04:00
|
|
|
libmoses_la_SOURCES += LanguageModelRandLM.cpp
|
2008-11-04 21:03:03 +03:00
|
|
|
endif
|
|
|
|
|
2008-06-11 14:52:57 +04:00
|
|
|
if INTERNAL_LM
|
2010-06-10 19:32:33 +04:00
|
|
|
libmoses_la_SOURCES += LanguageModelInternal.cpp \
|
2008-06-11 14:52:57 +04:00
|
|
|
NGramCollection.cpp \
|
|
|
|
NGramNode.cpp
|
|
|
|
endif
|
2010-02-24 13:34:00 +03:00
|
|
|
|
2010-06-10 19:32:33 +04:00
|
|
|
libmoses_la_LIBADD = $(BOOST_LDFLAGS) $(BOOST_THREAD_LIB)
|