summaryrefslogtreecommitdiff
path: root/decoder/oracle_bleu.h
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-24 21:18:01 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-24 21:18:01 +0000
commit5bc0b9b1fc76064d13d2c553c019a381ee52dfa1 (patch)
tree6871a265a8dcf07c4e08a0fee79b4f3e5696bc4b /decoder/oracle_bleu.h
parent22e857a27ab9755b1f8655b0dcd94ac77cb790b8 (diff)
FSA: simpler Scan1 ScanT1 methods, otherewise also expose edge to full Scan
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@399 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/oracle_bleu.h')
-rwxr-xr-xdecoder/oracle_bleu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/oracle_bleu.h b/decoder/oracle_bleu.h
index 2ccace61..4dc86bc7 100755
--- a/decoder/oracle_bleu.h
+++ b/decoder/oracle_bleu.h
@@ -41,7 +41,7 @@ struct Translation {
out<<pre<<"Viterbi: "<<TD::GetString(sentence)<<"\n";
out<<pre<<"features: "<<features;
if (include_0_fid && features.nonzero(0))
- out<< " dummy-feature(0)="<<features[0];
+ out<< " dummy-feature(0)="<<features.get(0);
out<<std::endl;
}
bool is_null() {