projects
/
SXSI
/
TextCollection.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added index_mode flag
[SXSI/TextCollection.git]
/
TextCollection.cpp
diff --git
a/TextCollection.cpp
b/TextCollection.cpp
index
0300899
..
2aef067
100644
(file)
--- a/
TextCollection.cpp
+++ b/
TextCollection.cpp
@@
-1,16
+1,17
@@
#include "TextCollection.h"
#include "TextCollection.h"
-#include "
CSA
.h"
+#include "
TCImplementation
.h"
namespace SXSI
{
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, index_mode_t im,
unsigned samplerate)
{
{
- TextCollection *result = new
CSA(
samplerate);
+ TextCollection *result = new
TCImplementation(fp, im,
samplerate);
return result;
}
}
return result;
}
}