|
a/src/query/wasatorcl.cpp |
|
b/src/query/wasatorcl.cpp |
|
... |
|
... |
30 |
#include "smallut.h"
|
30 |
#include "smallut.h"
|
31 |
#include "rclconfig.h"
|
31 |
#include "rclconfig.h"
|
32 |
#include "refcntr.h"
|
32 |
#include "refcntr.h"
|
33 |
#include "textsplit.h"
|
33 |
#include "textsplit.h"
|
34 |
|
34 |
|
35 |
static Rcl::SearchData *wasaQueryToRcl(RclConfig *config,
|
35 |
static Rcl::SearchData *wasaQueryToRcl(const RclConfig *config,
|
36 |
const string& stemlang,
|
36 |
const string& stemlang,
|
37 |
WasaQuery *wasa,
|
37 |
WasaQuery *wasa,
|
38 |
const string& autosuffs, string& reason)
|
38 |
const string& autosuffs, string& reason)
|
39 |
{
|
39 |
{
|
40 |
if (wasa == 0) {
|
40 |
if (wasa == 0) {
|
|
... |
|
... |
279 |
}
|
279 |
}
|
280 |
|
280 |
|
281 |
return sdata;
|
281 |
return sdata;
|
282 |
}
|
282 |
}
|
283 |
|
283 |
|
284 |
Rcl::SearchData *wasaStringToRcl(RclConfig *config, const string& stemlang,
|
284 |
Rcl::SearchData *wasaStringToRcl(const RclConfig *config, const string& stemlang,
|
285 |
const string &qs, string &reason,
|
285 |
const string &qs, string &reason,
|
286 |
const string& autosuffs)
|
286 |
const string& autosuffs)
|
287 |
{
|
287 |
{
|
288 |
StringToWasaQuery parser;
|
288 |
StringToWasaQuery parser;
|
289 |
WasaQuery *wq = parser.stringToQuery(qs, reason);
|
289 |
WasaQuery *wq = parser.stringToQuery(qs, reason);
|