comments
This commit is contained in:
parent
5c295c905f
commit
477eb2e8c1
1 changed files with 7 additions and 4 deletions
|
@ -22,10 +22,15 @@
|
||||||
|
|
||||||
#include <xapian.h>
|
#include <xapian.h>
|
||||||
|
|
||||||
|
/** Specialization and overall creation code for the term expansion mechanism
|
||||||
|
* defined in synfamily.h
|
||||||
|
*/
|
||||||
namespace Rcl {
|
namespace Rcl {
|
||||||
|
|
||||||
/** A Capitals/Diacritics removal functor for using with
|
/** A Capitals/Diacritics removal functor for using with
|
||||||
* XapComputableSynFamMember */
|
* XapComputableSynFamMember. The input term transformation always uses
|
||||||
|
* UNACFOLD. Post-expansion filtering uses either UNAC or FOLD
|
||||||
|
*/
|
||||||
class SynTermTransUnac : public SynTermTrans {
|
class SynTermTransUnac : public SynTermTrans {
|
||||||
public:
|
public:
|
||||||
/** Constructor
|
/** Constructor
|
||||||
|
@ -46,9 +51,7 @@ public:
|
||||||
UnacOp m_op;
|
UnacOp m_op;
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Walk the Xapian term list and create all the expansion dbs in one go.
|
/** Walk the Xapian term list and create all the expansion dbs in one go. */
|
||||||
*
|
|
||||||
*/
|
|
||||||
extern bool createExpansionDbs(Xapian::WritableDatabase& wdb,
|
extern bool createExpansionDbs(Xapian::WritableDatabase& wdb,
|
||||||
const std::vector<std::string>& langs);
|
const std::vector<std::string>& langs);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue