Reranker Framework (ReFr)
Reranking framework for structure prediction and discriminative language modeling
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions | Variables
symbolize-model.C File Reference

Definition for executable that reads in a model and a symbol table for that model and then writes that model back out to a file again, ensuring that the symbol table is used to decompile any non-symbolic feature uid’s in the model. More...

#include <string>
#include <cstdlib>
#include <memory>
#include <vector>
#include "../proto/dataio.h"
#include "model-proto-writer.H"
#include "model-reader.H"
#include "symbol-table.H"

Go to the source code of this file.

Macros

#define PROG_NAME   "symbolize-model"
 
#define XSTR(arg)   STR(arg)
 
#define STR(arg)   #arg
 

Functions

void usage ()
 
int main (int argc, char **argv)
 

Variables

const char * usage_msg []
 

Detailed Description

Definition for executable that reads in a model and a symbol table for that model and then writes that model back out to a file again, ensuring that the symbol table is used to decompile any non-symbolic feature uid’s in the model.

Author
dbike.nosp@m.l@go.nosp@m.ogle..nosp@m.com (Dan Bikel)

Definition in file symbolize-model.C.

Macro Definition Documentation

#define PROG_NAME   "symbolize-model"

Definition at line 49 of file symbolize-model.C.

#define STR (   arg)    #arg

Definition at line 53 of file symbolize-model.C.

#define XSTR (   arg)    STR(arg)

Definition at line 52 of file symbolize-model.C.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 75 of file symbolize-model.C.

void usage ( )

Definition at line 66 of file symbolize-model.C.

Variable Documentation

const char* usage_msg[]
Initial value:
= {
"Usage:\n",
"symbolize-model" " <model file> <symbol file> <output model file>\n",
}

Definition at line 59 of file symbolize-model.C.