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
diff options
context:
space:
mode:
authorRico Sennrich <rico.sennrich@gmx.ch>2014-03-26 15:23:23 +0400
committerRico Sennrich <rico.sennrich@gmx.ch>2014-03-26 15:23:59 +0400
commit1f435340f09f6fe8f7514df00ccf27ef5e765707 (patch)
tree1fcbb710929021847cbeb48878291a8e34151c2e /moses/ChartTranslationOptionList.h
parentc8682e9420b412340a952d70e3189a5eabb2ae2b (diff)
faster pruning in chart decoding
Diffstat (limited to 'moses/ChartTranslationOptionList.h')
-rw-r--r--moses/ChartTranslationOptionList.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/moses/ChartTranslationOptionList.h b/moses/ChartTranslationOptionList.h
index 04e3c7e2f..d62a89ab3 100644
--- a/moses/ChartTranslationOptionList.h
+++ b/moses/ChartTranslationOptionList.h
@@ -32,6 +32,7 @@ class TargetPhraseCollection;
class WordsRange;
class InputType;
class InputPath;
+class ChartCellLabel;
//! a vector of translations options for a specific range, in a specific sentence
class ChartTranslationOptionList : public ChartParserCallback
@@ -60,9 +61,7 @@ public:
return m_size == 0;
}
- float CalcEstimateOfBestScore(const TargetPhraseCollection & tpc, const StackVec & stackVec) const {
- return ChartTranslationOptions::CalcEstimateOfBestScore(tpc, stackVec);
- }
+ float GetBestScore(const ChartCellLabel *chartCell) const;
void Clear();
void ApplyThreshold();