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:
authorMatthias Huck <huck@i6.informatik.rwth-aachen.de>2013-09-13 19:10:21 +0400
committerMatthias Huck <huck@i6.informatik.rwth-aachen.de>2013-09-13 19:10:21 +0400
commitc39bed60c054ba5cc36a0032714b00978b713494 (patch)
treeed2301ea4081696e3e4303a6be279bf0dd2cceeb /phrase-extract/InternalStructFeature.cpp
parentbff123635ea9773d50f8536885ba409d24175749 (diff)
Tree fragments in GHKM glue rules;
output of LHS tag in tree fragments for UNKs; GHKMParse info is now denoted as Tree info
Diffstat (limited to 'phrase-extract/InternalStructFeature.cpp')
-rw-r--r--phrase-extract/InternalStructFeature.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/phrase-extract/InternalStructFeature.cpp b/phrase-extract/InternalStructFeature.cpp
index 5f558f4d7..67cc186db 100644
--- a/phrase-extract/InternalStructFeature.cpp
+++ b/phrase-extract/InternalStructFeature.cpp
@@ -26,7 +26,7 @@ void InternalStructFeature::add(const ScoreFeatureContext& context,
std::vector<float>& denseValues,
std::map<std::string,float>& sparseValues) const{
for(size_t i=0; i<context.phrasePair.size(); i++) {
- add(&context.phrasePair[i]->ghkmParse, denseValues, sparseValues);
+ add(&context.phrasePair[i]->treeFragment, denseValues, sparseValues);
}
}