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:
authorhieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230>2008-01-29 22:28:13 +0300
committerhieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230>2008-01-29 22:28:13 +0300
commitfd60fe93b9e1bb2f210fbea861d78d7a84b37624 (patch)
treed9cdbd6c1cc4b788bfcfc6f49f634aff8693bae3 /moses/src/TranslationOption.h
parent060d26cbb309afe517a4685aeb0726022a405270 (diff)
roll back last change. seg fault in release build
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1549 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'moses/src/TranslationOption.h')
-rwxr-xr-xmoses/src/TranslationOption.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/moses/src/TranslationOption.h b/moses/src/TranslationOption.h
index 440d4461d..441cd403c 100755
--- a/moses/src/TranslationOption.h
+++ b/moses/src/TranslationOption.h
@@ -60,7 +60,6 @@ protected:
Phrase *m_sourcePhrase; /*< input phrase translated by this */
const WordsRange m_sourceWordsRange; /*< word position in the input that are covered by this translation option */
float m_futureScore; /*< estimate of total cost when using this translation option, includes language model probabilities */
- std::vector<TranslationOption*> m_linkedTransOpts; /* list of linked TOs which must be included with this in any hypothesis */
//! in TranslationOption, m_scoreBreakdown is not complete. It cannot,
//! for example, know the full n-gram score since the length of the
@@ -113,18 +112,6 @@ public:
{
return m_sourcePhrase;
}
-
- /** returns linked TOs */
- inline const std::vector<TranslationOption*> &GetLinkedTransOpts() const
- {
- return m_linkedTransOpts;
- }
-
- /** add link to another TO */
- inline void AddLinkedTransOpt(TranslationOption* to)
- {
- m_linkedTransOpts.push_back(to);
- }
/** whether source span overlaps with those of a hypothesis */
bool Overlap(const Hypothesis &hypothesis) const;
@@ -180,4 +167,3 @@ public:
};
-