diff options
author | Chris Dyer <redpony@gmail.com> | 2015-03-03 01:14:07 -0500 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2015-03-03 01:14:07 -0500 |
commit | 6cbdccb1d9a62b2723b962ba4b6e66f1631e48d3 (patch) | |
tree | 686d2e294f8a69cad620fced60106fcb1f6cac8e /decoder/sentence_metadata.h | |
parent | 24cee877f2bb4b490495ea578564d0266b1addd3 (diff) |
migration to cmake
Diffstat (limited to 'decoder/sentence_metadata.h')
-rw-r--r-- | decoder/sentence_metadata.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/decoder/sentence_metadata.h b/decoder/sentence_metadata.h index e13c2ca5..27fcac38 100644 --- a/decoder/sentence_metadata.h +++ b/decoder/sentence_metadata.h @@ -7,8 +7,8 @@ #include "lattice.h" #include "tree_fragment.h" -struct DocScorer; // deprecated, will be removed -struct Score; // deprecated, will be removed +class DocScorer; // deprecated, will be removed +class Score; // deprecated, will be removed namespace cdec { enum InputType { kSEQUENCE, kTREE, kLATTICE, kFOREST, kUNKNOWN }; @@ -17,7 +17,7 @@ class TreeFragment; class SentenceMetadata { public: - friend class DecoderImpl; + friend struct DecoderImpl; SentenceMetadata(int id, const Lattice& ref) : sent_id_(id), src_len_(-1), |