diff options
author | redpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-09-20 18:50:30 +0000 |
---|---|---|
committer | redpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-09-20 18:50:30 +0000 |
commit | 46d6e1fd3dbe0bc116a46fdab91b40fe2ecd6803 (patch) | |
tree | 9caca4c1878a58b183e214ecf4caa225987bc8e7 /decoder/sentence_metadata.h | |
parent | cf36f7d66ad19331da109f5a81ea3ea5844deb1c (diff) |
support turning off verbose logging
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@652 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/sentence_metadata.h')
-rw-r--r-- | decoder/sentence_metadata.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/decoder/sentence_metadata.h b/decoder/sentence_metadata.h index 593019c8..c9a78dd3 100644 --- a/decoder/sentence_metadata.h +++ b/decoder/sentence_metadata.h @@ -13,6 +13,8 @@ struct SentenceMetadata { trg_len_(ref.size()), ref_(has_reference_ ? &ref : NULL) {} + int GetSentenceId() const { return sent_id_; } + // this should be called by the Translator object after // it has parsed the source void SetSourceLength(int sl) { src_len_ = sl; } |