cwb-s-decode.c File Reference

#include "../cl/globals.h"
#include "../cl/cl.h"

Functions

Variables


Function Documentation

int main ( int  argc,
char **  argv 
)

Main function for cwb-s-decode.

Prints information about each region in a given s-attribute in a specified corpus to STDOUT, optionally with their annotation values.

Parameters:
argc Number of command-line arguments.
argv Command-line arguments.

References ATT_STRUC, central_corpus_directory(), cl_error, cl_max_struc(), cl_new_attribute, cl_new_corpus, cl_struc2cpos, cl_struc2str, cl_struc_values, corpus, corpus_id, progname, registry_directory, and usage().

void usage ( void   ) 

Prints a message describing how to use the program to STDERR and then exits.

References progname.


Variable Documentation

char* progname

Name of the program (from the shell).


Generated on Sun Feb 28 18:08:04 2010 for CWB by  doxygen 1.6.1