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:
authorMichael Denkowski <mdenkows@amazon.com>2016-06-07 20:36:30 +0300
committerMichael Denkowski <mdenkows@amazon.com>2016-08-12 13:05:11 +0300
commita407452d3993b88d725a7838f7c76522ac11a7c8 (patch)
tree13a215c26d21d5b684b36672fca686cc884f611e /moses/InputType.h
parent7db3fedc3b6a2498fec82ea648661140c56e1040 (diff)
XML option for sentence coordinates
Diffstat (limited to 'moses/InputType.h')
-rw-r--r--moses/InputType.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/moses/InputType.h b/moses/InputType.h
index 80080a3f2..30b86180d 100644
--- a/moses/InputType.h
+++ b/moses/InputType.h
@@ -68,6 +68,9 @@ public:
size_t m_frontSpanCoveredLength;
// how many words from the beginning are covered
+ // coordinates in some space, populated by xml tag "coord"
+ boost::shared_ptr<std::vector<float> > m_coord;
+
InputType(AllOptions::ptr const& opts, long translationId = 0);
virtual ~InputType();