22 lines
365 B
C++
22 lines
365 B
C++
#pragma once
|
|
|
|
#include "SegmentBase.hpp"
|
|
|
|
namespace cppjieba {
|
|
|
|
class SegmentTagged : public SegmentBase {
|
|
public:
|
|
SegmentTagged() {
|
|
}
|
|
virtual ~SegmentTagged() {
|
|
}
|
|
|
|
virtual bool Tag(const string& src, vector<pair<string, string> >& res) const = 0;
|
|
|
|
virtual const DictTrie* GetDictTrie() const = 0;
|
|
|
|
}; // class SegmentTagged
|
|
|
|
} // cppjieba
|
|
|