cppjieba/src/ISegment.hpp
2015-08-11 00:53:06 +08:00

16 lines
262 B
C++

#ifndef CPPJIEBA_ISEGMENT_H
#define CPPJIEBA_ISEGMENT_H
namespace CppJieba {
class ISegment {
public:
virtual ~ISegment() {
}
virtual bool cut(const string& str, vector<string>& res) const = 0;
};
} // namespace CppJieba
#endif // CPPJIEBA_ISEGMENT_H