SPRAAK
|
Data Fields | |
SprStream * | fd |
File descriptor of the open corpus file. More... | |
int | dim1 |
Number of lines in the corpus/segmentation file. More... | |
int | dim2 |
Number of segments if segmentation file. More... | |
int | idim1 |
Current line number (not including the header). More... | |
int | idim2 |
Current segmentation index. More... | |
double | fshift |
const char * | entry_fname |
SprDynStr | buf |
char * | field [5] |
SprCorpusEntry * | next_segment |
SprCorpusEntry | entry |
Last returned corpus entry. More... | |
A corpus struct holds info of an open (for reading) corpus file.
SprStream* SprCorpusInfo::fd |
File descriptor of the open corpus file.
int SprCorpusInfo::dim1 |
Number of lines in the corpus/segmentation file.
int SprCorpusInfo::dim2 |
Number of segments if segmentation file.
int SprCorpusInfo::idim1 |
Current line number (not including the header).
int SprCorpusInfo::idim2 |
Current segmentation index.
double SprCorpusInfo::fshift |
The frame shift to use for converting between discrete and continuous time bases.
const char* SprCorpusInfo::entry_fname |
The entry file name to use if the 1st field of an entry is '-'.
SprDynStr SprCorpusInfo::buf |
Buffer holding the last line read (before and after tokenizing).
char* SprCorpusInfo::field[5] |
pointer to the first 4 fields and the remainder in the buffer buf; NULL when the fields were not present
SprCorpusEntry* SprCorpusInfo::next_segment |
Buffer pointing to first segment of the next segmentation (or NULL if not available).
SprCorpusEntry SprCorpusInfo::entry |
Last returned corpus entry.