Switch to unified view

a/src/rcldb/expansiondbs.h b/src/rcldb/expansiondbs.h
...
...
20
#include <string>
20
#include <string>
21
#include <vector>
21
#include <vector>
22
22
23
#include <xapian.h>
23
#include <xapian.h>
24
24
25
/** Specialization and overall creation code for the term expansion mechanism
26
 * defined in synfamily.h
27
 */
25
namespace Rcl {
28
namespace Rcl {
26
29
27
/** A Capitals/Diacritics removal functor for using with
30
/** A Capitals/Diacritics removal functor for using with
28
 *  XapComputableSynFamMember */
31
 * XapComputableSynFamMember. The input term transformation always uses
32
 * UNACFOLD. Post-expansion filtering uses either UNAC or FOLD 
33
 */
29
class SynTermTransUnac : public SynTermTrans {
34
class SynTermTransUnac : public SynTermTrans {
30
public:
35
public:
31
    /** Constructor
36
    /** Constructor
32
     * @param op defines if we remove diacritics, case or both 
37
     * @param op defines if we remove diacritics, case or both 
33
     */
38
     */
...
...
44
    return out;
49
    return out;
45
    }
50
    }
46
    UnacOp m_op;
51
    UnacOp m_op;
47
};
52
};
48
53
49
/** Walk the Xapian term list and create all the expansion dbs in one go.
54
/** Walk the Xapian term list and create all the expansion dbs in one go. */
50
 * 
51
 */
52
extern bool createExpansionDbs(Xapian::WritableDatabase& wdb, 
55
extern bool createExpansionDbs(Xapian::WritableDatabase& wdb, 
53
                   const std::vector<std::string>& langs);
56
                   const std::vector<std::string>& langs);
54
}
57
}
55
58
56
#endif /* _EXPANSIONDBS_H_INCLUDED_ */
59
#endif /* _EXPANSIONDBS_H_INCLUDED_ */