ModErn Text Analysis
META Enumerates Textual Applications
Public Member Functions | Static Public Attributes | List of all members
meta::analyzers::libsvm_analyzer Class Reference

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>

Inheritance diagram for meta::analyzers::libsvm_analyzer:
meta::util::multilevel_clonable< Root, Base, Derived >

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.
 

Detailed Description

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.

Member Function Documentation

void meta::analyzers::libsvm_analyzer::tokenize ( corpus::document doc)
overridevirtual

Tokenizes a file into a document.

Parameters
docThe document to store the tokenized information in

The documentation for this class was generated from the following files: