|
a/src/rcldb/stemdb.h |
|
b/src/rcldb/stemdb.h |
|
... |
|
... |
71 |
}
|
71 |
}
|
72 |
virtual ~SynTermTransStem() {}
|
72 |
virtual ~SynTermTransStem() {}
|
73 |
virtual std::string operator()(const std::string& in)
|
73 |
virtual std::string operator()(const std::string& in)
|
74 |
{
|
74 |
{
|
75 |
string out = m_stemmer(in);
|
75 |
string out = m_stemmer(in);
|
76 |
LOGDEB2(("SynTermTransStem(%s): in [%s] out [%s]\n", m_lang.c_str(),
|
76 |
LOGDEB2("SynTermTransStem(" << (m_lang) << "): in [" << (in) << "] out [" << (out) << "]\n" );
|
77 |
in.c_str(), out.c_str()));
|
|
|
78 |
return out;
|
77 |
return out;
|
79 |
}
|
78 |
}
|
80 |
Xapian::Stem m_stemmer;
|
79 |
Xapian::Stem m_stemmer;
|
81 |
std::string m_lang;
|
80 |
std::string m_lang;
|
82 |
};
|
81 |
};
|
|
... |
|
... |
100 |
};
|
99 |
};
|
101 |
|
100 |
|
102 |
}
|
101 |
}
|
103 |
|
102 |
|
104 |
#endif /* _STEMDB_H_INCLUDED_ */
|
103 |
#endif /* _STEMDB_H_INCLUDED_ */
|
|
|
104 |
|