SHOGUN
v3.2.0
|
00001 #include <shogun/lib/Tokenizer.h> 00002 #include <shogun/base/Parameter.h> 00003 00004 namespace shogun 00005 { 00006 00007 CTokenizer::CTokenizer() : CSGObject() 00008 { 00009 init(); 00010 } 00011 00012 CTokenizer::CTokenizer(const CTokenizer& orig) : CSGObject(orig) 00013 { 00014 text = orig.text; 00015 } 00016 00017 void CTokenizer::set_text(SGVector<char> txt) 00018 { 00019 text = txt; 00020 } 00021 00022 void CTokenizer::init() 00023 { 00024 SG_ADD(&text, "text", "The text", MS_NOT_AVAILABLE) 00025 } 00026 }