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:
authorHieu Hoang <hieuhoang@gmail.com>2013-07-07 05:14:51 +0400
committerHieu Hoang <hieuhoang@gmail.com>2013-07-07 05:14:51 +0400
commit29b895a97a0b7016e6afe8fa9cb2d232fec766a1 (patch)
treea4e70d25ac4d7ff9ab02dfecdbed3f756e6c71cf /moses/InputPath.cpp
parentecef376aedf046932d0697fa20a873db841e1a94 (diff)
InputLatticeNode to InputPath
Diffstat (limited to 'moses/InputPath.cpp')
-rw-r--r--moses/InputPath.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/InputPath.cpp b/moses/InputPath.cpp
index 26f19ded5..b0675e4f9 100644
--- a/moses/InputPath.cpp
+++ b/moses/InputPath.cpp
@@ -2,7 +2,7 @@
namespace Moses
{
-const TargetPhraseCollection *InputLatticeNode::GetTargetPhrases(const PhraseDictionary &phraseDictionary) const
+const TargetPhraseCollection *InputPath::GetTargetPhrases(const PhraseDictionary &phraseDictionary) const
{
std::map<const PhraseDictionary*, std::pair<const TargetPhraseCollection*, const void*> >::const_iterator iter;
iter = m_targetPhrases.find(&phraseDictionary);
@@ -12,7 +12,7 @@ const TargetPhraseCollection *InputLatticeNode::GetTargetPhrases(const PhraseDic
return iter->second.first;
}
-const void *InputLatticeNode::GetPtNode(const PhraseDictionary &phraseDictionary) const
+const void *InputPath::GetPtNode(const PhraseDictionary &phraseDictionary) const
{
std::map<const PhraseDictionary*, std::pair<const TargetPhraseCollection*, const void*> >::const_iterator iter;
iter = m_targetPhrases.find(&phraseDictionary);
@@ -22,7 +22,7 @@ const void *InputLatticeNode::GetPtNode(const PhraseDictionary &phraseDictionary
return iter->second.second;
}
-std::ostream& operator<<(std::ostream& out, const InputLatticeNode& obj)
+std::ostream& operator<<(std::ostream& out, const InputPath& obj)
{
out << &obj << " " << obj.GetWordsRange() << " " << obj.GetPrevNode() << " " << obj.GetPhrase();