#include "TextCollection.h"
-#include "CSA.h"
+#include "TCImplementation.h"
namespace SXSI
{
/**
- * Init text collection
+ * Init text collection from a file
*
- * See CSA.h for more details.
+ * See TCImplementation.h for more details.
*/
- TextCollection * TextCollection::InitTextCollection(unsigned samplerate)
+ TextCollection * TextCollection::Load(FILE *fp, unsigned samplerate)
{
- TextCollection *result = new CSA(samplerate);
+ TextCollection *result = new TCImplementation(fp, samplerate);
return result;
}
}