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:
authorUlrich Germann <ugermann@inf.ed.ac.uk>2014-10-07 21:08:31 +0400
committerUlrich Germann <ugermann@inf.ed.ac.uk>2014-10-07 21:08:31 +0400
commit576931b088fa71f14ed7316ff6db165e1ea3c9ea (patch)
tree1749946dad88be13c33b4adf7f7afde70f5ab4b1 /moses/TargetPhrase.cpp
parent26666986f33985b13e205ae9bac115385ce0b407 (diff)
Mmsapt now adds word alignment info to target phrases.
Diffstat (limited to 'moses/TargetPhrase.cpp')
-rw-r--r--moses/TargetPhrase.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/moses/TargetPhrase.cpp b/moses/TargetPhrase.cpp
index 30419e9c7..9fb33d2a9 100644
--- a/moses/TargetPhrase.cpp
+++ b/moses/TargetPhrase.cpp
@@ -177,18 +177,18 @@ void TargetPhrase::SetAlignmentInfo(const StringPiece &alignString)
}
-void TargetPhrase::SetAlignTerm(const AlignmentInfo::CollType &coll)
-{
- const AlignmentInfo *alignmentInfo = AlignmentInfoCollection::Instance().Add(coll);
- m_alignTerm = alignmentInfo;
-
-}
-
-void TargetPhrase::SetAlignNonTerm(const AlignmentInfo::CollType &coll)
-{
- const AlignmentInfo *alignmentInfo = AlignmentInfoCollection::Instance().Add(coll);
- m_alignNonTerm = alignmentInfo;
-}
+// void TargetPhrase::SetAlignTerm(const AlignmentInfo::CollType &coll)
+// {
+// const AlignmentInfo *alignmentInfo = AlignmentInfoCollection::Instance().Add(coll);
+// m_alignTerm = alignmentInfo;
+
+// }
+
+// void TargetPhrase::SetAlignNonTerm(const AlignmentInfo::CollType &coll)
+// {
+// const AlignmentInfo *alignmentInfo = AlignmentInfoCollection::Instance().Add(coll);
+// m_alignNonTerm = alignmentInfo;
+// }
void TargetPhrase::SetSparseScore(const FeatureFunction* translationScoreProducer, const StringPiece &sparseString)
{