indent and decls
This commit is contained in:
@@ -40,9 +40,7 @@ public:
|
||||
* @param op defines if we remove diacritics, case or both
|
||||
*/
|
||||
SynTermTransUnac(UnacOp op)
|
||||
: m_op(op)
|
||||
{
|
||||
}
|
||||
: m_op(op) { }
|
||||
virtual std::string name() {
|
||||
std::string nm("Unac: ");
|
||||
if (m_op & UNACOP_UNAC)
|
||||
@@ -51,11 +49,11 @@ public:
|
||||
nm += "FOLD ";
|
||||
return nm;
|
||||
}
|
||||
virtual std::string operator()(const std::string& in)
|
||||
{
|
||||
string out;
|
||||
virtual std::string operator()(const std::string& in) {
|
||||
std::string out;
|
||||
unacmaybefold(in, out, "UTF-8", m_op);
|
||||
LOGDEB2("SynTermTransUnac(" << (int(m_op)) << "): in [" << (in) << "] out [" << (out) << "]\n" );
|
||||
LOGDEB2("SynTermTransUnac(" << m_op << "): in [" << in << "] out [" <<
|
||||
out << "]\n");
|
||||
return out;
|
||||
}
|
||||
UnacOp m_op;
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "stoplist.h"
|
||||
#include "smallut.h"
|
||||
#include "utf8iter.h"
|
||||
#include "unacpp.h"
|
||||
|
||||
namespace Rcl {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user