Structure for a corpus: essentially a set of strings each associated with a unique ID. Structure for a corpus: essentially a set of strings each associated with a unique ID. (Such as a reference sentence file, hypothesis file, and various control files.) NOTE: IDs are CASE-SENSITIVE. More...
#include <corpus.h>
Public Attributes | |
hash_table_t * | ht |
int32 | n |
char ** | str |
Structure for a corpus: essentially a set of strings each associated with a unique ID. Structure for a corpus: essentially a set of strings each associated with a unique ID. (Such as a reference sentence file, hypothesis file, and various control files.) NOTE: IDs are CASE-SENSITIVE.
hash_table_t* corpus_t::ht |
Hash table for IDs; CASE-SENSITIVE
int32 corpus_t::n |
#IDs (and corresponding argument strings) in the corpus
char** corpus_t::str |
The argument strings