SHOGUN
v3.0.0
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
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
Machine Learning Toolbox - Documentation