mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2025-01-06 19:49:41 +03:00
init moses2
This commit is contained in:
parent
840063468e
commit
c41d04e3c6
@ -17,6 +17,7 @@ Hypothesis::Hypothesis(Manager &mgr,
|
||||
,m_targetPhrase(tp)
|
||||
,m_bitmap(bitmap)
|
||||
,m_range(range)
|
||||
,m_prevHypo(NULL)
|
||||
{
|
||||
util::Pool &pool = mgr.GetPool();
|
||||
size_t numStatefulFFs = mgr.GetSystem().GetStatefulFeatureFunctions().size();
|
||||
@ -31,6 +32,7 @@ Hypothesis::Hypothesis(const Hypothesis &prevHypo,
|
||||
,m_targetPhrase(tp)
|
||||
,m_bitmap(bitmap)
|
||||
,m_range(pathRange)
|
||||
,m_prevHypo(&prevHypo)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -41,6 +41,7 @@ protected:
|
||||
const TargetPhrase &m_targetPhrase;
|
||||
const Moses::Bitmap &m_bitmap;
|
||||
const Moses::Range &m_range;
|
||||
const Hypothesis *m_prevHypo;
|
||||
|
||||
Moses::FFState **m_ffStates;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user