11 #ifndef _CDECOMPRESS_STRING__H__
12 #define _CDECOMPRESS_STRING__H__
24 template <
class ST>
class CStringFeatures;
71 virtual const char*
get_name()
const {
return "DecompressString"; }
virtual bool init(CFeatures *f)
initialize preprocessor from features
virtual ST * apply_to_string(ST *f, int32_t &len)
apply preproc on single feature vector
bool load(FILE *f)
initialize preprocessor from file
Compression library for compressing and decompressing buffers using one of the standard compression a...
bool save(FILE *f)
save preprocessor init-data to file
Template class StringPreprocessor, base class for preprocessors (cf. CPreprocessor) that apply to CSt...
virtual bool apply_to_string_features(CFeatures *f)
all of classes and functions are contained in the shogun namespace
virtual const char * get_name() const
The class Features is the base class of all feature objects.
virtual void cleanup()
cleanup
virtual ~CDecompressString()
Preprocessor that decompresses compressed strings.
virtual EPreprocessorType get_type() const
return a type of preprocessor TODO: template specification of get_type