X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=TextCollection.cpp;fp=TextCollection.cpp;h=abc6f912c9a2f52ddb64f8c98a40ffa6c9143de9;hb=13e254b7c0ee22dffbc7c3125cee0408f9b375da;hp=1755b6bf24e98be2f92c2e62e4b5a9765a4babb4;hpb=e4b6bdc7cc2a1372e4d4dae50acac55cebcc7e9b;p=SXSI%2FTextCollection.git diff --git a/TextCollection.cpp b/TextCollection.cpp index 1755b6b..abc6f91 100644 --- a/TextCollection.cpp +++ b/TextCollection.cpp @@ -1,6 +1,7 @@ #include "TextCollection.h" #include "FMIndex.h" #include "SWCSAWrapper.h" +#include "RLCSAWrapper.h" namespace SXSI { @@ -23,6 +24,9 @@ namespace SXSI case 'W': return new SWCSAWrapper(fp, filename); break; + case 'R': + return new RLCSAWrapper(fp, filename); + break; } std::cerr << "TextCollection::Load(): invalid save file version or corrupted input file." << std::endl;