Reranker Framework (ReFr)
Reranking framework for structure prediction and discriminative language modeling
|
Definition for executable that reads in reranker::CandidateSet instances and either outputs all symbolic feature names, or else reads in a symbol table from file and compiles all feature vectors in each reranker::CandidateSet instance using that supplied symbol table, serializing the reranker::CandidateSet instances to stdout
.
More...
#include <string>
#include <cstdlib>
#include <memory>
#include <vector>
#include "../proto/dataio.h"
#include "candidate-set.H"
#include "candidate-set-iterator.H"
#include "candidate-set-writer.H"
#include "executive-feature-extractor.H"
#include "symbol-table.H"
Go to the source code of this file.
Macros | |
#define | PROG_NAME "compile-features" |
#define | DEFAULT_MAX_EXAMPLES -1 |
#define | DEFAULT_MAX_CANDIDATES -1 |
#define | DEFAULT_REPORTING_INTERVAL 1000 |
#define | XSTR(arg) STR(arg) |
#define | STR(arg) #arg |
Functions | |
void | usage () |
Emits usage message to standard output. More... | |
bool | check_for_required_arg (int argc, int i, string err_msg) |
int | main (int argc, char **argv) |
Variables | |
const char * | usage_msg [] |
Definition for executable that reads in reranker::CandidateSet instances and either outputs all symbolic feature names, or else reads in a symbol table from file and compiles all feature vectors in each reranker::CandidateSet instance using that supplied symbol table, serializing the reranker::CandidateSet instances to stdout
.
Definition in file compile-features.C.
#define DEFAULT_MAX_CANDIDATES -1 |
Definition at line 55 of file compile-features.C.
#define DEFAULT_MAX_EXAMPLES -1 |
Definition at line 54 of file compile-features.C.
#define DEFAULT_REPORTING_INTERVAL 1000 |
Definition at line 56 of file compile-features.C.
#define PROG_NAME "compile-features" |
Definition at line 52 of file compile-features.C.
#define STR | ( | arg | ) | #arg |
Definition at line 60 of file compile-features.C.
#define XSTR | ( | arg | ) | STR(arg) |
Definition at line 59 of file compile-features.C.
bool check_for_required_arg | ( | int | argc, |
int | i, | ||
string | err_msg | ||
) |
Definition at line 101 of file compile-features.C.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 112 of file compile-features.C.
usage | ( | ) |
Emits usage message to standard output.
Definition at line 93 of file compile-features.C.
const char* usage_msg[] |
Definition at line 66 of file compile-features.C.