SHOGUN
4.2.0
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
src
shogun
lib
Tokenizer.cpp
Go to the documentation of this file.
1
#include <
shogun/lib/Tokenizer.h
>
2
#include <
shogun/base/Parameter.h
>
3
4
namespace
shogun
5
{
6
7
CTokenizer::CTokenizer
() :
CSGObject
()
8
{
9
init();
10
}
11
12
CTokenizer::CTokenizer
(
const
CTokenizer
& orig) :
CSGObject
(orig)
13
{
14
text
= orig.
text
;
15
}
16
17
void
CTokenizer::set_text
(
SGVector<char>
txt)
18
{
19
text
= txt;
20
}
21
22
void
CTokenizer::init()
23
{
24
SG_ADD
(&
text
,
"text"
,
"The text"
,
MS_NOT_AVAILABLE
)
25
}
26
}
shogun::CTokenizer::set_text
virtual void set_text(SGVector< char > txt)
Definition:
Tokenizer.cpp:17
Parameter.h
shogun::MS_NOT_AVAILABLE
Definition:
SGObject.h:92
shogun::CTokenizer::text
SGVector< char > text
Definition:
Tokenizer.h:73
shogun::CSGObject
Class SGObject is the base class of all shogun objects.
Definition:
SGObject.h:115
shogun::SGVector< char >
shogun::CTokenizer
The class CTokenizer acts as a base class in order to implement tokenizers. Sub-classes must implemen...
Definition:
Tokenizer.h:29
Tokenizer.h
shogun::CTokenizer::CTokenizer
CTokenizer()
Definition:
Tokenizer.cpp:7
shogun
all of classes and functions are contained in the shogun namespace
Definition:
class_list.h:18
SG_ADD
#define SG_ADD(...)
Definition:
SGObject.h:84
SHOGUN
Machine Learning Toolbox - Documentation