mirror of
https://github.com/yanyiwu/cppjieba.git
synced 2025-07-18 00:00:12 +08:00
ci for save
This commit is contained in:
parent
f79ce99a55
commit
2728d8311e
@ -6,8 +6,8 @@ namespace CppJieba
|
|||||||
{
|
{
|
||||||
class ISegment
|
class ISegment
|
||||||
{
|
{
|
||||||
//public:
|
public:
|
||||||
// virtual ~ISegment(){};
|
virtual ~ISegment(){};
|
||||||
public:
|
public:
|
||||||
virtual bool cut(Unicode::const_iterator begin , Unicode::const_iterator end, vector<string>& res) const = 0;
|
virtual bool cut(Unicode::const_iterator begin , Unicode::const_iterator end, vector<string>& res) const = 0;
|
||||||
virtual bool cut(const string& str, vector<string>& res) const = 0;
|
virtual bool cut(const string& str, vector<string>& res) const = 0;
|
||||||
|
@ -57,6 +57,7 @@ namespace CppJieba
|
|||||||
//{
|
//{
|
||||||
// return SegmentBase::cut(str, res);
|
// return SegmentBase::cut(str, res);
|
||||||
//}
|
//}
|
||||||
|
using SegmentBase::cut;
|
||||||
bool cut(Unicode::const_iterator begin, Unicode::const_iterator end, vector<string>& res)const
|
bool cut(Unicode::const_iterator begin, Unicode::const_iterator end, vector<string>& res)const
|
||||||
{
|
{
|
||||||
if(!_getInitFlag())
|
if(!_getInitFlag())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user