CWB
Data Fields
WAttr Struct Reference

WAttr object: represents a P-attribute being encoded. More...

Data Fields

char * name
 TODO. More...
 
cl_lexhash lh
 String hash object containing the lexicon for the encoded P attrbute. More...
 
int position
 Byte index of the lexicon file in progress; contains total number of bytes written so far (== the beginning of the -next- string that is written) More...
 
int feature_set
 Boolean: is this a feature set attribute? => validate and normalise format. More...
 
FILE * lex_fd
 file handle of lexicon component More...
 
FILE * lexidx_fd
 file handle of lexicon index component More...
 
FILE * corpus_fd
 file handle of corpus component More...
 

Detailed Description

WAttr object: represents a P-attribute being encoded.

TODO should probably be called a PAttr

Field Documentation

FILE* corpus_fd

file handle of corpus component

int feature_set

Boolean: is this a feature set attribute? => validate and normalise format.

Referenced by wattr_declare().

FILE* lex_fd

file handle of lexicon component

FILE* lexidx_fd

file handle of lexicon index component

String hash object containing the lexicon for the encoded P attrbute.

Referenced by wattr_declare().

char* name

TODO.

Referenced by wattr_declare().

int position

Byte index of the lexicon file in progress; contains total number of bytes written so far (== the beginning of the -next- string that is written)

Referenced by encode_add_wattr_line(), and wattr_declare().


The documentation for this struct was generated from the following file: