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:
Diffstat (limited to 'moses/TargetPhrase.h')
-rw-r--r--moses/TargetPhrase.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/moses/TargetPhrase.h b/moses/TargetPhrase.h
index a2772cdae..3d621dbe9 100644
--- a/moses/TargetPhrase.h
+++ b/moses/TargetPhrase.h
@@ -56,9 +56,13 @@ public:
Scores const* GetExtraScores(FeatureFunction const* ff) const;
void SetExtraScores(FeatureFunction const* ff,boost::shared_ptr<Scores> const& scores);
+ typedef std::map<size_t const, std::vector<SPTR<std::vector<float> > > > CoordCache_t;
+ std::vector<SPTR<std::vector<float> > > const* GetCoordList(size_t const spaceID) const;
+ void PushCoord(size_t const spaceID, SPTR<std::vector<float> > const coord);
private:
ScoreCache_t m_cached_scores;
+ SPTR<CoordCache_t> m_cached_coord;
WPTR<ContextScope> m_scope;
private: