ModErn Text Analysis
META Enumerates Textual Applications
|
libsvm_analyzer tokenizes documents that have been created from a line_corpus, where each line is in libsvm input format and stored in the document's content field. More...
#include <libsvm_analyzer.h>
Public Member Functions | |
virtual void | tokenize (corpus::document &doc) override |
Tokenizes a file into a document. More... | |
Public Member Functions inherited from meta::util::multilevel_clonable< Root, Base, Derived > | |
virtual std::unique_ptr< Root > | clone () const |
Clones the given object. More... | |
Static Public Attributes | |
static const std::string | id = "libsvm" |
Identifier for this analyzer. | |
libsvm_analyzer tokenizes documents that have been created from a line_corpus, where each line is in libsvm input format and stored in the document's content field.
|
overridevirtual |
Tokenizes a file into a document.
doc | The document to store the tokenized information in |