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:
authorHieu Hoang <hieuhoang@gmail.com>2015-10-25 16:07:25 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-10-25 16:07:25 +0300
commit84b1c4b4c0c02362cdb35b55e08196d03b993baf (patch)
tree5b8526e6063ce08e0eb5c13bbef8d6e605f46748 /moses/Hypothesis.h
parenteeff4fddc85c0edab1b2a3eb4ceecce243f52bc1 (diff)
WordsBitmap -> Bitmap
Diffstat (limited to 'moses/Hypothesis.h')
-rw-r--r--moses/Hypothesis.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/moses/Hypothesis.h b/moses/Hypothesis.h
index df639d251..4c3cb2039 100644
--- a/moses/Hypothesis.h
+++ b/moses/Hypothesis.h
@@ -31,7 +31,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#include <vector>
#include "Phrase.h"
#include "TypeDef.h"
-#include "WordsBitmap.h"
+#include "Bitmap.h"
#include "Sentence.h"
#include "Phrase.h"
#include "GenerationDictionary.h"
@@ -72,7 +72,7 @@ class Hypothesis
protected:
const Hypothesis* m_prevHypo; /*! backpointer to previous hypothesis (from which this one was created) */
- const WordsBitmap &m_sourceCompleted; /*! keeps track of which words have been translated so far */
+ const Bitmap &m_sourceCompleted; /*! keeps track of which words have been translated so far */
InputType const& m_sourceInput;
WordsRange m_currSourceWordsRange; /*! source word positions of the last phrase that was used to create this hypothesis */
WordsRange m_currTargetWordsRange; /*! target word positions of the last phrase that was used to create this hypothesis */
@@ -92,9 +92,9 @@ protected:
public:
/*! used by initial seeding of the translation process */
- Hypothesis(Manager& manager, InputType const& source, const TranslationOption &initialTransOpt, const WordsBitmap &bitmap);
+ Hypothesis(Manager& manager, InputType const& source, const TranslationOption &initialTransOpt, const Bitmap &bitmap);
/*! used when creating a new hypothesis using a translation option (phrase translation) */
- Hypothesis(const Hypothesis &prevHypo, const TranslationOption &transOpt, const WordsBitmap &bitmap);
+ Hypothesis(const Hypothesis &prevHypo, const TranslationOption &transOpt, const Bitmap &bitmap);
~Hypothesis();
void PrintHypothesis() const;
@@ -168,7 +168,7 @@ public:
/***
* \return The bitmap of source words we cover
*/
- inline const WordsBitmap &GetWordsBitmap() const {
+ inline const Bitmap &GetWordsBitmap() const {
return m_sourceCompleted;
}