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 \
|
2011-03-11 16:08:43 +03:00
|
|
|
ChartCell.h \
|
|
|
|
ChartCellCollection.h \
|
|
|
|
ChartHypothesis.h \
|
|
|
|
ChartHypothesisCollection.h \
|
|
|
|
ChartManager.h \
|
2011-01-24 22:14:19 +03:00
|
|
|
ChartRuleLookupManager.h \
|
|
|
|
ChartRuleLookupManagerMemory.h \
|
|
|
|
ChartRuleLookupManagerOnDisk.h \
|
2010-09-23 21:39:32 +04:00
|
|
|
ChartTranslationOption.h \
|
2011-03-11 16:08:43 +03:00
|
|
|
ChartTranslationOptionCollection.h \
|
2010-09-23 21:39:32 +04:00
|
|
|
ChartTranslationOptionList.h \
|
2011-03-11 16:08:43 +03:00
|
|
|
ChartTrellisNode.h \
|
|
|
|
ChartTrellisPath.h \
|
|
|
|
ChartTrellisPathCollection.h \
|
|
|
|
ChartTrellisPathList.h \
|
2010-06-10 19:32:33 +04:00
|
|
|
ConfusionNet.h \
|
2011-03-11 19:28:36 +03:00
|
|
|
CoveredChartSpan.h \
|
2010-08-10 17:12:00 +04:00
|
|
|
DecodeFeature.h \
|
2010-06-10 19:32:33 +04:00
|
|
|
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 \
|
2010-11-17 17:06:21 +03:00
|
|
|
LanguageModelImplementation.h \
|
2010-06-10 19:32:33 +04:00
|
|
|
LanguageModelInternal.h \
|
|
|
|
LanguageModelMultiFactor.h \
|
|
|
|
LanguageModelRemote.h \
|
|
|
|
LanguageModelSingleFactor.h \
|
|
|
|
LanguageModelSkip.h \
|
|
|
|
LexicalReordering.h \
|
|
|
|
LexicalReorderingState.h \
|
|
|
|
LexicalReorderingTable.h \
|
|
|
|
Manager.h \
|
2011-01-13 03:25:10 +03:00
|
|
|
NonTerminal.h \
|
2010-06-10 19:32:33 +04:00
|
|
|
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 \
|
2011-03-11 19:28:36 +03:00
|
|
|
RuleCube.h \
|
|
|
|
RuleCubeQueue.h \
|
2010-06-10 19:32:33 +04:00
|
|
|
ScoreComponentCollection.h \
|
|
|
|
ScoreIndexManager.h \
|
|
|
|
ScoreProducer.h \
|
|
|
|
Search.h \
|
|
|
|
SearchCubePruning.h \
|
|
|
|
SearchNormal.h \
|
|
|
|
Sentence.h \
|
|
|
|
SentenceStats.h \
|
|
|
|
SquareMatrix.h \
|
|
|
|
StaticData.h \
|
|
|
|
TargetPhrase.h \
|
|
|
|
TargetPhraseCollection.h \
|
2011-01-25 20:15:30 +03:00
|
|
|
ThreadPool.h \
|
2010-06-10 19:32:33 +04:00
|
|
|
Timer.h \
|
|
|
|
TranslationOption.h \
|
|
|
|
TranslationOptionCollection.h \
|
|
|
|
TranslationOptionCollectionConfusionNet.h \
|
|
|
|
TranslationOptionCollectionText.h \
|
|
|
|
TranslationOptionList.h \
|
2010-08-10 17:12:00 +04:00
|
|
|
TranslationSystem.h \
|
2010-06-10 19:32:33 +04:00
|
|
|
TreeInput.h \
|
|
|
|
TrellisPath.h \
|
|
|
|
TrellisPathCollection.h \
|
|
|
|
TrellisPathList.h \
|
|
|
|
TypeDef.h \
|
|
|
|
UniqueObject.h \
|
|
|
|
UserMessage.h \
|
|
|
|
Util.h \
|
|
|
|
Word.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 \
|
2011-03-11 16:08:43 +03:00
|
|
|
ChartCell.cpp \
|
|
|
|
ChartCellCollection.cpp \
|
|
|
|
ChartHypothesis.cpp \
|
|
|
|
ChartHypothesisCollection.cpp \
|
|
|
|
ChartManager.cpp \
|
2011-01-24 22:14:19 +03:00
|
|
|
ChartRuleLookupManagerMemory.cpp \
|
|
|
|
ChartRuleLookupManagerOnDisk.cpp \
|
2010-09-23 21:39:32 +04:00
|
|
|
ChartTranslationOption.cpp \
|
2011-03-11 16:08:43 +03:00
|
|
|
ChartTranslationOptionCollection.cpp \
|
2010-09-23 21:39:32 +04:00
|
|
|
ChartTranslationOptionList.cpp \
|
2011-03-11 16:08:43 +03:00
|
|
|
ChartTrellisNode.cpp \
|
|
|
|
ChartTrellisPath.cpp \
|
|
|
|
ChartTrellisPathCollection.cpp \
|
|
|
|
ChartTrellisPathList.cpp \
|
2010-06-10 19:32:33 +04:00
|
|
|
ConfusionNet.cpp \
|
2011-03-11 19:28:36 +03:00
|
|
|
CoveredChartSpan.cpp \
|
2010-08-10 17:12:00 +04:00
|
|
|
DecodeFeature.cpp \
|
2010-06-10 19:32:33 +04:00
|
|
|
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 \
|
2010-11-17 17:06:21 +03:00
|
|
|
LanguageModelImplementation.cpp \
|
2010-06-10 19:32:33 +04:00
|
|
|
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 \
|
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 \
|
|
|
|
PhraseDictionaryTree.cpp \
|
|
|
|
PhraseDictionaryTreeAdaptor.cpp \
|
|
|
|
PrefixTreeMap.cpp \
|
|
|
|
ReorderingConstraint.cpp \
|
|
|
|
ReorderingStack.cpp \
|
2011-03-11 19:28:36 +03:00
|
|
|
RuleCube.cpp \
|
|
|
|
RuleCubeQueue.cpp \
|
2010-06-10 19:32:33 +04:00
|
|
|
ScoreComponentCollection.cpp \
|
|
|
|
ScoreIndexManager.cpp \
|
|
|
|
ScoreProducer.cpp \
|
|
|
|
Search.cpp \
|
|
|
|
SearchCubePruning.cpp \
|
|
|
|
SearchNormal.cpp \
|
|
|
|
Sentence.cpp \
|
|
|
|
SentenceStats.cpp \
|
|
|
|
SquareMatrix.cpp \
|
|
|
|
StaticData.cpp \
|
|
|
|
TargetPhrase.cpp \
|
|
|
|
TargetPhraseCollection.cpp \
|
2011-01-25 20:15:30 +03:00
|
|
|
ThreadPool.cpp \
|
2010-06-10 19:32:33 +04:00
|
|
|
Timer.cpp \
|
|
|
|
TranslationOption.cpp \
|
|
|
|
TranslationOptionCollection.cpp \
|
|
|
|
TranslationOptionCollectionConfusionNet.cpp \
|
|
|
|
TranslationOptionCollectionText.cpp \
|
|
|
|
TranslationOptionList.cpp \
|
2010-08-10 17:12:00 +04:00
|
|
|
TranslationSystem.cpp \
|
2010-06-10 19:32:33 +04:00
|
|
|
TreeInput.cpp \
|
|
|
|
TrellisPath.cpp \
|
|
|
|
TrellisPathCollection.cpp \
|
|
|
|
UserMessage.cpp \
|
|
|
|
Util.cpp \
|
|
|
|
Word.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-09-22 03:10:15 +04:00
|
|
|
if KEN_LM
|
|
|
|
libmoses_la_SOURCES += LanguageModelKen.cpp
|
|
|
|
endif
|
|
|
|
|
2011-01-14 02:38:48 +03:00
|
|
|
libmoses_la_LIBADD = $(BOOST_THREAD_LDFLAGS) $(BOOST_THREAD_LIBS)
|