|
a/src/common/syngroups.h |
|
b/src/common/syngroups.h |
|
... |
|
... |
24 |
// Manage synonym groups. This is very different from stemming and
|
24 |
// Manage synonym groups. This is very different from stemming and
|
25 |
// case/diac expansion because there is no reference form: all terms
|
25 |
// case/diac expansion because there is no reference form: all terms
|
26 |
// in a group are equivalent.
|
26 |
// in a group are equivalent.
|
27 |
class SynGroups {
|
27 |
class SynGroups {
|
28 |
public:
|
28 |
public:
|
29 |
SynGroups(const std::string& fname);
|
29 |
SynGroups();
|
30 |
~SynGroups();
|
30 |
~SynGroups();
|
|
|
31 |
bool setfile(const std::string& fname);
|
31 |
std::vector<std::string> getgroup(const std::string& term);
|
32 |
std::vector<std::string> getgroup(const std::string& term);
|
32 |
bool ok();
|
33 |
bool ok();
|
33 |
private:
|
34 |
private:
|
34 |
class Internal;
|
35 |
class Internal;
|
35 |
Internal *m;
|
36 |
Internal *m;
|