mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2025-01-06 19:49:41 +03:00
add tps to input path
This commit is contained in:
parent
b491873fd1
commit
add010b029
@ -19,3 +19,8 @@ InputPath::~InputPath() {
|
||||
// TODO Auto-generated destructor stub
|
||||
}
|
||||
|
||||
void InputPath::AddTargetPhrases(const PhraseTable &pt, const TargetPhrases *pts)
|
||||
{
|
||||
size_t ptInd = pt.GetPtInd();
|
||||
m_targetPhrases[ptInd] = tps;
|
||||
}
|
||||
|
@ -27,6 +27,8 @@ public:
|
||||
const std::vector<const TargetPhrases*> &GetTargetPhrases() const
|
||||
{ return m_targetPhrases; }
|
||||
|
||||
void AddTargetPhrases(const PhraseTable &pt, const TargetPhrases *pts);
|
||||
|
||||
protected:
|
||||
SubPhrase m_subPhrase;
|
||||
Moses::Range m_range;
|
||||
|
Loading…
Reference in New Issue
Block a user