Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/moses
diff options
context:
space:
mode:
authorEva Hasler <ehasler@saxnot.inf.ed.ac.uk>2012-05-10 21:54:24 +0400
committerEva Hasler <ehasler@saxnot.inf.ed.ac.uk>2012-05-10 21:54:24 +0400
commit30deedde9f1ce5ef22a5f3c4a6b660bac48989cd (patch)
tree239051c1b15325a9f53a358c781293801721e3aa /moses
parent93bb01b2e408a1fbdbbdfec8f4b89ade561759d7 (diff)
changed permission, everything changed..
Diffstat (limited to 'moses')
-rwxr-xr-x[-rw-r--r--]moses/src/AlignmentInfo.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/AlignmentInfo.h0
-rwxr-xr-x[-rw-r--r--]moses/src/AlignmentInfoCollection.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/AlignmentInfoCollection.h0
-rwxr-xr-x[-rw-r--r--]moses/src/BilingualDynSuffixArray.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/BilingualDynSuffixArray.h0
-rwxr-xr-x[-rw-r--r--]moses/src/BitmapContainer.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/BitmapContainer.h0
-rwxr-xr-x[-rw-r--r--]moses/src/BleuScoreFeature.cpp20
-rwxr-xr-x[-rw-r--r--]moses/src/BleuScoreFeature.h0
-rwxr-xr-x[-rw-r--r--]moses/src/CellCollection.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartCell.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartCell.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartCellCollection.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartCellCollection.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartCellLabel.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartCellLabelSet.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartHypothesis.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartHypothesis.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartHypothesisCollection.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartHypothesisCollection.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartManager.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartManager.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartRuleLookupManager.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartRuleLookupManager.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartRuleLookupManagerMemory.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartRuleLookupManagerMemory.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartRuleLookupManagerOnDisk.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartRuleLookupManagerOnDisk.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartTranslationOption.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartTranslationOption.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartTranslationOptionCollection.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartTranslationOptionCollection.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartTranslationOptionList.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartTranslationOptionList.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartTrellisDetour.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartTrellisDetour.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartTrellisDetourQueue.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartTrellisDetourQueue.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartTrellisNode.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartTrellisNode.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartTrellisPath.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartTrellisPath.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ChartTrellisPathList.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ConfusionNet.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/ConfusionNet.h0
-rwxr-xr-x[-rw-r--r--]moses/src/DecodeFeature.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/DecodeFeature.h0
-rwxr-xr-x[-rw-r--r--]moses/src/DecodeGraph.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/DecodeGraph.h0
-rwxr-xr-x[-rw-r--r--]moses/src/DecodeStep.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/DecodeStep.h0
-rwxr-xr-x[-rw-r--r--]moses/src/DecodeStepGeneration.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/DecodeStepGeneration.h0
-rwxr-xr-x[-rw-r--r--]moses/src/DecodeStepTranslation.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/DecodeStepTranslation.h0
-rwxr-xr-x[-rw-r--r--]moses/src/Dictionary.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/Dictionary.h0
-rwxr-xr-x[-rw-r--r--]moses/src/DotChart.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/DotChart.h0
-rwxr-xr-x[-rw-r--r--]moses/src/DotChartInMemory.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/DotChartInMemory.h0
-rwxr-xr-x[-rw-r--r--]moses/src/DotChartOnDisk.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/DotChartOnDisk.h0
-rwxr-xr-x[-rw-r--r--]moses/src/DummyScoreProducers.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/DummyScoreProducers.h0
-rwxr-xr-x[-rw-r--r--]moses/src/DynSAInclude/RandLMCache.h0
-rwxr-xr-x[-rw-r--r--]moses/src/DynSAInclude/RandLMFilter.h0
-rwxr-xr-x[-rw-r--r--]moses/src/DynSAInclude/fdstream.h0
-rwxr-xr-x[-rw-r--r--]moses/src/DynSAInclude/file.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/DynSAInclude/file.h0
-rwxr-xr-x[-rw-r--r--]moses/src/DynSAInclude/hash.h0
-rwxr-xr-x[-rw-r--r--]moses/src/DynSAInclude/onlineRLM.h0
-rwxr-xr-x[-rw-r--r--]moses/src/DynSAInclude/params.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/DynSAInclude/params.h0
-rwxr-xr-x[-rw-r--r--]moses/src/DynSAInclude/perfectHash.h0
-rwxr-xr-x[-rw-r--r--]moses/src/DynSAInclude/quantizer.h0
-rwxr-xr-x[-rw-r--r--]moses/src/DynSAInclude/types.h0
-rwxr-xr-x[-rw-r--r--]moses/src/DynSAInclude/utils.h0
-rwxr-xr-x[-rw-r--r--]moses/src/DynSAInclude/vocab.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/DynSAInclude/vocab.h0
-rwxr-xr-x[-rw-r--r--]moses/src/DynSuffixArray.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/DynSuffixArray.h0
-rwxr-xr-x[-rw-r--r--]moses/src/FFState.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/FFState.h0
-rwxr-xr-x[-rw-r--r--]moses/src/Factor.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/Factor.h0
-rwxr-xr-x[-rw-r--r--]moses/src/FactorCollection.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/FactorCollection.h0
-rwxr-xr-x[-rw-r--r--]moses/src/FactorTypeSet.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/FactorTypeSet.h0
-rwxr-xr-x[-rw-r--r--]moses/src/FeatureFunction.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/FeatureFunction.h0
-rwxr-xr-x[-rw-r--r--]moses/src/FeatureVector.cpp18
-rwxr-xr-x[-rw-r--r--]moses/src/FeatureVector.h2
-rwxr-xr-x[-rw-r--r--]moses/src/FeatureVectorTest.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/File.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/File.h0
-rwxr-xr-x[-rw-r--r--]moses/src/FilePtr.h0
-rwxr-xr-x[-rw-r--r--]moses/src/FloydWarshall.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/FloydWarshall.h0
-rwxr-xr-x[-rw-r--r--]moses/src/GenerationDictionary.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/GenerationDictionary.h0
-rwxr-xr-x[-rw-r--r--]moses/src/GlobalLexicalModel.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/GlobalLexicalModel.h0
-rwxr-xr-x[-rw-r--r--]moses/src/GlobalLexicalModelUnlimited.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/GlobalLexicalModelUnlimited.h0
-rwxr-xr-x[-rw-r--r--]moses/src/Hypothesis.cpp8
-rwxr-xr-x[-rw-r--r--]moses/src/Hypothesis.h0
-rwxr-xr-x[-rw-r--r--]moses/src/HypothesisStack.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/HypothesisStack.h0
-rwxr-xr-x[-rw-r--r--]moses/src/HypothesisStackCubePruning.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/HypothesisStackCubePruning.h0
-rwxr-xr-x[-rw-r--r--]moses/src/HypothesisStackNormal.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/HypothesisStackNormal.h0
-rwxr-xr-x[-rw-r--r--]moses/src/InputFileStream.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/InputFileStream.h0
-rwxr-xr-x[-rw-r--r--]moses/src/InputType.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/InputType.h0
-rwxr-xr-x[-rw-r--r--]moses/src/Jamfile0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/Base.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/Base.h0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/DMap.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/DMap.h0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/Factory.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/Factory.h0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/IRST.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/IRST.h0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/Implementation.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/Implementation.h0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/Jamfile0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/Joint.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/Joint.h0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/Ken.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/Ken.h0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/MultiFactor.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/MultiFactor.h0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/ORLM.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/ORLM.h0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/ParallelBackoff.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/ParallelBackoff.h0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/Rand.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/Rand.h0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/Remote.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/Remote.h0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/SRI.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/SRI.h0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/SingleFactor.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/LM/SingleFactor.h0
-rwxr-xr-x[-rw-r--r--]moses/src/LMList.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/LMList.h0
-rwxr-xr-x[-rw-r--r--]moses/src/LVoc.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/LVoc.h0
-rwxr-xr-x[-rw-r--r--]moses/src/LexicalReordering.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/LexicalReordering.h0
-rwxr-xr-x[-rw-r--r--]moses/src/LexicalReorderingState.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/LexicalReorderingState.h0
-rwxr-xr-x[-rw-r--r--]moses/src/LexicalReorderingTable.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/LexicalReorderingTable.h0
-rwxr-xr-x[-rw-r--r--]moses/src/Makefile.am0
-rwxr-xr-x[-rw-r--r--]moses/src/Manager.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/Manager.h0
-rwxr-xr-x[-rw-r--r--]moses/src/MockHypothesis.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/MockHypothesis.h0
-rwxr-xr-x[-rw-r--r--]moses/src/MosesTest.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/NonTerminal.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/NonTerminal.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ObjectPool.h0
-rwxr-xr-x[-rw-r--r--]moses/src/OnlineCommand.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/OnlineCommand.h0
-rwxr-xr-x[-rw-r--r--]moses/src/OutputCollector.h0
-rwxr-xr-x[-rw-r--r--]moses/src/PCNTools.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/PCNTools.h0
-rwxr-xr-x[-rw-r--r--]moses/src/PDTAimp.h0
-rwxr-xr-x[-rw-r--r--]moses/src/Parameter.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/Parameter.h0
-rwxr-xr-x[-rw-r--r--]moses/src/PartialTranslOptColl.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/PartialTranslOptColl.h0
-rwxr-xr-x[-rw-r--r--]moses/src/Phrase.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/Phrase.h0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseBoundaryFeature.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseBoundaryFeature.h0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseDictionary.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseDictionary.h0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseDictionaryALSuffixArray.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseDictionaryALSuffixArray.h0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseDictionaryDynSuffixArray.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseDictionaryDynSuffixArray.h0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseDictionaryHiero.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseDictionaryHiero.h0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseDictionaryMemory.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseDictionaryMemory.h0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseDictionaryNode.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseDictionaryNode.h0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseDictionaryNodeSCFG.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseDictionaryNodeSCFG.h0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseDictionaryOnDisk.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseDictionaryOnDisk.h0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseDictionarySCFG.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseDictionarySCFG.h0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseDictionaryTree.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseDictionaryTree.h0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseDictionaryTreeAdaptor.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseDictionaryTreeAdaptor.h0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseLengthFeature.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/PhraseLengthFeature.h0
-rwxr-xr-x[-rw-r--r--]moses/src/PhrasePairFeature.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/PhrasePairFeature.h0
-rwxr-xr-x[-rw-r--r--]moses/src/PrefixTree.h0
-rwxr-xr-x[-rw-r--r--]moses/src/PrefixTreeMap.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/PrefixTreeMap.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ReorderingConstraint.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/ReorderingConstraint.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ReorderingStack.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/ReorderingStack.h0
-rwxr-xr-x[-rw-r--r--]moses/src/RuleCube.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/RuleCube.h0
-rwxr-xr-x[-rw-r--r--]moses/src/RuleCubeItem.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/RuleCubeItem.h0
-rwxr-xr-x[-rw-r--r--]moses/src/RuleCubeQueue.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/RuleCubeQueue.h0
-rwxr-xr-x[-rw-r--r--]moses/src/RuleTableLoader.h0
-rwxr-xr-x[-rw-r--r--]moses/src/RuleTableLoaderCompact.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/RuleTableLoaderCompact.h0
-rwxr-xr-x[-rw-r--r--]moses/src/RuleTableLoaderFactory.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/RuleTableLoaderFactory.h0
-rwxr-xr-x[-rw-r--r--]moses/src/RuleTableLoaderHiero.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/RuleTableLoaderHiero.h0
-rwxr-xr-x[-rw-r--r--]moses/src/RuleTableLoaderStandard.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/RuleTableLoaderStandard.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ScoreComponentCollection.cpp8
-rwxr-xr-x[-rw-r--r--]moses/src/ScoreComponentCollection.h2
-rwxr-xr-x[-rw-r--r--]moses/src/ScoreComponentCollectionTest.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/ScoreProducer.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/ScoreProducer.h0
-rwxr-xr-x[-rw-r--r--]moses/src/Search.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/Search.h0
-rwxr-xr-x[-rw-r--r--]moses/src/SearchCubePruning.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/SearchCubePruning.h0
-rwxr-xr-x[-rw-r--r--]moses/src/SearchNormal.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/SearchNormal.h0
-rwxr-xr-x[-rw-r--r--]moses/src/Sentence.cpp3
-rwxr-xr-x[-rw-r--r--]moses/src/Sentence.h0
-rwxr-xr-x[-rw-r--r--]moses/src/SentenceStats.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/SentenceStats.h0
-rwxr-xr-x[-rw-r--r--]moses/src/SourceWordDeletionFeature.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/SourceWordDeletionFeature.h0
-rwxr-xr-x[-rw-r--r--]moses/src/SparsePhraseDictionaryFeature.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/SparsePhraseDictionaryFeature.h0
-rwxr-xr-x[-rw-r--r--]moses/src/SquareMatrix.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/SquareMatrix.h0
-rwxr-xr-x[-rw-r--r--]moses/src/StaticData.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/StaticData.h0
-rwxr-xr-x[-rw-r--r--]moses/src/SyntacticLanguageModel.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/SyntacticLanguageModel.h0
-rwxr-xr-x[-rw-r--r--]moses/src/SyntacticLanguageModelFiles.h0
-rwxr-xr-x[-rw-r--r--]moses/src/SyntacticLanguageModelState.h0
-rwxr-xr-x[-rw-r--r--]moses/src/TargetBigramFeature.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/TargetBigramFeature.h0
-rwxr-xr-x[-rw-r--r--]moses/src/TargetBigramFeatureTest.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/TargetNgramFeature.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/TargetNgramFeature.h0
-rwxr-xr-x[-rw-r--r--]moses/src/TargetPhrase.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/TargetPhrase.h0
-rwxr-xr-x[-rw-r--r--]moses/src/TargetPhraseCollection.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/TargetPhraseCollection.h0
-rwxr-xr-x[-rw-r--r--]moses/src/TargetWordInsertionFeature.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/TargetWordInsertionFeature.h0
-rwxr-xr-x[-rw-r--r--]moses/src/ThreadPool.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/ThreadPool.h0
-rwxr-xr-x[-rw-r--r--]moses/src/Timer.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/Timer.h0
-rwxr-xr-x[-rw-r--r--]moses/src/TranslationOption.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/TranslationOption.h0
-rwxr-xr-x[-rw-r--r--]moses/src/TranslationOptionCollection.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/TranslationOptionCollection.h0
-rwxr-xr-x[-rw-r--r--]moses/src/TranslationOptionCollectionConfusionNet.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/TranslationOptionCollectionConfusionNet.h0
-rwxr-xr-x[-rw-r--r--]moses/src/TranslationOptionCollectionText.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/TranslationOptionCollectionText.h0
-rwxr-xr-x[-rw-r--r--]moses/src/TranslationOptionList.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/TranslationOptionList.h0
-rwxr-xr-x[-rw-r--r--]moses/src/TranslationSystem.cpp8
-rwxr-xr-x[-rw-r--r--]moses/src/TranslationSystem.h0
-rwxr-xr-x[-rw-r--r--]moses/src/TreeInput.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/TreeInput.h0
-rwxr-xr-x[-rw-r--r--]moses/src/TrellisPath.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/TrellisPath.h0
-rwxr-xr-x[-rw-r--r--]moses/src/TrellisPathCollection.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/TrellisPathCollection.h0
-rwxr-xr-x[-rw-r--r--]moses/src/TrellisPathList.h0
-rwxr-xr-x[-rw-r--r--]moses/src/TypeDef.h0
-rwxr-xr-x[-rw-r--r--]moses/src/UniqueObject.h0
-rwxr-xr-x[-rw-r--r--]moses/src/UserMessage.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/UserMessage.h0
-rwxr-xr-x[-rw-r--r--]moses/src/Util.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/Util.h0
-rwxr-xr-x[-rw-r--r--]moses/src/Word.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/Word.h0
-rwxr-xr-x[-rw-r--r--]moses/src/WordLattice.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/WordLattice.h0
-rwxr-xr-x[-rw-r--r--]moses/src/WordTranslationFeature.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/WordTranslationFeature.h0
-rwxr-xr-x[-rw-r--r--]moses/src/WordsBitmap.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/WordsBitmap.h0
-rwxr-xr-x[-rw-r--r--]moses/src/WordsRange.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/WordsRange.h0
-rwxr-xr-x[-rw-r--r--]moses/src/XmlOption.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/XmlOption.h0
-rwxr-xr-x[-rw-r--r--]moses/src/gzfilebuf.h0
-rwxr-xr-x[-rw-r--r--]moses/src/hash.cpp0
-rwxr-xr-x[-rw-r--r--]moses/src/hash.h0
-rwxr-xr-x[-rw-r--r--]moses/src/hypergraph.proto0
-rwxr-xr-x[-rw-r--r--]moses/src/rule.proto0
314 files changed, 46 insertions, 23 deletions
diff --git a/moses/src/AlignmentInfo.cpp b/moses/src/AlignmentInfo.cpp
index 959e7591f..959e7591f 100644..100755
--- a/moses/src/AlignmentInfo.cpp
+++ b/moses/src/AlignmentInfo.cpp
diff --git a/moses/src/AlignmentInfo.h b/moses/src/AlignmentInfo.h
index 12c5ee2e9..12c5ee2e9 100644..100755
--- a/moses/src/AlignmentInfo.h
+++ b/moses/src/AlignmentInfo.h
diff --git a/moses/src/AlignmentInfoCollection.cpp b/moses/src/AlignmentInfoCollection.cpp
index aa411fc63..aa411fc63 100644..100755
--- a/moses/src/AlignmentInfoCollection.cpp
+++ b/moses/src/AlignmentInfoCollection.cpp
diff --git a/moses/src/AlignmentInfoCollection.h b/moses/src/AlignmentInfoCollection.h
index a6c90f135..a6c90f135 100644..100755
--- a/moses/src/AlignmentInfoCollection.h
+++ b/moses/src/AlignmentInfoCollection.h
diff --git a/moses/src/BilingualDynSuffixArray.cpp b/moses/src/BilingualDynSuffixArray.cpp
index a2d5e3e90..a2d5e3e90 100644..100755
--- a/moses/src/BilingualDynSuffixArray.cpp
+++ b/moses/src/BilingualDynSuffixArray.cpp
diff --git a/moses/src/BilingualDynSuffixArray.h b/moses/src/BilingualDynSuffixArray.h
index 1543c3709..1543c3709 100644..100755
--- a/moses/src/BilingualDynSuffixArray.h
+++ b/moses/src/BilingualDynSuffixArray.h
diff --git a/moses/src/BitmapContainer.cpp b/moses/src/BitmapContainer.cpp
index c80f3b542..c80f3b542 100644..100755
--- a/moses/src/BitmapContainer.cpp
+++ b/moses/src/BitmapContainer.cpp
diff --git a/moses/src/BitmapContainer.h b/moses/src/BitmapContainer.h
index 987440750..987440750 100644..100755
--- a/moses/src/BitmapContainer.h
+++ b/moses/src/BitmapContainer.h
diff --git a/moses/src/BleuScoreFeature.cpp b/moses/src/BleuScoreFeature.cpp
index 64aa1c141..f1c888e70 100644..100755
--- a/moses/src/BleuScoreFeature.cpp
+++ b/moses/src/BleuScoreFeature.cpp
@@ -24,10 +24,10 @@ int BleuScoreState::Compare(const FFState& o) const
const BleuScoreState& other = dynamic_cast<const BleuScoreState&>(o);
- if (m_target_length < other.m_target_length)
+ /*if (m_target_length < other.m_target_length)
return -1;
if (m_target_length > other.m_target_length)
- return 1;
+ return 1;*/
int c = m_words.Compare(other.m_words);
@@ -35,14 +35,14 @@ int BleuScoreState::Compare(const FFState& o) const
return c;
for(size_t i = 0; i < m_ngram_counts.size(); i++) {
- if (m_ngram_counts[i] < other.m_ngram_counts[i])
- return -1;
- if (m_ngram_counts[i] > other.m_ngram_counts[i])
- return 1;
- if (m_ngram_matches[i] < other.m_ngram_matches[i])
- return -1;
- if (m_ngram_matches[i] > other.m_ngram_matches[i])
- return 1;
+ if (m_ngram_counts[i] < other.m_ngram_counts[i])
+ return -1;
+ if (m_ngram_counts[i] > other.m_ngram_counts[i])
+ return 1;
+ if (m_ngram_matches[i] < other.m_ngram_matches[i])
+ return -1;
+ if (m_ngram_matches[i] > other.m_ngram_matches[i])
+ return 1;
}
return 0;
}
diff --git a/moses/src/BleuScoreFeature.h b/moses/src/BleuScoreFeature.h
index f7d9e3e63..f7d9e3e63 100644..100755
--- a/moses/src/BleuScoreFeature.h
+++ b/moses/src/BleuScoreFeature.h
diff --git a/moses/src/CellCollection.h b/moses/src/CellCollection.h
index 5b99fe0fe..5b99fe0fe 100644..100755
--- a/moses/src/CellCollection.h
+++ b/moses/src/CellCollection.h
diff --git a/moses/src/ChartCell.cpp b/moses/src/ChartCell.cpp
index 21c5dd68a..21c5dd68a 100644..100755
--- a/moses/src/ChartCell.cpp
+++ b/moses/src/ChartCell.cpp
diff --git a/moses/src/ChartCell.h b/moses/src/ChartCell.h
index ab9e5b1ea..ab9e5b1ea 100644..100755
--- a/moses/src/ChartCell.h
+++ b/moses/src/ChartCell.h
diff --git a/moses/src/ChartCellCollection.cpp b/moses/src/ChartCellCollection.cpp
index 894bb352c..894bb352c 100644..100755
--- a/moses/src/ChartCellCollection.cpp
+++ b/moses/src/ChartCellCollection.cpp
diff --git a/moses/src/ChartCellCollection.h b/moses/src/ChartCellCollection.h
index 6627b6b67..6627b6b67 100644..100755
--- a/moses/src/ChartCellCollection.h
+++ b/moses/src/ChartCellCollection.h
diff --git a/moses/src/ChartCellLabel.h b/moses/src/ChartCellLabel.h
index 4feeac322..4feeac322 100644..100755
--- a/moses/src/ChartCellLabel.h
+++ b/moses/src/ChartCellLabel.h
diff --git a/moses/src/ChartCellLabelSet.h b/moses/src/ChartCellLabelSet.h
index 2a359758d..2a359758d 100644..100755
--- a/moses/src/ChartCellLabelSet.h
+++ b/moses/src/ChartCellLabelSet.h
diff --git a/moses/src/ChartHypothesis.cpp b/moses/src/ChartHypothesis.cpp
index 88b930243..88b930243 100644..100755
--- a/moses/src/ChartHypothesis.cpp
+++ b/moses/src/ChartHypothesis.cpp
diff --git a/moses/src/ChartHypothesis.h b/moses/src/ChartHypothesis.h
index aa663a140..aa663a140 100644..100755
--- a/moses/src/ChartHypothesis.h
+++ b/moses/src/ChartHypothesis.h
diff --git a/moses/src/ChartHypothesisCollection.cpp b/moses/src/ChartHypothesisCollection.cpp
index 48a108aab..48a108aab 100644..100755
--- a/moses/src/ChartHypothesisCollection.cpp
+++ b/moses/src/ChartHypothesisCollection.cpp
diff --git a/moses/src/ChartHypothesisCollection.h b/moses/src/ChartHypothesisCollection.h
index ebf1c6002..ebf1c6002 100644..100755
--- a/moses/src/ChartHypothesisCollection.h
+++ b/moses/src/ChartHypothesisCollection.h
diff --git a/moses/src/ChartManager.cpp b/moses/src/ChartManager.cpp
index b2ed3a435..b2ed3a435 100644..100755
--- a/moses/src/ChartManager.cpp
+++ b/moses/src/ChartManager.cpp
diff --git a/moses/src/ChartManager.h b/moses/src/ChartManager.h
index dbcd42b6c..dbcd42b6c 100644..100755
--- a/moses/src/ChartManager.h
+++ b/moses/src/ChartManager.h
diff --git a/moses/src/ChartRuleLookupManager.cpp b/moses/src/ChartRuleLookupManager.cpp
index 63e941429..63e941429 100644..100755
--- a/moses/src/ChartRuleLookupManager.cpp
+++ b/moses/src/ChartRuleLookupManager.cpp
diff --git a/moses/src/ChartRuleLookupManager.h b/moses/src/ChartRuleLookupManager.h
index 2166f28f5..2166f28f5 100644..100755
--- a/moses/src/ChartRuleLookupManager.h
+++ b/moses/src/ChartRuleLookupManager.h
diff --git a/moses/src/ChartRuleLookupManagerMemory.cpp b/moses/src/ChartRuleLookupManagerMemory.cpp
index aab3dfcce..aab3dfcce 100644..100755
--- a/moses/src/ChartRuleLookupManagerMemory.cpp
+++ b/moses/src/ChartRuleLookupManagerMemory.cpp
diff --git a/moses/src/ChartRuleLookupManagerMemory.h b/moses/src/ChartRuleLookupManagerMemory.h
index a9273499c..a9273499c 100644..100755
--- a/moses/src/ChartRuleLookupManagerMemory.h
+++ b/moses/src/ChartRuleLookupManagerMemory.h
diff --git a/moses/src/ChartRuleLookupManagerOnDisk.cpp b/moses/src/ChartRuleLookupManagerOnDisk.cpp
index 17e57f73c..17e57f73c 100644..100755
--- a/moses/src/ChartRuleLookupManagerOnDisk.cpp
+++ b/moses/src/ChartRuleLookupManagerOnDisk.cpp
diff --git a/moses/src/ChartRuleLookupManagerOnDisk.h b/moses/src/ChartRuleLookupManagerOnDisk.h
index ba87dbbf8..ba87dbbf8 100644..100755
--- a/moses/src/ChartRuleLookupManagerOnDisk.h
+++ b/moses/src/ChartRuleLookupManagerOnDisk.h
diff --git a/moses/src/ChartTranslationOption.cpp b/moses/src/ChartTranslationOption.cpp
index 6aa04d189..6aa04d189 100644..100755
--- a/moses/src/ChartTranslationOption.cpp
+++ b/moses/src/ChartTranslationOption.cpp
diff --git a/moses/src/ChartTranslationOption.h b/moses/src/ChartTranslationOption.h
index 116eff037..116eff037 100644..100755
--- a/moses/src/ChartTranslationOption.h
+++ b/moses/src/ChartTranslationOption.h
diff --git a/moses/src/ChartTranslationOptionCollection.cpp b/moses/src/ChartTranslationOptionCollection.cpp
index 8f06656b2..8f06656b2 100644..100755
--- a/moses/src/ChartTranslationOptionCollection.cpp
+++ b/moses/src/ChartTranslationOptionCollection.cpp
diff --git a/moses/src/ChartTranslationOptionCollection.h b/moses/src/ChartTranslationOptionCollection.h
index e1f3490a9..e1f3490a9 100644..100755
--- a/moses/src/ChartTranslationOptionCollection.h
+++ b/moses/src/ChartTranslationOptionCollection.h
diff --git a/moses/src/ChartTranslationOptionList.cpp b/moses/src/ChartTranslationOptionList.cpp
index cb1b8e256..cb1b8e256 100644..100755
--- a/moses/src/ChartTranslationOptionList.cpp
+++ b/moses/src/ChartTranslationOptionList.cpp
diff --git a/moses/src/ChartTranslationOptionList.h b/moses/src/ChartTranslationOptionList.h
index 7272a01cf..7272a01cf 100644..100755
--- a/moses/src/ChartTranslationOptionList.h
+++ b/moses/src/ChartTranslationOptionList.h
diff --git a/moses/src/ChartTrellisDetour.cpp b/moses/src/ChartTrellisDetour.cpp
index 550a44a2c..550a44a2c 100644..100755
--- a/moses/src/ChartTrellisDetour.cpp
+++ b/moses/src/ChartTrellisDetour.cpp
diff --git a/moses/src/ChartTrellisDetour.h b/moses/src/ChartTrellisDetour.h
index a3b07ad00..a3b07ad00 100644..100755
--- a/moses/src/ChartTrellisDetour.h
+++ b/moses/src/ChartTrellisDetour.h
diff --git a/moses/src/ChartTrellisDetourQueue.cpp b/moses/src/ChartTrellisDetourQueue.cpp
index 9b359ca43..9b359ca43 100644..100755
--- a/moses/src/ChartTrellisDetourQueue.cpp
+++ b/moses/src/ChartTrellisDetourQueue.cpp
diff --git a/moses/src/ChartTrellisDetourQueue.h b/moses/src/ChartTrellisDetourQueue.h
index f679708e4..f679708e4 100644..100755
--- a/moses/src/ChartTrellisDetourQueue.h
+++ b/moses/src/ChartTrellisDetourQueue.h
diff --git a/moses/src/ChartTrellisNode.cpp b/moses/src/ChartTrellisNode.cpp
index ce3c9eaf7..ce3c9eaf7 100644..100755
--- a/moses/src/ChartTrellisNode.cpp
+++ b/moses/src/ChartTrellisNode.cpp
diff --git a/moses/src/ChartTrellisNode.h b/moses/src/ChartTrellisNode.h
index 7b81ff4b2..7b81ff4b2 100644..100755
--- a/moses/src/ChartTrellisNode.h
+++ b/moses/src/ChartTrellisNode.h
diff --git a/moses/src/ChartTrellisPath.cpp b/moses/src/ChartTrellisPath.cpp
index 231d4237a..231d4237a 100644..100755
--- a/moses/src/ChartTrellisPath.cpp
+++ b/moses/src/ChartTrellisPath.cpp
diff --git a/moses/src/ChartTrellisPath.h b/moses/src/ChartTrellisPath.h
index 4dee018c3..4dee018c3 100644..100755
--- a/moses/src/ChartTrellisPath.h
+++ b/moses/src/ChartTrellisPath.h
diff --git a/moses/src/ChartTrellisPathList.h b/moses/src/ChartTrellisPathList.h
index 5b811d621..5b811d621 100644..100755
--- a/moses/src/ChartTrellisPathList.h
+++ b/moses/src/ChartTrellisPathList.h
diff --git a/moses/src/ConfusionNet.cpp b/moses/src/ConfusionNet.cpp
index 8ff119497..8ff119497 100644..100755
--- a/moses/src/ConfusionNet.cpp
+++ b/moses/src/ConfusionNet.cpp
diff --git a/moses/src/ConfusionNet.h b/moses/src/ConfusionNet.h
index 25b5a021d..25b5a021d 100644..100755
--- a/moses/src/ConfusionNet.h
+++ b/moses/src/ConfusionNet.h
diff --git a/moses/src/DecodeFeature.cpp b/moses/src/DecodeFeature.cpp
index 67999384a..67999384a 100644..100755
--- a/moses/src/DecodeFeature.cpp
+++ b/moses/src/DecodeFeature.cpp
diff --git a/moses/src/DecodeFeature.h b/moses/src/DecodeFeature.h
index afa1771ba..afa1771ba 100644..100755
--- a/moses/src/DecodeFeature.h
+++ b/moses/src/DecodeFeature.h
diff --git a/moses/src/DecodeGraph.cpp b/moses/src/DecodeGraph.cpp
index 107258d56..107258d56 100644..100755
--- a/moses/src/DecodeGraph.cpp
+++ b/moses/src/DecodeGraph.cpp
diff --git a/moses/src/DecodeGraph.h b/moses/src/DecodeGraph.h
index 770cb9958..770cb9958 100644..100755
--- a/moses/src/DecodeGraph.h
+++ b/moses/src/DecodeGraph.h
diff --git a/moses/src/DecodeStep.cpp b/moses/src/DecodeStep.cpp
index 3345f95d0..3345f95d0 100644..100755
--- a/moses/src/DecodeStep.cpp
+++ b/moses/src/DecodeStep.cpp
diff --git a/moses/src/DecodeStep.h b/moses/src/DecodeStep.h
index 4d2f2280b..4d2f2280b 100644..100755
--- a/moses/src/DecodeStep.h
+++ b/moses/src/DecodeStep.h
diff --git a/moses/src/DecodeStepGeneration.cpp b/moses/src/DecodeStepGeneration.cpp
index 0f0c5c2dc..0f0c5c2dc 100644..100755
--- a/moses/src/DecodeStepGeneration.cpp
+++ b/moses/src/DecodeStepGeneration.cpp
diff --git a/moses/src/DecodeStepGeneration.h b/moses/src/DecodeStepGeneration.h
index d22534ccc..d22534ccc 100644..100755
--- a/moses/src/DecodeStepGeneration.h
+++ b/moses/src/DecodeStepGeneration.h
diff --git a/moses/src/DecodeStepTranslation.cpp b/moses/src/DecodeStepTranslation.cpp
index 03713b50c..03713b50c 100644..100755
--- a/moses/src/DecodeStepTranslation.cpp
+++ b/moses/src/DecodeStepTranslation.cpp
diff --git a/moses/src/DecodeStepTranslation.h b/moses/src/DecodeStepTranslation.h
index 651754b1c..651754b1c 100644..100755
--- a/moses/src/DecodeStepTranslation.h
+++ b/moses/src/DecodeStepTranslation.h
diff --git a/moses/src/Dictionary.cpp b/moses/src/Dictionary.cpp
index 05b4f6bb4..05b4f6bb4 100644..100755
--- a/moses/src/Dictionary.cpp
+++ b/moses/src/Dictionary.cpp
diff --git a/moses/src/Dictionary.h b/moses/src/Dictionary.h
index 7bb4d09b1..7bb4d09b1 100644..100755
--- a/moses/src/Dictionary.h
+++ b/moses/src/Dictionary.h
diff --git a/moses/src/DotChart.cpp b/moses/src/DotChart.cpp
index c7ba3f43e..c7ba3f43e 100644..100755
--- a/moses/src/DotChart.cpp
+++ b/moses/src/DotChart.cpp
diff --git a/moses/src/DotChart.h b/moses/src/DotChart.h
index b9da12afd..b9da12afd 100644..100755
--- a/moses/src/DotChart.h
+++ b/moses/src/DotChart.h
diff --git a/moses/src/DotChartInMemory.cpp b/moses/src/DotChartInMemory.cpp
index 095e3418f..095e3418f 100644..100755
--- a/moses/src/DotChartInMemory.cpp
+++ b/moses/src/DotChartInMemory.cpp
diff --git a/moses/src/DotChartInMemory.h b/moses/src/DotChartInMemory.h
index fe7ab64c5..fe7ab64c5 100644..100755
--- a/moses/src/DotChartInMemory.h
+++ b/moses/src/DotChartInMemory.h
diff --git a/moses/src/DotChartOnDisk.cpp b/moses/src/DotChartOnDisk.cpp
index 1674f0e21..1674f0e21 100644..100755
--- a/moses/src/DotChartOnDisk.cpp
+++ b/moses/src/DotChartOnDisk.cpp
diff --git a/moses/src/DotChartOnDisk.h b/moses/src/DotChartOnDisk.h
index 4473b7685..4473b7685 100644..100755
--- a/moses/src/DotChartOnDisk.h
+++ b/moses/src/DotChartOnDisk.h
diff --git a/moses/src/DummyScoreProducers.cpp b/moses/src/DummyScoreProducers.cpp
index 03c635b03..03c635b03 100644..100755
--- a/moses/src/DummyScoreProducers.cpp
+++ b/moses/src/DummyScoreProducers.cpp
diff --git a/moses/src/DummyScoreProducers.h b/moses/src/DummyScoreProducers.h
index d8d9393d2..d8d9393d2 100644..100755
--- a/moses/src/DummyScoreProducers.h
+++ b/moses/src/DummyScoreProducers.h
diff --git a/moses/src/DynSAInclude/RandLMCache.h b/moses/src/DynSAInclude/RandLMCache.h
index 3f38cae02..3f38cae02 100644..100755
--- a/moses/src/DynSAInclude/RandLMCache.h
+++ b/moses/src/DynSAInclude/RandLMCache.h
diff --git a/moses/src/DynSAInclude/RandLMFilter.h b/moses/src/DynSAInclude/RandLMFilter.h
index 556bbe44a..556bbe44a 100644..100755
--- a/moses/src/DynSAInclude/RandLMFilter.h
+++ b/moses/src/DynSAInclude/RandLMFilter.h
diff --git a/moses/src/DynSAInclude/fdstream.h b/moses/src/DynSAInclude/fdstream.h
index 4c95d032c..4c95d032c 100644..100755
--- a/moses/src/DynSAInclude/fdstream.h
+++ b/moses/src/DynSAInclude/fdstream.h
diff --git a/moses/src/DynSAInclude/file.cpp b/moses/src/DynSAInclude/file.cpp
index d2901c1ae..d2901c1ae 100644..100755
--- a/moses/src/DynSAInclude/file.cpp
+++ b/moses/src/DynSAInclude/file.cpp
diff --git a/moses/src/DynSAInclude/file.h b/moses/src/DynSAInclude/file.h
index 3157f918b..3157f918b 100644..100755
--- a/moses/src/DynSAInclude/file.h
+++ b/moses/src/DynSAInclude/file.h
diff --git a/moses/src/DynSAInclude/hash.h b/moses/src/DynSAInclude/hash.h
index 233d0be5d..233d0be5d 100644..100755
--- a/moses/src/DynSAInclude/hash.h
+++ b/moses/src/DynSAInclude/hash.h
diff --git a/moses/src/DynSAInclude/onlineRLM.h b/moses/src/DynSAInclude/onlineRLM.h
index adc7934fc..adc7934fc 100644..100755
--- a/moses/src/DynSAInclude/onlineRLM.h
+++ b/moses/src/DynSAInclude/onlineRLM.h
diff --git a/moses/src/DynSAInclude/params.cpp b/moses/src/DynSAInclude/params.cpp
index 4be3a1676..4be3a1676 100644..100755
--- a/moses/src/DynSAInclude/params.cpp
+++ b/moses/src/DynSAInclude/params.cpp
diff --git a/moses/src/DynSAInclude/params.h b/moses/src/DynSAInclude/params.h
index e0aab6135..e0aab6135 100644..100755
--- a/moses/src/DynSAInclude/params.h
+++ b/moses/src/DynSAInclude/params.h
diff --git a/moses/src/DynSAInclude/perfectHash.h b/moses/src/DynSAInclude/perfectHash.h
index 2e3bfbc8f..2e3bfbc8f 100644..100755
--- a/moses/src/DynSAInclude/perfectHash.h
+++ b/moses/src/DynSAInclude/perfectHash.h
diff --git a/moses/src/DynSAInclude/quantizer.h b/moses/src/DynSAInclude/quantizer.h
index c12189615..c12189615 100644..100755
--- a/moses/src/DynSAInclude/quantizer.h
+++ b/moses/src/DynSAInclude/quantizer.h
diff --git a/moses/src/DynSAInclude/types.h b/moses/src/DynSAInclude/types.h
index 444010889..444010889 100644..100755
--- a/moses/src/DynSAInclude/types.h
+++ b/moses/src/DynSAInclude/types.h
diff --git a/moses/src/DynSAInclude/utils.h b/moses/src/DynSAInclude/utils.h
index 74703863d..74703863d 100644..100755
--- a/moses/src/DynSAInclude/utils.h
+++ b/moses/src/DynSAInclude/utils.h
diff --git a/moses/src/DynSAInclude/vocab.cpp b/moses/src/DynSAInclude/vocab.cpp
index 27e052260..27e052260 100644..100755
--- a/moses/src/DynSAInclude/vocab.cpp
+++ b/moses/src/DynSAInclude/vocab.cpp
diff --git a/moses/src/DynSAInclude/vocab.h b/moses/src/DynSAInclude/vocab.h
index 467d16fdb..467d16fdb 100644..100755
--- a/moses/src/DynSAInclude/vocab.h
+++ b/moses/src/DynSAInclude/vocab.h
diff --git a/moses/src/DynSuffixArray.cpp b/moses/src/DynSuffixArray.cpp
index f043f5c9b..f043f5c9b 100644..100755
--- a/moses/src/DynSuffixArray.cpp
+++ b/moses/src/DynSuffixArray.cpp
diff --git a/moses/src/DynSuffixArray.h b/moses/src/DynSuffixArray.h
index 05ea0596a..05ea0596a 100644..100755
--- a/moses/src/DynSuffixArray.h
+++ b/moses/src/DynSuffixArray.h
diff --git a/moses/src/FFState.cpp b/moses/src/FFState.cpp
index 5bf0992a9..5bf0992a9 100644..100755
--- a/moses/src/FFState.cpp
+++ b/moses/src/FFState.cpp
diff --git a/moses/src/FFState.h b/moses/src/FFState.h
index 49b0e55a8..49b0e55a8 100644..100755
--- a/moses/src/FFState.h
+++ b/moses/src/FFState.h
diff --git a/moses/src/Factor.cpp b/moses/src/Factor.cpp
index 60a93fdc3..60a93fdc3 100644..100755
--- a/moses/src/Factor.cpp
+++ b/moses/src/Factor.cpp
diff --git a/moses/src/Factor.h b/moses/src/Factor.h
index 4ea44f4e1..4ea44f4e1 100644..100755
--- a/moses/src/Factor.h
+++ b/moses/src/Factor.h
diff --git a/moses/src/FactorCollection.cpp b/moses/src/FactorCollection.cpp
index 2ef55b6d1..2ef55b6d1 100644..100755
--- a/moses/src/FactorCollection.cpp
+++ b/moses/src/FactorCollection.cpp
diff --git a/moses/src/FactorCollection.h b/moses/src/FactorCollection.h
index d55be1b17..d55be1b17 100644..100755
--- a/moses/src/FactorCollection.h
+++ b/moses/src/FactorCollection.h
diff --git a/moses/src/FactorTypeSet.cpp b/moses/src/FactorTypeSet.cpp
index de2166ba2..de2166ba2 100644..100755
--- a/moses/src/FactorTypeSet.cpp
+++ b/moses/src/FactorTypeSet.cpp
diff --git a/moses/src/FactorTypeSet.h b/moses/src/FactorTypeSet.h
index b0db0502c..b0db0502c 100644..100755
--- a/moses/src/FactorTypeSet.h
+++ b/moses/src/FactorTypeSet.h
diff --git a/moses/src/FeatureFunction.cpp b/moses/src/FeatureFunction.cpp
index d435df5af..d435df5af 100644..100755
--- a/moses/src/FeatureFunction.cpp
+++ b/moses/src/FeatureFunction.cpp
diff --git a/moses/src/FeatureFunction.h b/moses/src/FeatureFunction.h
index 4ef85ecd9..4ef85ecd9 100644..100755
--- a/moses/src/FeatureFunction.h
+++ b/moses/src/FeatureFunction.h
diff --git a/moses/src/FeatureVector.cpp b/moses/src/FeatureVector.cpp
index 8fa7e1f70..f53b7e80a 100644..100755
--- a/moses/src/FeatureVector.cpp
+++ b/moses/src/FeatureVector.cpp
@@ -540,6 +540,24 @@ namespace Moses {
return norm;
}
+ void FVector::l1regularize(float lambda) {
+ for (iterator i = begin(); i != end(); ++i) {
+ float value = i->second;
+ if (value > 0) {
+ i->second = max(0.0f, value - lambda);
+ }
+ else {
+ i->second = min(0.0f, value + lambda);
+ }
+ }
+ }
+
+ void FVector::l2regularize(float lambda) {
+ for (iterator i = begin(); i != end(); ++i) {
+ i->second *= (1 - lambda);
+ }
+ }
+
FValue FVector::sum() const {
FValue sum = 0;
for (const_iterator i = cbegin(); i != cend(); ++i) {
diff --git a/moses/src/FeatureVector.h b/moses/src/FeatureVector.h
index fa6ca2301..a291cafbb 100644..100755
--- a/moses/src/FeatureVector.h
+++ b/moses/src/FeatureVector.h
@@ -189,6 +189,8 @@ namespace Moses {
FValue l1norm_coreFeatures() const;
FValue l2norm() const;
FValue linfnorm() const;
+ void l1regularize(float lambda);
+ void l2regularize(float lambda);
FValue sum() const;
/** pretty printing */
diff --git a/moses/src/FeatureVectorTest.cpp b/moses/src/FeatureVectorTest.cpp
index af1829e62..af1829e62 100644..100755
--- a/moses/src/FeatureVectorTest.cpp
+++ b/moses/src/FeatureVectorTest.cpp
diff --git a/moses/src/File.cpp b/moses/src/File.cpp
index 3d15b071c..3d15b071c 100644..100755
--- a/moses/src/File.cpp
+++ b/moses/src/File.cpp
diff --git a/moses/src/File.h b/moses/src/File.h
index 09d9ddc92..09d9ddc92 100644..100755
--- a/moses/src/File.h
+++ b/moses/src/File.h
diff --git a/moses/src/FilePtr.h b/moses/src/FilePtr.h
index 1613b2f2f..1613b2f2f 100644..100755
--- a/moses/src/FilePtr.h
+++ b/moses/src/FilePtr.h
diff --git a/moses/src/FloydWarshall.cpp b/moses/src/FloydWarshall.cpp
index e63de819b..e63de819b 100644..100755
--- a/moses/src/FloydWarshall.cpp
+++ b/moses/src/FloydWarshall.cpp
diff --git a/moses/src/FloydWarshall.h b/moses/src/FloydWarshall.h
index 96845caf6..96845caf6 100644..100755
--- a/moses/src/FloydWarshall.h
+++ b/moses/src/FloydWarshall.h
diff --git a/moses/src/GenerationDictionary.cpp b/moses/src/GenerationDictionary.cpp
index f7b35fb63..f7b35fb63 100644..100755
--- a/moses/src/GenerationDictionary.cpp
+++ b/moses/src/GenerationDictionary.cpp
diff --git a/moses/src/GenerationDictionary.h b/moses/src/GenerationDictionary.h
index 1c3f75f75..1c3f75f75 100644..100755
--- a/moses/src/GenerationDictionary.h
+++ b/moses/src/GenerationDictionary.h
diff --git a/moses/src/GlobalLexicalModel.cpp b/moses/src/GlobalLexicalModel.cpp
index 65d3afaa1..65d3afaa1 100644..100755
--- a/moses/src/GlobalLexicalModel.cpp
+++ b/moses/src/GlobalLexicalModel.cpp
diff --git a/moses/src/GlobalLexicalModel.h b/moses/src/GlobalLexicalModel.h
index 3105cb466..3105cb466 100644..100755
--- a/moses/src/GlobalLexicalModel.h
+++ b/moses/src/GlobalLexicalModel.h
diff --git a/moses/src/GlobalLexicalModelUnlimited.cpp b/moses/src/GlobalLexicalModelUnlimited.cpp
index f1de65bd0..f1de65bd0 100644..100755
--- a/moses/src/GlobalLexicalModelUnlimited.cpp
+++ b/moses/src/GlobalLexicalModelUnlimited.cpp
diff --git a/moses/src/GlobalLexicalModelUnlimited.h b/moses/src/GlobalLexicalModelUnlimited.h
index c05c11be8..c05c11be8 100644..100755
--- a/moses/src/GlobalLexicalModelUnlimited.h
+++ b/moses/src/GlobalLexicalModelUnlimited.h
diff --git a/moses/src/Hypothesis.cpp b/moses/src/Hypothesis.cpp
index dd324f162..72105ec7b 100644..100755
--- a/moses/src/Hypothesis.cpp
+++ b/moses/src/Hypothesis.cpp
@@ -247,14 +247,6 @@ int Hypothesis::RecombineCompare(const Hypothesis &compare) const
}
if (comp != 0) return comp;
}
-
- string hypo1 = GetOutputString();
- string hypo2 = compare.GetOutputString();
- if (hypo1.compare(hypo2) != 0) {
- cerr << "Recombining hypotheses.. " << endl;
- cerr << "1: " << hypo1 << endl;
- cerr << "2: " << hypo2 << endl;
- }
return 0;
}
diff --git a/moses/src/Hypothesis.h b/moses/src/Hypothesis.h
index 23980326e..23980326e 100644..100755
--- a/moses/src/Hypothesis.h
+++ b/moses/src/Hypothesis.h
diff --git a/moses/src/HypothesisStack.cpp b/moses/src/HypothesisStack.cpp
index dfa03108e..dfa03108e 100644..100755
--- a/moses/src/HypothesisStack.cpp
+++ b/moses/src/HypothesisStack.cpp
diff --git a/moses/src/HypothesisStack.h b/moses/src/HypothesisStack.h
index 784cd7a39..784cd7a39 100644..100755
--- a/moses/src/HypothesisStack.h
+++ b/moses/src/HypothesisStack.h
diff --git a/moses/src/HypothesisStackCubePruning.cpp b/moses/src/HypothesisStackCubePruning.cpp
index ca54bf944..ca54bf944 100644..100755
--- a/moses/src/HypothesisStackCubePruning.cpp
+++ b/moses/src/HypothesisStackCubePruning.cpp
diff --git a/moses/src/HypothesisStackCubePruning.h b/moses/src/HypothesisStackCubePruning.h
index 53cad04a1..53cad04a1 100644..100755
--- a/moses/src/HypothesisStackCubePruning.h
+++ b/moses/src/HypothesisStackCubePruning.h
diff --git a/moses/src/HypothesisStackNormal.cpp b/moses/src/HypothesisStackNormal.cpp
index 7d72f76aa..7d72f76aa 100644..100755
--- a/moses/src/HypothesisStackNormal.cpp
+++ b/moses/src/HypothesisStackNormal.cpp
diff --git a/moses/src/HypothesisStackNormal.h b/moses/src/HypothesisStackNormal.h
index 6996f4003..6996f4003 100644..100755
--- a/moses/src/HypothesisStackNormal.h
+++ b/moses/src/HypothesisStackNormal.h
diff --git a/moses/src/InputFileStream.cpp b/moses/src/InputFileStream.cpp
index d2d774bf1..d2d774bf1 100644..100755
--- a/moses/src/InputFileStream.cpp
+++ b/moses/src/InputFileStream.cpp
diff --git a/moses/src/InputFileStream.h b/moses/src/InputFileStream.h
index d53abfc23..d53abfc23 100644..100755
--- a/moses/src/InputFileStream.h
+++ b/moses/src/InputFileStream.h
diff --git a/moses/src/InputType.cpp b/moses/src/InputType.cpp
index 77857bdaf..77857bdaf 100644..100755
--- a/moses/src/InputType.cpp
+++ b/moses/src/InputType.cpp
diff --git a/moses/src/InputType.h b/moses/src/InputType.h
index ca710c408..ca710c408 100644..100755
--- a/moses/src/InputType.h
+++ b/moses/src/InputType.h
diff --git a/moses/src/Jamfile b/moses/src/Jamfile
index b6e379070..b6e379070 100644..100755
--- a/moses/src/Jamfile
+++ b/moses/src/Jamfile
diff --git a/moses/src/LM/Base.cpp b/moses/src/LM/Base.cpp
index 45edf973e..45edf973e 100644..100755
--- a/moses/src/LM/Base.cpp
+++ b/moses/src/LM/Base.cpp
diff --git a/moses/src/LM/Base.h b/moses/src/LM/Base.h
index 621ab0dc3..621ab0dc3 100644..100755
--- a/moses/src/LM/Base.h
+++ b/moses/src/LM/Base.h
diff --git a/moses/src/LM/DMap.cpp b/moses/src/LM/DMap.cpp
index 3bef47083..3bef47083 100644..100755
--- a/moses/src/LM/DMap.cpp
+++ b/moses/src/LM/DMap.cpp
diff --git a/moses/src/LM/DMap.h b/moses/src/LM/DMap.h
index f9fbf56c2..f9fbf56c2 100644..100755
--- a/moses/src/LM/DMap.h
+++ b/moses/src/LM/DMap.h
diff --git a/moses/src/LM/Factory.cpp b/moses/src/LM/Factory.cpp
index 5d877e9d6..5d877e9d6 100644..100755
--- a/moses/src/LM/Factory.cpp
+++ b/moses/src/LM/Factory.cpp
diff --git a/moses/src/LM/Factory.h b/moses/src/LM/Factory.h
index 1a140846a..1a140846a 100644..100755
--- a/moses/src/LM/Factory.h
+++ b/moses/src/LM/Factory.h
diff --git a/moses/src/LM/IRST.cpp b/moses/src/LM/IRST.cpp
index 692385b4d..692385b4d 100644..100755
--- a/moses/src/LM/IRST.cpp
+++ b/moses/src/LM/IRST.cpp
diff --git a/moses/src/LM/IRST.h b/moses/src/LM/IRST.h
index 2ffe67f98..2ffe67f98 100644..100755
--- a/moses/src/LM/IRST.h
+++ b/moses/src/LM/IRST.h
diff --git a/moses/src/LM/Implementation.cpp b/moses/src/LM/Implementation.cpp
index 589ed375a..589ed375a 100644..100755
--- a/moses/src/LM/Implementation.cpp
+++ b/moses/src/LM/Implementation.cpp
diff --git a/moses/src/LM/Implementation.h b/moses/src/LM/Implementation.h
index a7c637ef8..a7c637ef8 100644..100755
--- a/moses/src/LM/Implementation.h
+++ b/moses/src/LM/Implementation.h
diff --git a/moses/src/LM/Jamfile b/moses/src/LM/Jamfile
index 2f3cde8ef..2f3cde8ef 100644..100755
--- a/moses/src/LM/Jamfile
+++ b/moses/src/LM/Jamfile
diff --git a/moses/src/LM/Joint.cpp b/moses/src/LM/Joint.cpp
index 266f08029..266f08029 100644..100755
--- a/moses/src/LM/Joint.cpp
+++ b/moses/src/LM/Joint.cpp
diff --git a/moses/src/LM/Joint.h b/moses/src/LM/Joint.h
index e000409be..e000409be 100644..100755
--- a/moses/src/LM/Joint.h
+++ b/moses/src/LM/Joint.h
diff --git a/moses/src/LM/Ken.cpp b/moses/src/LM/Ken.cpp
index c5307ffc0..c5307ffc0 100644..100755
--- a/moses/src/LM/Ken.cpp
+++ b/moses/src/LM/Ken.cpp
diff --git a/moses/src/LM/Ken.h b/moses/src/LM/Ken.h
index f55679395..f55679395 100644..100755
--- a/moses/src/LM/Ken.h
+++ b/moses/src/LM/Ken.h
diff --git a/moses/src/LM/MultiFactor.cpp b/moses/src/LM/MultiFactor.cpp
index d141b88b3..d141b88b3 100644..100755
--- a/moses/src/LM/MultiFactor.cpp
+++ b/moses/src/LM/MultiFactor.cpp
diff --git a/moses/src/LM/MultiFactor.h b/moses/src/LM/MultiFactor.h
index 32cef51d9..32cef51d9 100644..100755
--- a/moses/src/LM/MultiFactor.h
+++ b/moses/src/LM/MultiFactor.h
diff --git a/moses/src/LM/ORLM.cpp b/moses/src/LM/ORLM.cpp
index 30f3ada55..30f3ada55 100644..100755
--- a/moses/src/LM/ORLM.cpp
+++ b/moses/src/LM/ORLM.cpp
diff --git a/moses/src/LM/ORLM.h b/moses/src/LM/ORLM.h
index c1ccb4387..c1ccb4387 100644..100755
--- a/moses/src/LM/ORLM.h
+++ b/moses/src/LM/ORLM.h
diff --git a/moses/src/LM/ParallelBackoff.cpp b/moses/src/LM/ParallelBackoff.cpp
index ec2fb2f78..ec2fb2f78 100644..100755
--- a/moses/src/LM/ParallelBackoff.cpp
+++ b/moses/src/LM/ParallelBackoff.cpp
diff --git a/moses/src/LM/ParallelBackoff.h b/moses/src/LM/ParallelBackoff.h
index 8e4241395..8e4241395 100644..100755
--- a/moses/src/LM/ParallelBackoff.h
+++ b/moses/src/LM/ParallelBackoff.h
diff --git a/moses/src/LM/Rand.cpp b/moses/src/LM/Rand.cpp
index 93411b8d3..93411b8d3 100644..100755
--- a/moses/src/LM/Rand.cpp
+++ b/moses/src/LM/Rand.cpp
diff --git a/moses/src/LM/Rand.h b/moses/src/LM/Rand.h
index c4ef99947..c4ef99947 100644..100755
--- a/moses/src/LM/Rand.h
+++ b/moses/src/LM/Rand.h
diff --git a/moses/src/LM/Remote.cpp b/moses/src/LM/Remote.cpp
index 78380c75e..78380c75e 100644..100755
--- a/moses/src/LM/Remote.cpp
+++ b/moses/src/LM/Remote.cpp
diff --git a/moses/src/LM/Remote.h b/moses/src/LM/Remote.h
index 9a70d64c0..9a70d64c0 100644..100755
--- a/moses/src/LM/Remote.h
+++ b/moses/src/LM/Remote.h
diff --git a/moses/src/LM/SRI.cpp b/moses/src/LM/SRI.cpp
index 9c5a9c3d4..9c5a9c3d4 100644..100755
--- a/moses/src/LM/SRI.cpp
+++ b/moses/src/LM/SRI.cpp
diff --git a/moses/src/LM/SRI.h b/moses/src/LM/SRI.h
index 69d55f117..69d55f117 100644..100755
--- a/moses/src/LM/SRI.h
+++ b/moses/src/LM/SRI.h
diff --git a/moses/src/LM/SingleFactor.cpp b/moses/src/LM/SingleFactor.cpp
index 73c9e6e83..73c9e6e83 100644..100755
--- a/moses/src/LM/SingleFactor.cpp
+++ b/moses/src/LM/SingleFactor.cpp
diff --git a/moses/src/LM/SingleFactor.h b/moses/src/LM/SingleFactor.h
index 44fdf9b16..44fdf9b16 100644..100755
--- a/moses/src/LM/SingleFactor.h
+++ b/moses/src/LM/SingleFactor.h
diff --git a/moses/src/LMList.cpp b/moses/src/LMList.cpp
index cac1199e0..cac1199e0 100644..100755
--- a/moses/src/LMList.cpp
+++ b/moses/src/LMList.cpp
diff --git a/moses/src/LMList.h b/moses/src/LMList.h
index a803e16df..a803e16df 100644..100755
--- a/moses/src/LMList.h
+++ b/moses/src/LMList.h
diff --git a/moses/src/LVoc.cpp b/moses/src/LVoc.cpp
index d1ee92237..d1ee92237 100644..100755
--- a/moses/src/LVoc.cpp
+++ b/moses/src/LVoc.cpp
diff --git a/moses/src/LVoc.h b/moses/src/LVoc.h
index ec20fe3cd..ec20fe3cd 100644..100755
--- a/moses/src/LVoc.h
+++ b/moses/src/LVoc.h
diff --git a/moses/src/LexicalReordering.cpp b/moses/src/LexicalReordering.cpp
index b32b96b0d..b32b96b0d 100644..100755
--- a/moses/src/LexicalReordering.cpp
+++ b/moses/src/LexicalReordering.cpp
diff --git a/moses/src/LexicalReordering.h b/moses/src/LexicalReordering.h
index e979b5bf5..e979b5bf5 100644..100755
--- a/moses/src/LexicalReordering.h
+++ b/moses/src/LexicalReordering.h
diff --git a/moses/src/LexicalReorderingState.cpp b/moses/src/LexicalReorderingState.cpp
index 346ac745b..346ac745b 100644..100755
--- a/moses/src/LexicalReorderingState.cpp
+++ b/moses/src/LexicalReorderingState.cpp
diff --git a/moses/src/LexicalReorderingState.h b/moses/src/LexicalReorderingState.h
index 802f1fcb0..802f1fcb0 100644..100755
--- a/moses/src/LexicalReorderingState.h
+++ b/moses/src/LexicalReorderingState.h
diff --git a/moses/src/LexicalReorderingTable.cpp b/moses/src/LexicalReorderingTable.cpp
index 00be0a495..00be0a495 100644..100755
--- a/moses/src/LexicalReorderingTable.cpp
+++ b/moses/src/LexicalReorderingTable.cpp
diff --git a/moses/src/LexicalReorderingTable.h b/moses/src/LexicalReorderingTable.h
index ae10ae386..ae10ae386 100644..100755
--- a/moses/src/LexicalReorderingTable.h
+++ b/moses/src/LexicalReorderingTable.h
diff --git a/moses/src/Makefile.am b/moses/src/Makefile.am
index b43191773..b43191773 100644..100755
--- a/moses/src/Makefile.am
+++ b/moses/src/Makefile.am
diff --git a/moses/src/Manager.cpp b/moses/src/Manager.cpp
index c27d88fee..c27d88fee 100644..100755
--- a/moses/src/Manager.cpp
+++ b/moses/src/Manager.cpp
diff --git a/moses/src/Manager.h b/moses/src/Manager.h
index 4b45414ee..4b45414ee 100644..100755
--- a/moses/src/Manager.h
+++ b/moses/src/Manager.h
diff --git a/moses/src/MockHypothesis.cpp b/moses/src/MockHypothesis.cpp
index 0afd3b071..0afd3b071 100644..100755
--- a/moses/src/MockHypothesis.cpp
+++ b/moses/src/MockHypothesis.cpp
diff --git a/moses/src/MockHypothesis.h b/moses/src/MockHypothesis.h
index 41f118f40..41f118f40 100644..100755
--- a/moses/src/MockHypothesis.h
+++ b/moses/src/MockHypothesis.h
diff --git a/moses/src/MosesTest.cpp b/moses/src/MosesTest.cpp
index 45f5bdba4..45f5bdba4 100644..100755
--- a/moses/src/MosesTest.cpp
+++ b/moses/src/MosesTest.cpp
diff --git a/moses/src/NonTerminal.cpp b/moses/src/NonTerminal.cpp
index 37ebc9b68..37ebc9b68 100644..100755
--- a/moses/src/NonTerminal.cpp
+++ b/moses/src/NonTerminal.cpp
diff --git a/moses/src/NonTerminal.h b/moses/src/NonTerminal.h
index 3fa2ede92..3fa2ede92 100644..100755
--- a/moses/src/NonTerminal.h
+++ b/moses/src/NonTerminal.h
diff --git a/moses/src/ObjectPool.h b/moses/src/ObjectPool.h
index 05c849f79..05c849f79 100644..100755
--- a/moses/src/ObjectPool.h
+++ b/moses/src/ObjectPool.h
diff --git a/moses/src/OnlineCommand.cpp b/moses/src/OnlineCommand.cpp
index 93024b92c..93024b92c 100644..100755
--- a/moses/src/OnlineCommand.cpp
+++ b/moses/src/OnlineCommand.cpp
diff --git a/moses/src/OnlineCommand.h b/moses/src/OnlineCommand.h
index 90f778ea4..90f778ea4 100644..100755
--- a/moses/src/OnlineCommand.h
+++ b/moses/src/OnlineCommand.h
diff --git a/moses/src/OutputCollector.h b/moses/src/OutputCollector.h
index 0b56c6d80..0b56c6d80 100644..100755
--- a/moses/src/OutputCollector.h
+++ b/moses/src/OutputCollector.h
diff --git a/moses/src/PCNTools.cpp b/moses/src/PCNTools.cpp
index fac386444..fac386444 100644..100755
--- a/moses/src/PCNTools.cpp
+++ b/moses/src/PCNTools.cpp
diff --git a/moses/src/PCNTools.h b/moses/src/PCNTools.h
index 1147b73bb..1147b73bb 100644..100755
--- a/moses/src/PCNTools.h
+++ b/moses/src/PCNTools.h
diff --git a/moses/src/PDTAimp.h b/moses/src/PDTAimp.h
index 7bff39c07..7bff39c07 100644..100755
--- a/moses/src/PDTAimp.h
+++ b/moses/src/PDTAimp.h
diff --git a/moses/src/Parameter.cpp b/moses/src/Parameter.cpp
index 0815f6f2d..0815f6f2d 100644..100755
--- a/moses/src/Parameter.cpp
+++ b/moses/src/Parameter.cpp
diff --git a/moses/src/Parameter.h b/moses/src/Parameter.h
index de0d3f7e7..de0d3f7e7 100644..100755
--- a/moses/src/Parameter.h
+++ b/moses/src/Parameter.h
diff --git a/moses/src/PartialTranslOptColl.cpp b/moses/src/PartialTranslOptColl.cpp
index 91ad65415..91ad65415 100644..100755
--- a/moses/src/PartialTranslOptColl.cpp
+++ b/moses/src/PartialTranslOptColl.cpp
diff --git a/moses/src/PartialTranslOptColl.h b/moses/src/PartialTranslOptColl.h
index b8b16b901..b8b16b901 100644..100755
--- a/moses/src/PartialTranslOptColl.h
+++ b/moses/src/PartialTranslOptColl.h
diff --git a/moses/src/Phrase.cpp b/moses/src/Phrase.cpp
index db808390c..db808390c 100644..100755
--- a/moses/src/Phrase.cpp
+++ b/moses/src/Phrase.cpp
diff --git a/moses/src/Phrase.h b/moses/src/Phrase.h
index b64a84a25..b64a84a25 100644..100755
--- a/moses/src/Phrase.h
+++ b/moses/src/Phrase.h
diff --git a/moses/src/PhraseBoundaryFeature.cpp b/moses/src/PhraseBoundaryFeature.cpp
index 461fcbe57..461fcbe57 100644..100755
--- a/moses/src/PhraseBoundaryFeature.cpp
+++ b/moses/src/PhraseBoundaryFeature.cpp
diff --git a/moses/src/PhraseBoundaryFeature.h b/moses/src/PhraseBoundaryFeature.h
index 4167ab9b2..4167ab9b2 100644..100755
--- a/moses/src/PhraseBoundaryFeature.h
+++ b/moses/src/PhraseBoundaryFeature.h
diff --git a/moses/src/PhraseDictionary.cpp b/moses/src/PhraseDictionary.cpp
index 0fc39a286..0fc39a286 100644..100755
--- a/moses/src/PhraseDictionary.cpp
+++ b/moses/src/PhraseDictionary.cpp
diff --git a/moses/src/PhraseDictionary.h b/moses/src/PhraseDictionary.h
index e8f478079..e8f478079 100644..100755
--- a/moses/src/PhraseDictionary.h
+++ b/moses/src/PhraseDictionary.h
diff --git a/moses/src/PhraseDictionaryALSuffixArray.cpp b/moses/src/PhraseDictionaryALSuffixArray.cpp
index 71b810a91..71b810a91 100644..100755
--- a/moses/src/PhraseDictionaryALSuffixArray.cpp
+++ b/moses/src/PhraseDictionaryALSuffixArray.cpp
diff --git a/moses/src/PhraseDictionaryALSuffixArray.h b/moses/src/PhraseDictionaryALSuffixArray.h
index 79c928c69..79c928c69 100644..100755
--- a/moses/src/PhraseDictionaryALSuffixArray.h
+++ b/moses/src/PhraseDictionaryALSuffixArray.h
diff --git a/moses/src/PhraseDictionaryDynSuffixArray.cpp b/moses/src/PhraseDictionaryDynSuffixArray.cpp
index d4f0161db..d4f0161db 100644..100755
--- a/moses/src/PhraseDictionaryDynSuffixArray.cpp
+++ b/moses/src/PhraseDictionaryDynSuffixArray.cpp
diff --git a/moses/src/PhraseDictionaryDynSuffixArray.h b/moses/src/PhraseDictionaryDynSuffixArray.h
index 0d6be08dd..0d6be08dd 100644..100755
--- a/moses/src/PhraseDictionaryDynSuffixArray.h
+++ b/moses/src/PhraseDictionaryDynSuffixArray.h
diff --git a/moses/src/PhraseDictionaryHiero.cpp b/moses/src/PhraseDictionaryHiero.cpp
index 5899ec8b1..5899ec8b1 100644..100755
--- a/moses/src/PhraseDictionaryHiero.cpp
+++ b/moses/src/PhraseDictionaryHiero.cpp
diff --git a/moses/src/PhraseDictionaryHiero.h b/moses/src/PhraseDictionaryHiero.h
index f845c4e15..f845c4e15 100644..100755
--- a/moses/src/PhraseDictionaryHiero.h
+++ b/moses/src/PhraseDictionaryHiero.h
diff --git a/moses/src/PhraseDictionaryMemory.cpp b/moses/src/PhraseDictionaryMemory.cpp
index 1ee449172..1ee449172 100644..100755
--- a/moses/src/PhraseDictionaryMemory.cpp
+++ b/moses/src/PhraseDictionaryMemory.cpp
diff --git a/moses/src/PhraseDictionaryMemory.h b/moses/src/PhraseDictionaryMemory.h
index dad7f4a9b..dad7f4a9b 100644..100755
--- a/moses/src/PhraseDictionaryMemory.h
+++ b/moses/src/PhraseDictionaryMemory.h
diff --git a/moses/src/PhraseDictionaryNode.cpp b/moses/src/PhraseDictionaryNode.cpp
index 5b552bd53..5b552bd53 100644..100755
--- a/moses/src/PhraseDictionaryNode.cpp
+++ b/moses/src/PhraseDictionaryNode.cpp
diff --git a/moses/src/PhraseDictionaryNode.h b/moses/src/PhraseDictionaryNode.h
index 95ae48b0e..95ae48b0e 100644..100755
--- a/moses/src/PhraseDictionaryNode.h
+++ b/moses/src/PhraseDictionaryNode.h
diff --git a/moses/src/PhraseDictionaryNodeSCFG.cpp b/moses/src/PhraseDictionaryNodeSCFG.cpp
index 91f5f7acd..91f5f7acd 100644..100755
--- a/moses/src/PhraseDictionaryNodeSCFG.cpp
+++ b/moses/src/PhraseDictionaryNodeSCFG.cpp
diff --git a/moses/src/PhraseDictionaryNodeSCFG.h b/moses/src/PhraseDictionaryNodeSCFG.h
index 80e3722b5..80e3722b5 100644..100755
--- a/moses/src/PhraseDictionaryNodeSCFG.h
+++ b/moses/src/PhraseDictionaryNodeSCFG.h
diff --git a/moses/src/PhraseDictionaryOnDisk.cpp b/moses/src/PhraseDictionaryOnDisk.cpp
index 3c89408f5..3c89408f5 100644..100755
--- a/moses/src/PhraseDictionaryOnDisk.cpp
+++ b/moses/src/PhraseDictionaryOnDisk.cpp
diff --git a/moses/src/PhraseDictionaryOnDisk.h b/moses/src/PhraseDictionaryOnDisk.h
index 0a8dfc808..0a8dfc808 100644..100755
--- a/moses/src/PhraseDictionaryOnDisk.h
+++ b/moses/src/PhraseDictionaryOnDisk.h
diff --git a/moses/src/PhraseDictionarySCFG.cpp b/moses/src/PhraseDictionarySCFG.cpp
index c3a243990..c3a243990 100644..100755
--- a/moses/src/PhraseDictionarySCFG.cpp
+++ b/moses/src/PhraseDictionarySCFG.cpp
diff --git a/moses/src/PhraseDictionarySCFG.h b/moses/src/PhraseDictionarySCFG.h
index e338dac50..e338dac50 100644..100755
--- a/moses/src/PhraseDictionarySCFG.h
+++ b/moses/src/PhraseDictionarySCFG.h
diff --git a/moses/src/PhraseDictionaryTree.cpp b/moses/src/PhraseDictionaryTree.cpp
index 13b404724..13b404724 100644..100755
--- a/moses/src/PhraseDictionaryTree.cpp
+++ b/moses/src/PhraseDictionaryTree.cpp
diff --git a/moses/src/PhraseDictionaryTree.h b/moses/src/PhraseDictionaryTree.h
index ebe43a618..ebe43a618 100644..100755
--- a/moses/src/PhraseDictionaryTree.h
+++ b/moses/src/PhraseDictionaryTree.h
diff --git a/moses/src/PhraseDictionaryTreeAdaptor.cpp b/moses/src/PhraseDictionaryTreeAdaptor.cpp
index cce4a2ee4..cce4a2ee4 100644..100755
--- a/moses/src/PhraseDictionaryTreeAdaptor.cpp
+++ b/moses/src/PhraseDictionaryTreeAdaptor.cpp
diff --git a/moses/src/PhraseDictionaryTreeAdaptor.h b/moses/src/PhraseDictionaryTreeAdaptor.h
index c38e234fb..c38e234fb 100644..100755
--- a/moses/src/PhraseDictionaryTreeAdaptor.h
+++ b/moses/src/PhraseDictionaryTreeAdaptor.h
diff --git a/moses/src/PhraseLengthFeature.cpp b/moses/src/PhraseLengthFeature.cpp
index ece3b0923..ece3b0923 100644..100755
--- a/moses/src/PhraseLengthFeature.cpp
+++ b/moses/src/PhraseLengthFeature.cpp
diff --git a/moses/src/PhraseLengthFeature.h b/moses/src/PhraseLengthFeature.h
index f25142230..f25142230 100644..100755
--- a/moses/src/PhraseLengthFeature.h
+++ b/moses/src/PhraseLengthFeature.h
diff --git a/moses/src/PhrasePairFeature.cpp b/moses/src/PhrasePairFeature.cpp
index c44807205..c44807205 100644..100755
--- a/moses/src/PhrasePairFeature.cpp
+++ b/moses/src/PhrasePairFeature.cpp
diff --git a/moses/src/PhrasePairFeature.h b/moses/src/PhrasePairFeature.h
index 6dab1a998..6dab1a998 100644..100755
--- a/moses/src/PhrasePairFeature.h
+++ b/moses/src/PhrasePairFeature.h
diff --git a/moses/src/PrefixTree.h b/moses/src/PrefixTree.h
index 3215fb834..3215fb834 100644..100755
--- a/moses/src/PrefixTree.h
+++ b/moses/src/PrefixTree.h
diff --git a/moses/src/PrefixTreeMap.cpp b/moses/src/PrefixTreeMap.cpp
index 7e5512a05..7e5512a05 100644..100755
--- a/moses/src/PrefixTreeMap.cpp
+++ b/moses/src/PrefixTreeMap.cpp
diff --git a/moses/src/PrefixTreeMap.h b/moses/src/PrefixTreeMap.h
index 6bb6b769f..6bb6b769f 100644..100755
--- a/moses/src/PrefixTreeMap.h
+++ b/moses/src/PrefixTreeMap.h
diff --git a/moses/src/ReorderingConstraint.cpp b/moses/src/ReorderingConstraint.cpp
index ea0c1b807..ea0c1b807 100644..100755
--- a/moses/src/ReorderingConstraint.cpp
+++ b/moses/src/ReorderingConstraint.cpp
diff --git a/moses/src/ReorderingConstraint.h b/moses/src/ReorderingConstraint.h
index 742b2228b..742b2228b 100644..100755
--- a/moses/src/ReorderingConstraint.h
+++ b/moses/src/ReorderingConstraint.h
diff --git a/moses/src/ReorderingStack.cpp b/moses/src/ReorderingStack.cpp
index 49a723a36..49a723a36 100644..100755
--- a/moses/src/ReorderingStack.cpp
+++ b/moses/src/ReorderingStack.cpp
diff --git a/moses/src/ReorderingStack.h b/moses/src/ReorderingStack.h
index 9a710b348..9a710b348 100644..100755
--- a/moses/src/ReorderingStack.h
+++ b/moses/src/ReorderingStack.h
diff --git a/moses/src/RuleCube.cpp b/moses/src/RuleCube.cpp
index b028abe3e..b028abe3e 100644..100755
--- a/moses/src/RuleCube.cpp
+++ b/moses/src/RuleCube.cpp
diff --git a/moses/src/RuleCube.h b/moses/src/RuleCube.h
index 5d6aabe46..5d6aabe46 100644..100755
--- a/moses/src/RuleCube.h
+++ b/moses/src/RuleCube.h
diff --git a/moses/src/RuleCubeItem.cpp b/moses/src/RuleCubeItem.cpp
index fa4b4c51e..fa4b4c51e 100644..100755
--- a/moses/src/RuleCubeItem.cpp
+++ b/moses/src/RuleCubeItem.cpp
diff --git a/moses/src/RuleCubeItem.h b/moses/src/RuleCubeItem.h
index 1b953b1b4..1b953b1b4 100644..100755
--- a/moses/src/RuleCubeItem.h
+++ b/moses/src/RuleCubeItem.h
diff --git a/moses/src/RuleCubeQueue.cpp b/moses/src/RuleCubeQueue.cpp
index 89020a4e5..89020a4e5 100644..100755
--- a/moses/src/RuleCubeQueue.cpp
+++ b/moses/src/RuleCubeQueue.cpp
diff --git a/moses/src/RuleCubeQueue.h b/moses/src/RuleCubeQueue.h
index 5ef3b3af2..5ef3b3af2 100644..100755
--- a/moses/src/RuleCubeQueue.h
+++ b/moses/src/RuleCubeQueue.h
diff --git a/moses/src/RuleTableLoader.h b/moses/src/RuleTableLoader.h
index b5d4d8e24..b5d4d8e24 100644..100755
--- a/moses/src/RuleTableLoader.h
+++ b/moses/src/RuleTableLoader.h
diff --git a/moses/src/RuleTableLoaderCompact.cpp b/moses/src/RuleTableLoaderCompact.cpp
index 64297948f..64297948f 100644..100755
--- a/moses/src/RuleTableLoaderCompact.cpp
+++ b/moses/src/RuleTableLoaderCompact.cpp
diff --git a/moses/src/RuleTableLoaderCompact.h b/moses/src/RuleTableLoaderCompact.h
index 56918782b..56918782b 100644..100755
--- a/moses/src/RuleTableLoaderCompact.h
+++ b/moses/src/RuleTableLoaderCompact.h
diff --git a/moses/src/RuleTableLoaderFactory.cpp b/moses/src/RuleTableLoaderFactory.cpp
index 7ac97bde2..7ac97bde2 100644..100755
--- a/moses/src/RuleTableLoaderFactory.cpp
+++ b/moses/src/RuleTableLoaderFactory.cpp
diff --git a/moses/src/RuleTableLoaderFactory.h b/moses/src/RuleTableLoaderFactory.h
index c9c4daf1d..c9c4daf1d 100644..100755
--- a/moses/src/RuleTableLoaderFactory.h
+++ b/moses/src/RuleTableLoaderFactory.h
diff --git a/moses/src/RuleTableLoaderHiero.cpp b/moses/src/RuleTableLoaderHiero.cpp
index 6899cfa61..6899cfa61 100644..100755
--- a/moses/src/RuleTableLoaderHiero.cpp
+++ b/moses/src/RuleTableLoaderHiero.cpp
diff --git a/moses/src/RuleTableLoaderHiero.h b/moses/src/RuleTableLoaderHiero.h
index a1f8a9205..a1f8a9205 100644..100755
--- a/moses/src/RuleTableLoaderHiero.h
+++ b/moses/src/RuleTableLoaderHiero.h
diff --git a/moses/src/RuleTableLoaderStandard.cpp b/moses/src/RuleTableLoaderStandard.cpp
index 122e75c8c..122e75c8c 100644..100755
--- a/moses/src/RuleTableLoaderStandard.cpp
+++ b/moses/src/RuleTableLoaderStandard.cpp
diff --git a/moses/src/RuleTableLoaderStandard.h b/moses/src/RuleTableLoaderStandard.h
index 9477db962..9477db962 100644..100755
--- a/moses/src/RuleTableLoaderStandard.h
+++ b/moses/src/RuleTableLoaderStandard.h
diff --git a/moses/src/ScoreComponentCollection.cpp b/moses/src/ScoreComponentCollection.cpp
index d52b80f35..3d0f71bc9 100644..100755
--- a/moses/src/ScoreComponentCollection.cpp
+++ b/moses/src/ScoreComponentCollection.cpp
@@ -127,6 +127,14 @@ float ScoreComponentCollection::GetLInfNorm() const {
return m_scores.linfnorm();
}
+void ScoreComponentCollection::L1Regularize(float lambda) {
+ m_scores.l1regularize(lambda);
+}
+
+void ScoreComponentCollection::L2Regularize(float lambda) {
+ m_scores.l2regularize(lambda);
+}
+
void ScoreComponentCollection::Save(ostream& out) const {
ScoreIndexMap::const_iterator iter = s_scoreIndexes.begin();
for (; iter != s_scoreIndexes.end(); ++iter ) {
diff --git a/moses/src/ScoreComponentCollection.h b/moses/src/ScoreComponentCollection.h
index d53eee247..994aad1b6 100644..100755
--- a/moses/src/ScoreComponentCollection.h
+++ b/moses/src/ScoreComponentCollection.h
@@ -365,6 +365,8 @@ public:
float GetL1Norm() const;
float GetL2Norm() const;
float GetLInfNorm() const;
+ void L1Regularize(float lambda);
+ void L2Regularize(float lambda);
void Save(const std::string& filename) const;
void Save(std::ostream&) const;
diff --git a/moses/src/ScoreComponentCollectionTest.cpp b/moses/src/ScoreComponentCollectionTest.cpp
index 10e96a017..10e96a017 100644..100755
--- a/moses/src/ScoreComponentCollectionTest.cpp
+++ b/moses/src/ScoreComponentCollectionTest.cpp
diff --git a/moses/src/ScoreProducer.cpp b/moses/src/ScoreProducer.cpp
index 07823125c..07823125c 100644..100755
--- a/moses/src/ScoreProducer.cpp
+++ b/moses/src/ScoreProducer.cpp
diff --git a/moses/src/ScoreProducer.h b/moses/src/ScoreProducer.h
index c88e5efca..c88e5efca 100644..100755
--- a/moses/src/ScoreProducer.h
+++ b/moses/src/ScoreProducer.h
diff --git a/moses/src/Search.cpp b/moses/src/Search.cpp
index aa3bfe59f..aa3bfe59f 100644..100755
--- a/moses/src/Search.cpp
+++ b/moses/src/Search.cpp
diff --git a/moses/src/Search.h b/moses/src/Search.h
index 67a6c69ea..67a6c69ea 100644..100755
--- a/moses/src/Search.h
+++ b/moses/src/Search.h
diff --git a/moses/src/SearchCubePruning.cpp b/moses/src/SearchCubePruning.cpp
index 9fe6aec24..9fe6aec24 100644..100755
--- a/moses/src/SearchCubePruning.cpp
+++ b/moses/src/SearchCubePruning.cpp
diff --git a/moses/src/SearchCubePruning.h b/moses/src/SearchCubePruning.h
index 9f8f73ef5..9f8f73ef5 100644..100755
--- a/moses/src/SearchCubePruning.h
+++ b/moses/src/SearchCubePruning.h
diff --git a/moses/src/SearchNormal.cpp b/moses/src/SearchNormal.cpp
index 9f26270e9..9f26270e9 100644..100755
--- a/moses/src/SearchNormal.cpp
+++ b/moses/src/SearchNormal.cpp
diff --git a/moses/src/SearchNormal.h b/moses/src/SearchNormal.h
index 8b4f904d9..8b4f904d9 100644..100755
--- a/moses/src/SearchNormal.h
+++ b/moses/src/SearchNormal.h
diff --git a/moses/src/Sentence.cpp b/moses/src/Sentence.cpp
index 87ede7c7a..210e5ccb5 100644..100755
--- a/moses/src/Sentence.cpp
+++ b/moses/src/Sentence.cpp
@@ -142,7 +142,8 @@ int Sentence::Read(std::istream& in,const std::vector<FactorType>& factorOrder)
// set reordering walls, if "-monotone-at-punction" is set
if (staticData.UseReorderingConstraint()) {
- m_reorderingConstraint.SetMonotoneAtPunctuation( GetSubString( WordsRange(0,GetSize()-1 ) ) );
+ if (GetSize() > 0)
+ m_reorderingConstraint.SetMonotoneAtPunctuation( GetSubString( WordsRange(0,GetSize()-1 ) ) );
}
// set walls obtained from xml
diff --git a/moses/src/Sentence.h b/moses/src/Sentence.h
index b1c25f9dd..b1c25f9dd 100644..100755
--- a/moses/src/Sentence.h
+++ b/moses/src/Sentence.h
diff --git a/moses/src/SentenceStats.cpp b/moses/src/SentenceStats.cpp
index 218fe2187..218fe2187 100644..100755
--- a/moses/src/SentenceStats.cpp
+++ b/moses/src/SentenceStats.cpp
diff --git a/moses/src/SentenceStats.h b/moses/src/SentenceStats.h
index 6a72008ba..6a72008ba 100644..100755
--- a/moses/src/SentenceStats.h
+++ b/moses/src/SentenceStats.h
diff --git a/moses/src/SourceWordDeletionFeature.cpp b/moses/src/SourceWordDeletionFeature.cpp
index 4f247c7e7..4f247c7e7 100644..100755
--- a/moses/src/SourceWordDeletionFeature.cpp
+++ b/moses/src/SourceWordDeletionFeature.cpp
diff --git a/moses/src/SourceWordDeletionFeature.h b/moses/src/SourceWordDeletionFeature.h
index 6d8d21a42..6d8d21a42 100644..100755
--- a/moses/src/SourceWordDeletionFeature.h
+++ b/moses/src/SourceWordDeletionFeature.h
diff --git a/moses/src/SparsePhraseDictionaryFeature.cpp b/moses/src/SparsePhraseDictionaryFeature.cpp
index 8b1a35ee3..8b1a35ee3 100644..100755
--- a/moses/src/SparsePhraseDictionaryFeature.cpp
+++ b/moses/src/SparsePhraseDictionaryFeature.cpp
diff --git a/moses/src/SparsePhraseDictionaryFeature.h b/moses/src/SparsePhraseDictionaryFeature.h
index ad38e7078..ad38e7078 100644..100755
--- a/moses/src/SparsePhraseDictionaryFeature.h
+++ b/moses/src/SparsePhraseDictionaryFeature.h
diff --git a/moses/src/SquareMatrix.cpp b/moses/src/SquareMatrix.cpp
index 276d10053..276d10053 100644..100755
--- a/moses/src/SquareMatrix.cpp
+++ b/moses/src/SquareMatrix.cpp
diff --git a/moses/src/SquareMatrix.h b/moses/src/SquareMatrix.h
index 3d36962d4..3d36962d4 100644..100755
--- a/moses/src/SquareMatrix.h
+++ b/moses/src/SquareMatrix.h
diff --git a/moses/src/StaticData.cpp b/moses/src/StaticData.cpp
index 9c02e48e6..9c02e48e6 100644..100755
--- a/moses/src/StaticData.cpp
+++ b/moses/src/StaticData.cpp
diff --git a/moses/src/StaticData.h b/moses/src/StaticData.h
index cd0b69f4d..cd0b69f4d 100644..100755
--- a/moses/src/StaticData.h
+++ b/moses/src/StaticData.h
diff --git a/moses/src/SyntacticLanguageModel.cpp b/moses/src/SyntacticLanguageModel.cpp
index c9b3f1e22..c9b3f1e22 100644..100755
--- a/moses/src/SyntacticLanguageModel.cpp
+++ b/moses/src/SyntacticLanguageModel.cpp
diff --git a/moses/src/SyntacticLanguageModel.h b/moses/src/SyntacticLanguageModel.h
index 3497d3dc4..3497d3dc4 100644..100755
--- a/moses/src/SyntacticLanguageModel.h
+++ b/moses/src/SyntacticLanguageModel.h
diff --git a/moses/src/SyntacticLanguageModelFiles.h b/moses/src/SyntacticLanguageModelFiles.h
index c6533c424..c6533c424 100644..100755
--- a/moses/src/SyntacticLanguageModelFiles.h
+++ b/moses/src/SyntacticLanguageModelFiles.h
diff --git a/moses/src/SyntacticLanguageModelState.h b/moses/src/SyntacticLanguageModelState.h
index 0877a59b3..0877a59b3 100644..100755
--- a/moses/src/SyntacticLanguageModelState.h
+++ b/moses/src/SyntacticLanguageModelState.h
diff --git a/moses/src/TargetBigramFeature.cpp b/moses/src/TargetBigramFeature.cpp
index a9ad2216b..a9ad2216b 100644..100755
--- a/moses/src/TargetBigramFeature.cpp
+++ b/moses/src/TargetBigramFeature.cpp
diff --git a/moses/src/TargetBigramFeature.h b/moses/src/TargetBigramFeature.h
index 76b4f6ef7..76b4f6ef7 100644..100755
--- a/moses/src/TargetBigramFeature.h
+++ b/moses/src/TargetBigramFeature.h
diff --git a/moses/src/TargetBigramFeatureTest.cpp b/moses/src/TargetBigramFeatureTest.cpp
index 2ee7243bb..2ee7243bb 100644..100755
--- a/moses/src/TargetBigramFeatureTest.cpp
+++ b/moses/src/TargetBigramFeatureTest.cpp
diff --git a/moses/src/TargetNgramFeature.cpp b/moses/src/TargetNgramFeature.cpp
index 3fefdfba2..3fefdfba2 100644..100755
--- a/moses/src/TargetNgramFeature.cpp
+++ b/moses/src/TargetNgramFeature.cpp
diff --git a/moses/src/TargetNgramFeature.h b/moses/src/TargetNgramFeature.h
index 681e7d6aa..681e7d6aa 100644..100755
--- a/moses/src/TargetNgramFeature.h
+++ b/moses/src/TargetNgramFeature.h
diff --git a/moses/src/TargetPhrase.cpp b/moses/src/TargetPhrase.cpp
index c79b844f8..c79b844f8 100644..100755
--- a/moses/src/TargetPhrase.cpp
+++ b/moses/src/TargetPhrase.cpp
diff --git a/moses/src/TargetPhrase.h b/moses/src/TargetPhrase.h
index 377985c5e..377985c5e 100644..100755
--- a/moses/src/TargetPhrase.h
+++ b/moses/src/TargetPhrase.h
diff --git a/moses/src/TargetPhraseCollection.cpp b/moses/src/TargetPhraseCollection.cpp
index 38570f8d5..38570f8d5 100644..100755
--- a/moses/src/TargetPhraseCollection.cpp
+++ b/moses/src/TargetPhraseCollection.cpp
diff --git a/moses/src/TargetPhraseCollection.h b/moses/src/TargetPhraseCollection.h
index f4124f458..f4124f458 100644..100755
--- a/moses/src/TargetPhraseCollection.h
+++ b/moses/src/TargetPhraseCollection.h
diff --git a/moses/src/TargetWordInsertionFeature.cpp b/moses/src/TargetWordInsertionFeature.cpp
index f7d5a5c7e..f7d5a5c7e 100644..100755
--- a/moses/src/TargetWordInsertionFeature.cpp
+++ b/moses/src/TargetWordInsertionFeature.cpp
diff --git a/moses/src/TargetWordInsertionFeature.h b/moses/src/TargetWordInsertionFeature.h
index 0d53582d5..0d53582d5 100644..100755
--- a/moses/src/TargetWordInsertionFeature.h
+++ b/moses/src/TargetWordInsertionFeature.h
diff --git a/moses/src/ThreadPool.cpp b/moses/src/ThreadPool.cpp
index ca9bd2f60..ca9bd2f60 100644..100755
--- a/moses/src/ThreadPool.cpp
+++ b/moses/src/ThreadPool.cpp
diff --git a/moses/src/ThreadPool.h b/moses/src/ThreadPool.h
index a76872027..a76872027 100644..100755
--- a/moses/src/ThreadPool.h
+++ b/moses/src/ThreadPool.h
diff --git a/moses/src/Timer.cpp b/moses/src/Timer.cpp
index bbe1bcabd..bbe1bcabd 100644..100755
--- a/moses/src/Timer.cpp
+++ b/moses/src/Timer.cpp
diff --git a/moses/src/Timer.h b/moses/src/Timer.h
index 1d7c4aacc..1d7c4aacc 100644..100755
--- a/moses/src/Timer.h
+++ b/moses/src/Timer.h
diff --git a/moses/src/TranslationOption.cpp b/moses/src/TranslationOption.cpp
index c823dadb8..c823dadb8 100644..100755
--- a/moses/src/TranslationOption.cpp
+++ b/moses/src/TranslationOption.cpp
diff --git a/moses/src/TranslationOption.h b/moses/src/TranslationOption.h
index fa4065b80..fa4065b80 100644..100755
--- a/moses/src/TranslationOption.h
+++ b/moses/src/TranslationOption.h
diff --git a/moses/src/TranslationOptionCollection.cpp b/moses/src/TranslationOptionCollection.cpp
index d9eefc9d6..d9eefc9d6 100644..100755
--- a/moses/src/TranslationOptionCollection.cpp
+++ b/moses/src/TranslationOptionCollection.cpp
diff --git a/moses/src/TranslationOptionCollection.h b/moses/src/TranslationOptionCollection.h
index e1fa26a15..e1fa26a15 100644..100755
--- a/moses/src/TranslationOptionCollection.h
+++ b/moses/src/TranslationOptionCollection.h
diff --git a/moses/src/TranslationOptionCollectionConfusionNet.cpp b/moses/src/TranslationOptionCollectionConfusionNet.cpp
index c2713fb3a..c2713fb3a 100644..100755
--- a/moses/src/TranslationOptionCollectionConfusionNet.cpp
+++ b/moses/src/TranslationOptionCollectionConfusionNet.cpp
diff --git a/moses/src/TranslationOptionCollectionConfusionNet.h b/moses/src/TranslationOptionCollectionConfusionNet.h
index 66ef953a8..66ef953a8 100644..100755
--- a/moses/src/TranslationOptionCollectionConfusionNet.h
+++ b/moses/src/TranslationOptionCollectionConfusionNet.h
diff --git a/moses/src/TranslationOptionCollectionText.cpp b/moses/src/TranslationOptionCollectionText.cpp
index c3676eaef..c3676eaef 100644..100755
--- a/moses/src/TranslationOptionCollectionText.cpp
+++ b/moses/src/TranslationOptionCollectionText.cpp
diff --git a/moses/src/TranslationOptionCollectionText.h b/moses/src/TranslationOptionCollectionText.h
index bb819441e..bb819441e 100644..100755
--- a/moses/src/TranslationOptionCollectionText.h
+++ b/moses/src/TranslationOptionCollectionText.h
diff --git a/moses/src/TranslationOptionList.cpp b/moses/src/TranslationOptionList.cpp
index 1d99729fe..1d99729fe 100644..100755
--- a/moses/src/TranslationOptionList.cpp
+++ b/moses/src/TranslationOptionList.cpp
diff --git a/moses/src/TranslationOptionList.h b/moses/src/TranslationOptionList.h
index d56578029..d56578029 100644..100755
--- a/moses/src/TranslationOptionList.h
+++ b/moses/src/TranslationOptionList.h
diff --git a/moses/src/TranslationSystem.cpp b/moses/src/TranslationSystem.cpp
index 2086949fd..722ea864e 100644..100755
--- a/moses/src/TranslationSystem.cpp
+++ b/moses/src/TranslationSystem.cpp
@@ -162,7 +162,7 @@ namespace Moses {
float TranslationSystem::GetWeightWordPenalty() const {
float weightWP = StaticData::Instance().GetWeight(m_wpProducer);
- VERBOSE(1, "Read weightWP from translation sytem: " << weightWP << std::endl);
+ //VERBOSE(1, "Read weightWP from translation sytem: " << weightWP << std::endl);
return weightWP;
}
@@ -177,10 +177,10 @@ namespace Moses {
std::vector<float> TranslationSystem::GetTranslationWeights() const {
std::vector<float> weights = StaticData::Instance().GetWeights(GetTranslationScoreProducer());
- VERBOSE(1, "Read weightT from translation sytem.. ");
+ //VERBOSE(1, "Read weightT from translation sytem.. ");
for (size_t i = 0; i < weights.size(); ++i)
- VERBOSE(1, weights[i] << " ");
- VERBOSE(1, std::endl);
+ //VERBOSE(1, weights[i] << " ");
+ //VERBOSE(1, std::endl);
return weights;
}
};
diff --git a/moses/src/TranslationSystem.h b/moses/src/TranslationSystem.h
index 615fc7d8a..615fc7d8a 100644..100755
--- a/moses/src/TranslationSystem.h
+++ b/moses/src/TranslationSystem.h
diff --git a/moses/src/TreeInput.cpp b/moses/src/TreeInput.cpp
index d6e0f1e78..d6e0f1e78 100644..100755
--- a/moses/src/TreeInput.cpp
+++ b/moses/src/TreeInput.cpp
diff --git a/moses/src/TreeInput.h b/moses/src/TreeInput.h
index a6242d97e..a6242d97e 100644..100755
--- a/moses/src/TreeInput.h
+++ b/moses/src/TreeInput.h
diff --git a/moses/src/TrellisPath.cpp b/moses/src/TrellisPath.cpp
index c73575b2c..c73575b2c 100644..100755
--- a/moses/src/TrellisPath.cpp
+++ b/moses/src/TrellisPath.cpp
diff --git a/moses/src/TrellisPath.h b/moses/src/TrellisPath.h
index c1b347de9..c1b347de9 100644..100755
--- a/moses/src/TrellisPath.h
+++ b/moses/src/TrellisPath.h
diff --git a/moses/src/TrellisPathCollection.cpp b/moses/src/TrellisPathCollection.cpp
index 89d429f4b..89d429f4b 100644..100755
--- a/moses/src/TrellisPathCollection.cpp
+++ b/moses/src/TrellisPathCollection.cpp
diff --git a/moses/src/TrellisPathCollection.h b/moses/src/TrellisPathCollection.h
index 82e771d78..82e771d78 100644..100755
--- a/moses/src/TrellisPathCollection.h
+++ b/moses/src/TrellisPathCollection.h
diff --git a/moses/src/TrellisPathList.h b/moses/src/TrellisPathList.h
index 073efb9b8..073efb9b8 100644..100755
--- a/moses/src/TrellisPathList.h
+++ b/moses/src/TrellisPathList.h
diff --git a/moses/src/TypeDef.h b/moses/src/TypeDef.h
index bb439f5c9..bb439f5c9 100644..100755
--- a/moses/src/TypeDef.h
+++ b/moses/src/TypeDef.h
diff --git a/moses/src/UniqueObject.h b/moses/src/UniqueObject.h
index 789c5e1b3..789c5e1b3 100644..100755
--- a/moses/src/UniqueObject.h
+++ b/moses/src/UniqueObject.h
diff --git a/moses/src/UserMessage.cpp b/moses/src/UserMessage.cpp
index ad89d80a7..ad89d80a7 100644..100755
--- a/moses/src/UserMessage.cpp
+++ b/moses/src/UserMessage.cpp
diff --git a/moses/src/UserMessage.h b/moses/src/UserMessage.h
index aac38cae4..aac38cae4 100644..100755
--- a/moses/src/UserMessage.h
+++ b/moses/src/UserMessage.h
diff --git a/moses/src/Util.cpp b/moses/src/Util.cpp
index be02fb27b..be02fb27b 100644..100755
--- a/moses/src/Util.cpp
+++ b/moses/src/Util.cpp
diff --git a/moses/src/Util.h b/moses/src/Util.h
index 1b0638ec2..1b0638ec2 100644..100755
--- a/moses/src/Util.h
+++ b/moses/src/Util.h
diff --git a/moses/src/Word.cpp b/moses/src/Word.cpp
index 1ff5df496..1ff5df496 100644..100755
--- a/moses/src/Word.cpp
+++ b/moses/src/Word.cpp
diff --git a/moses/src/Word.h b/moses/src/Word.h
index 7dd395030..7dd395030 100644..100755
--- a/moses/src/Word.h
+++ b/moses/src/Word.h
diff --git a/moses/src/WordLattice.cpp b/moses/src/WordLattice.cpp
index f3344dc67..f3344dc67 100644..100755
--- a/moses/src/WordLattice.cpp
+++ b/moses/src/WordLattice.cpp
diff --git a/moses/src/WordLattice.h b/moses/src/WordLattice.h
index 21df48054..21df48054 100644..100755
--- a/moses/src/WordLattice.h
+++ b/moses/src/WordLattice.h
diff --git a/moses/src/WordTranslationFeature.cpp b/moses/src/WordTranslationFeature.cpp
index c0b3e0025..c0b3e0025 100644..100755
--- a/moses/src/WordTranslationFeature.cpp
+++ b/moses/src/WordTranslationFeature.cpp
diff --git a/moses/src/WordTranslationFeature.h b/moses/src/WordTranslationFeature.h
index 39be24d41..39be24d41 100644..100755
--- a/moses/src/WordTranslationFeature.h
+++ b/moses/src/WordTranslationFeature.h
diff --git a/moses/src/WordsBitmap.cpp b/moses/src/WordsBitmap.cpp
index b3203145f..b3203145f 100644..100755
--- a/moses/src/WordsBitmap.cpp
+++ b/moses/src/WordsBitmap.cpp
diff --git a/moses/src/WordsBitmap.h b/moses/src/WordsBitmap.h
index 370120571..370120571 100644..100755
--- a/moses/src/WordsBitmap.h
+++ b/moses/src/WordsBitmap.h
diff --git a/moses/src/WordsRange.cpp b/moses/src/WordsRange.cpp
index f37a738c0..f37a738c0 100644..100755
--- a/moses/src/WordsRange.cpp
+++ b/moses/src/WordsRange.cpp
diff --git a/moses/src/WordsRange.h b/moses/src/WordsRange.h
index 7191d259e..7191d259e 100644..100755
--- a/moses/src/WordsRange.h
+++ b/moses/src/WordsRange.h
diff --git a/moses/src/XmlOption.cpp b/moses/src/XmlOption.cpp
index f5eee83f9..f5eee83f9 100644..100755
--- a/moses/src/XmlOption.cpp
+++ b/moses/src/XmlOption.cpp
diff --git a/moses/src/XmlOption.h b/moses/src/XmlOption.h
index 45989c841..45989c841 100644..100755
--- a/moses/src/XmlOption.h
+++ b/moses/src/XmlOption.h
diff --git a/moses/src/gzfilebuf.h b/moses/src/gzfilebuf.h
index d59d3e1b7..d59d3e1b7 100644..100755
--- a/moses/src/gzfilebuf.h
+++ b/moses/src/gzfilebuf.h
diff --git a/moses/src/hash.cpp b/moses/src/hash.cpp
index 9afac463d..9afac463d 100644..100755
--- a/moses/src/hash.cpp
+++ b/moses/src/hash.cpp
diff --git a/moses/src/hash.h b/moses/src/hash.h
index 227f3b90a..227f3b90a 100644..100755
--- a/moses/src/hash.h
+++ b/moses/src/hash.h
diff --git a/moses/src/hypergraph.proto b/moses/src/hypergraph.proto
index e292eacca..e292eacca 100644..100755
--- a/moses/src/hypergraph.proto
+++ b/moses/src/hypergraph.proto
diff --git a/moses/src/rule.proto b/moses/src/rule.proto
index 5f8084636..5f8084636 100644..100755
--- a/moses/src/rule.proto
+++ b/moses/src/rule.proto