// Index type defaults to FM-index.
// SWCSA can be used for natural language inputs.
// NB: Current SWCSA uses a lot of memory during construction!
// Index type defaults to FM-index.
// SWCSA can be used for natural language inputs.
// NB: Current SWCSA uses a lot of memory during construction!
static TextCollectionBuilder* create(unsigned samplerate = TEXTCOLLECTION_DEFAULT_SAMPLERATE,
index_type_t type = index_type_default,
static TextCollectionBuilder* create(unsigned samplerate = TEXTCOLLECTION_DEFAULT_SAMPLERATE,
index_type_t type = index_type_default,