diff options
Diffstat (limited to 'mert/BleuScorer.h')
-rw-r--r-- | mert/BleuScorer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mert/BleuScorer.h b/mert/BleuScorer.h index 2f2c2a153..5fce47ad4 100644 --- a/mert/BleuScorer.h +++ b/mert/BleuScorer.h @@ -51,6 +51,11 @@ public: void DumpCounts(std::ostream* os, const NgramCounts& counts) const; + bool OpenReference(const char* filename, size_t file_id); + + // NOTE: this function is used for unit testing. + bool OpenReferenceStream(std::istream* is, size_t file_id); + private: ReferenceLengthType m_ref_length_type; |