finishing keywordext.cpp/h

This commit is contained in:
gwdwyy 2013-07-13 20:58:06 +08:00
parent 0841b45d67
commit a1feafe837
2 changed files with 10 additions and 1 deletions

View File

@ -14,10 +14,16 @@ namespace CppJieba
bool KeyWordExt::init(const char * const filePath) bool KeyWordExt::init(const char * const filePath)
{ {
return true; return _segment.init(filePath);
} }
bool KeyWordExt::destroy() bool KeyWordExt::destroy()
{
_segment.destroy();
return true;
}
bool KeyWordExt::extract(const string& utf8Str)
{ {
return true; return true;
} }

View File

@ -15,6 +15,9 @@ namespace CppJieba
bool init(const char * const filePath); bool init(const char * const filePath);
bool destroy(); bool destroy();
public:
bool extract(const string& utf8Str);
}; };
} }