10 #include <Poco/StringTokenizer.h>
104 MeCab::Tagger* _tagger;
105 std::map<std::string, POSMask> _toPOS;
106 std::map<std::string, WORD_TYPE> _toWordType;
111 inline bool isTokenValid(
const Poco::StringTokenizer& token )
const {
return ( token.count() > 7 ); }
112 inline WORD_TYPE getWordType(
const std::string& pos) {
return _toWordType[pos];}