ModErn Text Analysis
META Enumerates Textual Applications
libsvm_analyzer.h
Go to the documentation of this file.
1 
10 #ifndef META_LIBSVM_ANALYZER_
11 #define META_LIBSVM_ANALYZER_
12 
13 #include "analyzers/analyzer.h"
14 #include "util/clonable.h"
15 
16 namespace meta
17 {
18 namespace analyzers
19 {
20 
26 class libsvm_analyzer : public util::clonable<analyzer, libsvm_analyzer>
27 {
28  public:
33  virtual void tokenize(corpus::document& doc) override;
34 
36  const static std::string id;
37 };
38 }
39 }
40 
41 #endif
static const std::string id
Identifier for this analyzer.
Definition: libsvm_analyzer.h:36
Template class to facilitate polymorphic cloning.
Definition: clonable.h:28
Represents an indexable document.
Definition: document.h:31
virtual void tokenize(corpus::document &doc) override
Tokenizes a file into a document.
Definition: libsvm_analyzer.cpp:19
The ModErn Text Analysis toolkit is a suite of natural language processing, classification, information retreival, data mining, and other applications of text processing.
Definition: analyzer.h:24
libsvm_analyzer tokenizes documents that have been created from a line_corpus, where each line is in ...
Definition: libsvm_analyzer.h:26