|
Reranker Framework (ReFr)
Reranking framework for structure prediction and discriminative language modeling
|
A class to fill in a CandidateSet based on a CandidateSetMessage, crucially constructing new Candidate instances from each CandidateMessage inside the CandidateSetMessage. More...
#include <candidate-set-proto-reader.H>
Public Member Functions | |
| CandidateSetProtoReader () | |
| virtual | ~CandidateSetProtoReader () |
| void | Read (const CandidateSetMessage &m, CandidateSet &set) |
| Fills in the specified CandidateSet based on the specified CandidateSetMessage, crucially constructing new Candidate instances from each CandidateMessage inside the CandidateSetMessage. More... | |
| void | Read (const CandidateSetMessage &m, int max_candidates, CandidateSet &set) |
| Identical to read, but specifies a maximum number of candidates to be read per candidate set (for debugging). More... | |
| void | ClearStrings () |
A class to fill in a CandidateSet based on a CandidateSetMessage, crucially constructing new Candidate instances from each CandidateMessage inside the CandidateSetMessage.
Definition at line 61 of file candidate-set-proto-reader.H.
|
inline |
Definition at line 63 of file candidate-set-proto-reader.H.
|
inlinevirtual |
Definition at line 64 of file candidate-set-proto-reader.H.
|
inline |
Definition at line 90 of file candidate-set-proto-reader.H.
|
inline |
Fills in the specified CandidateSet based on the specified CandidateSetMessage, crucially constructing new Candidate instances from each CandidateMessage inside the CandidateSetMessage.
| [in] | m | the message from which to fill in a CandidateSet |
| [out] | set | the CandidateSet to be filled in based on the specified CandidateSetMessage |
Definition at line 73 of file candidate-set-proto-reader.H.
| void reranker::CandidateSetProtoReader::Read | ( | const CandidateSetMessage & | m, |
| int | max_candidates, | ||
| CandidateSet & | set | ||
| ) |
Identical to read, but specifies a maximum number of candidates to be read per candidate set (for debugging).
| [in] | m | the message from which to fill in a CandidateSet |
| [in] | max_candidates | the maximum number of candidates to read when filling in any CandidateSet, or -1 if there is no maximum |
| [out] | set | the CandidateSet to be filled in based on the specified CandidateSetMessage |
Definition at line 66 of file candidate-set-proto-reader.C.
1.8.6