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:
authorNicola Bertoldi <bertoldi@fbk.eu>2014-04-28 21:18:38 +0400
committerNicola Bertoldi <bertoldi@fbk.eu>2014-04-28 21:18:38 +0400
commit20381cbf8996ea46d32c470c8580a68eda4ec64e (patch)
treeb925ad630058c7f642f20af534829ccac2decaa2 /moses/InputPath.h
parent03825e3ffdd1042ba02a64981ebb2e4c731ef153 (diff)
parent6182750b7077f226f2eb96a8b5b97be72d274c74 (diff)
merged master into dynamic-models and solved conflicts
Diffstat (limited to 'moses/InputPath.h')
-rw-r--r--moses/InputPath.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/moses/InputPath.h b/moses/InputPath.h
index 33857b5d2..aef14e7b1 100644
--- a/moses/InputPath.h
+++ b/moses/InputPath.h
@@ -6,6 +6,7 @@
#include "Phrase.h"
#include "WordsRange.h"
#include "NonTerminal.h"
+#include "moses/FactorCollection.h"
namespace Moses
{
@@ -45,6 +46,7 @@ protected:
// for syntax model only
mutable std::vector<std::vector<const Word*> > m_ruleSourceFromInputPath;
const NonTerminalSet m_sourceNonTerms;
+ std::vector<bool> m_sourceNonTermArray;
public:
@@ -65,6 +67,9 @@ public:
const NonTerminalSet &GetNonTerminalSet() const {
return m_sourceNonTerms;
}
+ const std::vector<bool> &GetNonTerminalArray() const {
+ return m_sourceNonTermArray;
+ }
const WordsRange &GetWordsRange() const {
return m_range;
}