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:
authorUlrich Germann <Ulrich.Germann@gmail.com>2015-12-10 06:17:36 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-12-11 04:09:22 +0300
commit29694af6e43c1cec7a6fd0b157eb44faca706129 (patch)
treeacda250a83c5a3a4244be011f1f4b9e6337f5d6b /moses/TreeInput.h
parent240b88c6834c9c94e8a6448a34dc4ad33bdf3fbd (diff)
Code cleanup and refactoring.
Diffstat (limited to 'moses/TreeInput.h')
-rw-r--r--moses/TreeInput.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/moses/TreeInput.h b/moses/TreeInput.h
index 9e698c117..0d79516ab 100644
--- a/moses/TreeInput.h
+++ b/moses/TreeInput.h
@@ -35,10 +35,9 @@ protected:
std::vector<std::vector<NonTerminalSet> > m_sourceChart;
std::vector<XMLParseOutput> m_labelledSpans;
- void AddChartLabel(size_t startPos, size_t endPos, const std::string &label
- ,const std::vector<FactorType>& factorOrder);
- void AddChartLabel(size_t startPos, size_t endPos, const Word &label
- ,const std::vector<FactorType>& factorOrder);
+ void AddChartLabel(size_t startPos, size_t endPos, const std::string &label);
+ void AddChartLabel(size_t startPos, size_t endPos, const Word &label);
+
NonTerminalSet &GetLabelSet(size_t startPos, size_t endPos) {
return m_sourceChart[startPos][endPos - startPos];
}
@@ -56,9 +55,7 @@ public:
//! populate this InputType with data from in stream
virtual int
- Read(std::istream& in,
- const std::vector<FactorType>& factorOrder,
- AllOptions const& opts);
+ Read(std::istream& in);
//! Output debugging info to stream out
virtual void Print(std::ostream&) const;