concordia-library/concordia/anubis_search_result.hpp
rjawor e99eb77b28 anonymizing sentences
Former-commit-id: 5d8bd7e16258fda7c02a7cc0e1da589d73418f0d
2014-04-29 14:46:04 +02:00

38 lines
632 B
C++

#ifndef ANUBIS_SEARCH_RESULT_HDR
#define ANUBIS_SEARCH_RESULT_HDR
#include "concordia/common/config.hpp"
/*!
Class representing an example found by anubis search.
*/
using namespace std;
class AnubisSearchResult {
public:
explicit AnubisSearchResult(const SUFFIX_MARKER_TYPE & exampleId,
const double score);
/*! Destructor.
*/
virtual ~AnubisSearchResult();
SUFFIX_MARKER_TYPE getExampleId() const {
return _exampleId;
}
double getScore() const {
return _score;
}
private:
SUFFIX_MARKER_TYPE _exampleId;
double _score;
};
#endif