diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-28 14:38:18 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-28 14:38:18 +0400 |
commit | 036ea4ee296cbfbe40ae8a13ecb6f773a4cedb3c (patch) | |
tree | c085c36e153e5f42372e871f99998cfc4af0821b /moses/FF/PhraseLengthFeature.cpp | |
parent | 5104740d1a7031398feb4762857f885dba823d4b (diff) |
delete sourcePhrase variable in TargetPhrase class
Diffstat (limited to 'moses/FF/PhraseLengthFeature.cpp')
-rw-r--r-- | moses/FF/PhraseLengthFeature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/FF/PhraseLengthFeature.cpp b/moses/FF/PhraseLengthFeature.cpp index 152b6bce8..b9e8e9e1d 100644 --- a/moses/FF/PhraseLengthFeature.cpp +++ b/moses/FF/PhraseLengthFeature.cpp @@ -21,7 +21,7 @@ void PhraseLengthFeature::Evaluate(const Phrase &source { // get length of source and target phrase size_t targetLength = targetPhrase.GetSize(); - size_t sourceLength = targetPhrase.GetSourcePhrase().GetSize(); + size_t sourceLength = source.GetSize(); // create feature names stringstream nameSource; |