mirror of
https://github.com/yanyiwu/cppjieba.git
synced 2025-07-18 00:00:12 +08:00
finishing keywordext.cpp/h
This commit is contained in:
parent
0841b45d67
commit
a1feafe837
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user