mosesdecoder/moses
Graham Neubig 6c25048d20 Prevented segfault on print non-existant alignment
In processPhraseTable, there is an option to print alignments.
When this is selected, processPhraseTable will print the 4th
column in the phrase table, but the check for the phrase table
width only currently goes to the 3rd column. This patch makes
sure that the phrase table must have 4 columns when alignments
are being printed, and 3 otherwise.
2013-07-05 12:21:01 +09:00
..
FF Future-Cost 2013-07-02 13:19:55 +01:00
generic beautify 2013-06-26 17:19:09 +01:00
LM Bug Fix 2013-07-01 11:06:55 +01:00
TranslationModel Prevented segfault on print non-existant alignment 2013-07-05 12:21:01 +09:00
AlignmentInfo.cpp beautify 2013-05-29 18:16:15 +01:00
AlignmentInfo.h beautify 2013-05-29 18:16:15 +01:00
AlignmentInfoCollection.cpp beautify 2013-05-29 18:16:15 +01:00
AlignmentInfoCollection.h beautify 2013-05-29 18:16:15 +01:00
AlignmentInfoTest.cpp beautify 2013-05-29 18:16:15 +01:00
BitmapContainer.cpp delete pre-calculated scoring in ChartHypothesis. Should be subsumed by new scoring framework. Rename CalcScore() to Evaluate() 2013-06-11 16:08:59 +01:00
BitmapContainer.h delete class TranslationSystem 2013-05-11 14:13:26 +01:00
ChartCell.cpp beautify 2013-05-29 18:16:15 +01:00
ChartCell.h beautify 2013-05-29 18:16:15 +01:00
ChartCellCollection.cpp beautify 2013-05-29 18:16:15 +01:00
ChartCellCollection.h beautify 2013-05-29 18:16:15 +01:00
ChartCellLabel.h refactor parsing of feature functiona args 2013-06-10 18:11:55 +01:00
ChartCellLabelSet.h beautify 2013-05-29 18:16:15 +01:00
ChartHypothesis.cpp delete pre-calculated scoring in ChartHypothesis. Should be subsumed by new scoring framework. Rename CalcScore() to Evaluate() 2013-06-11 16:08:59 +01:00
ChartHypothesis.h delete pre-calculated scoring in ChartHypothesis. Should be subsumed by new scoring framework. Rename CalcScore() to Evaluate() 2013-06-11 16:08:59 +01:00
ChartHypothesisCollection.cpp beautify 2013-05-29 18:16:15 +01:00
ChartHypothesisCollection.h beautify 2013-05-29 18:16:15 +01:00
ChartManager.cpp delete pre-calculated scoring in ChartHypothesis. Should be subsumed by new scoring framework. Rename CalcScore() to Evaluate() 2013-06-11 16:08:59 +01:00
ChartManager.h delete misc unused variables from PhraseDictionary 2013-06-11 16:31:43 +01:00
ChartParser.cpp compiles, but only on eclipse 2013-06-24 14:45:20 +01:00
ChartParser.h beautify 2013-05-29 18:16:15 +01:00
ChartParserCallback.h beautify 2013-05-29 18:16:15 +01:00
ChartRuleLookupManager.h beautify 2013-05-29 18:16:15 +01:00
ChartTranslationOptionList.cpp beautify 2013-05-29 18:16:15 +01:00
ChartTranslationOptionList.h beautify 2013-05-29 18:16:15 +01:00
ChartTranslationOptions.cpp beautify 2013-05-29 18:16:15 +01:00
ChartTranslationOptions.h refactor parsing of feature functiona args 2013-06-10 18:11:55 +01:00
ChartTrellisDetour.cpp beautify 2013-05-29 18:16:15 +01:00
ChartTrellisDetour.h beautify 2013-05-29 18:16:15 +01:00
ChartTrellisDetourQueue.cpp beautify 2013-05-29 18:16:15 +01:00
ChartTrellisDetourQueue.h beautify 2013-05-29 18:16:15 +01:00
ChartTrellisNode.cpp beautify 2013-05-29 18:16:15 +01:00
ChartTrellisNode.h beautify 2013-05-29 18:16:15 +01:00
ChartTrellisPath.cpp beautify 2013-05-29 18:16:15 +01:00
ChartTrellisPath.h beautify 2013-05-29 18:16:15 +01:00
ChartTrellisPathList.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
ConfusionNet.cpp delete information on input scores from StaticData 2013-06-05 01:41:52 +01:00
ConfusionNet.h beautify 2013-05-29 18:16:15 +01:00
DecodeFeature.cpp redo parsing of feature function parameters 2013-06-20 13:25:02 +01:00
DecodeFeature.h redo parsing of feature function parameters 2013-06-20 13:25:02 +01:00
DecodeGraph.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
DecodeGraph.h refactor parsing of feature functiona args 2013-06-10 18:11:55 +01:00
DecodeStep.cpp figure out which feature function to apply at which decode step. Book-keeping 2013-05-30 20:04:48 +01:00
DecodeStep.h figure out which feature function to apply at which decode step. Book-keeping 2013-05-30 20:04:48 +01:00
DecodeStepGeneration.cpp figure out which feature function to apply at which decode step. Book-keeping 2013-05-30 22:13:57 +01:00
DecodeStepGeneration.h beautify 2013-05-30 12:51:40 +01:00
DecodeStepTranslation.cpp figure out which feature function to apply at which decode step. Book-keeping 2013-05-30 23:59:29 +01:00
DecodeStepTranslation.h beautify 2013-05-30 12:51:40 +01:00
Factor.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
Factor.h beautify 2013-05-29 18:16:15 +01:00
FactorCollection.cpp beautify 2013-05-29 18:16:15 +01:00
FactorCollection.h refactor parsing of feature functiona args 2013-06-10 18:11:55 +01:00
FactorTypeSet.cpp beautify 2013-05-31 00:00:21 +01:00
FactorTypeSet.h figure out which feature function to apply at which decode step. Book-keeping 2013-05-30 18:34:10 +01:00
FeatureVector.cpp beautify 2013-05-31 00:00:21 +01:00
FeatureVector.h function to merge feature scores. ie. not add them together. 2013-05-30 19:20:54 +01:00
FeatureVectorTest.cpp beautify 2013-05-29 18:16:15 +01:00
File.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
File.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
FilePtr.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
FloydWarshall.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
FloydWarshall.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
GenerationDictionary.cpp redo parsing of feature function parameters 2013-06-20 13:25:02 +01:00
GenerationDictionary.h redo parsing of feature function parameters 2013-06-20 13:25:02 +01:00
gzfilebuf.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
hypergraph.proto move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
HypoList.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
Hypothesis.cpp delete pre-calculated scoring in ChartHypothesis. Should be subsumed by new scoring framework. Rename CalcScore() to Evaluate() 2013-06-11 16:08:59 +01:00
Hypothesis.h delete pre-calculated scoring in ChartHypothesis. Should be subsumed by new scoring framework. Rename CalcScore() to Evaluate() 2013-06-11 16:08:59 +01:00
HypothesisStack.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
HypothesisStack.h beautify 2013-05-29 18:16:15 +01:00
HypothesisStackCubePruning.cpp delete class TranslationSystem 2013-05-11 14:13:26 +01:00
HypothesisStackCubePruning.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
HypothesisStackNormal.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
HypothesisStackNormal.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
Incremental.cpp beautify 2013-05-29 18:16:15 +01:00
Incremental.h beautify 2013-05-29 18:16:15 +01:00
InputFileStream.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
InputFileStream.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
InputType.cpp beautify 2013-05-29 18:16:15 +01:00
InputType.h basic support for alternate weight settings 2013-05-31 12:28:57 +01:00
Jamfile No SRILM 2013-07-01 13:10:58 +01:00
LexicalReordering.cpp refactor loading in class LexicalReordering 2013-05-31 23:04:05 +01:00
LexicalReordering.h refactor loading in class LexicalReordering 2013-05-31 23:04:05 +01:00
LexicalReorderingState.cpp beautify 2013-05-29 18:16:15 +01:00
LexicalReorderingState.h move feature functions into moses/FF 2013-05-24 18:02:49 +01:00
LexicalReorderingTable.cpp beautify 2013-05-29 18:16:15 +01:00
LexicalReorderingTable.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
LVoc.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
LVoc.h redo parsing of feature function parameters 2013-06-20 12:50:41 +01:00
Manager.cpp test commit 2013-06-24 12:21:29 +01:00
Manager.h beautify 2013-05-29 18:16:15 +01:00
MockHypothesis.cpp beautify 2013-05-29 18:16:15 +01:00
MockHypothesis.h beautify 2013-05-29 18:16:15 +01:00
MosesTest.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
NonTerminal.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
NonTerminal.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
ObjectPool.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
OutputCollector.h beautify 2013-05-29 18:16:15 +01:00
Parameter.cpp beautify 2013-06-26 17:19:09 +01:00
Parameter.h new function Parameter::Save() to serialise ini file parameters 2013-06-04 17:01:10 +01:00
PartialTranslOptColl.cpp delete class TranslationSystem 2013-05-11 14:13:26 +01:00
PartialTranslOptColl.h beautify 2013-05-29 18:16:15 +01:00
PCNTools.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
PCNTools.h beautify 2013-05-29 18:16:15 +01:00
PDTAimp.h refactor parsing of feature functiona args 2013-06-10 18:11:55 +01:00
Phrase.cpp beautify 2013-05-29 18:16:15 +01:00
Phrase.h beautify 2013-05-29 18:16:15 +01:00
PrefixTree.h beautify 2013-05-29 18:16:15 +01:00
PrefixTreeMap.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
PrefixTreeMap.h beautify 2013-05-29 18:16:15 +01:00
ReorderingConstraint.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
ReorderingConstraint.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
ReorderingStack.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
ReorderingStack.h delete ScoreProducer 2013-02-21 20:03:35 +00:00
rule.proto move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
RuleCube.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
RuleCube.h beautify 2013-05-29 18:16:15 +01:00
RuleCubeItem.cpp delete pre-calculated scoring in ChartHypothesis. Should be subsumed by new scoring framework. Rename CalcScore() to Evaluate() 2013-06-11 16:08:59 +01:00
RuleCubeItem.h refactor parsing of feature functiona args 2013-06-10 18:11:55 +01:00
RuleCubeQueue.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
RuleCubeQueue.h beautify 2013-05-29 18:16:15 +01:00
ScoreComponentCollection.cpp beautify 2013-05-29 18:16:15 +01:00
ScoreComponentCollection.h refactor parsing of feature functiona args 2013-06-10 18:11:55 +01:00
ScoreComponentCollectionTest.cpp refactor parsing of feature functiona args 2013-06-10 18:11:55 +01:00
Search.cpp Add explicit to the Search constructor; fix the comments. 2013-04-30 16:20:08 +09:00
Search.h Add explicit to the Search constructor; fix the comments. 2013-04-30 16:20:08 +09:00
SearchCubePruning.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
SearchCubePruning.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
SearchNormal.cpp delete pre-calculated scoring in ChartHypothesis. Should be subsumed by new scoring framework. Rename CalcScore() to Evaluate() 2013-06-11 16:08:59 +01:00
SearchNormal.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
SearchNormalBatch.cpp delete pre-calculated scoring in ChartHypothesis. Should be subsumed by new scoring framework. Rename CalcScore() to Evaluate() 2013-06-11 16:08:59 +01:00
SearchNormalBatch.h beautify 2013-05-29 18:16:15 +01:00
Sentence.cpp beautify 2013-06-03 12:33:18 +01:00
Sentence.h delete class TranslationSystem 2013-05-11 14:13:26 +01:00
SentenceStats.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
SentenceStats.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
SquareMatrix.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
SquareMatrix.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
StackVec.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
StaticData.cpp No SRILM 2013-07-01 13:10:58 +01:00
StaticData.h redo parsing of feature function parameters 2013-06-20 12:50:41 +01:00
SyntacticLanguageModel.cpp beautify 2013-05-29 18:16:15 +01:00
SyntacticLanguageModel.h beautify 2013-05-29 18:16:15 +01:00
SyntacticLanguageModelFiles.h beautify 2013-05-29 18:16:15 +01:00
SyntacticLanguageModelState.h beautify 2013-05-29 18:16:15 +01:00
TargetPhrase.cpp cleanup LoadFeatureFunctions() 2013-06-06 15:51:31 +01:00
TargetPhrase.h figure out which feature function to apply at which decode step. Book-keeping 2013-05-30 21:12:36 +01:00
TargetPhraseCollection.cpp beautify 2013-06-26 17:19:09 +01:00
TargetPhraseCollection.h beautify 2013-05-29 18:16:15 +01:00
Terminal.h beautify 2013-05-29 18:16:15 +01:00
ThreadPool.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
ThreadPool.h beautify 2013-05-29 18:16:15 +01:00
Timer.cpp delete CLOCK_MONOTONIC 2013-02-21 01:09:05 +00:00
Timer.h beautify 2013-05-29 18:16:15 +01:00
TranslationOption.cpp beautify 2013-05-29 18:16:15 +01:00
TranslationOption.h beautify 2013-05-29 18:16:15 +01:00
TranslationOptionCollection.cpp single threaded build compiles & passes regression 2013-07-01 17:37:24 +01:00
TranslationOptionCollection.h rollback 2013-06-21 01:17:17 +01:00
TranslationOptionCollectionConfusionNet.cpp rollback 2013-06-21 01:17:17 +01:00
TranslationOptionCollectionConfusionNet.h rollback 2013-06-21 01:17:17 +01:00
TranslationOptionCollectionText.cpp rollback 2013-06-21 01:17:17 +01:00
TranslationOptionCollectionText.h rollback 2013-06-21 01:17:17 +01:00
TranslationOptionList.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
TranslationOptionList.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
TreeInput.cpp beautify 2013-05-29 18:16:15 +01:00
TreeInput.h refactor parsing of feature functiona args 2013-06-10 18:11:55 +01:00
TrellisPath.cpp beautify 2013-05-29 18:16:15 +01:00
TrellisPath.h beautify 2013-05-29 18:16:15 +01:00
TrellisPathCollection.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
TrellisPathCollection.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
TrellisPathList.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
TypeDef.h Merge branch 'master' into dynamic-phrase-tables 2013-06-26 03:00:27 +01:00
UniqueObject.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
UserMessage.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
UserMessage.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
Util.cpp beautify 2013-05-29 18:16:15 +01:00
Util.h beautify 2013-05-29 18:16:15 +01:00
Word.cpp beautify 2013-05-29 18:16:15 +01:00
Word.h compiles, but only on eclipse 2013-06-24 14:45:20 +01:00
WordLattice.cpp delete information on input scores from StaticData 2013-06-05 01:41:52 +01:00
WordLattice.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
WordsBitmap.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
WordsBitmap.h move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
WordsRange.cpp move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00
WordsRange.h refactor parsing of feature functiona args 2013-06-10 18:11:55 +01:00
XmlOption.cpp beautify 2013-05-29 18:16:15 +01:00
XmlOption.h refactor parsing of feature functiona args 2013-06-10 18:11:55 +01:00