#include <XLingRetMethod.hpp>
Inheritance diagram for XLQueryTerm:

Public Methods | |
| XLQueryTerm (int tid, double wt, const char *term, double pge, PDict &dic, Stemmer *stm=NULL) | |
| XLQueryTerm (const char *term, PDict &dic, Stemmer *stm=NULL) | |
| XLQueryTerm (const XLQueryTerm &other) | |
| virtual | ~XLQueryTerm () |
| const string & | getSource () const |
| accessor for source term | |
| const double | getP_s_GE () const |
| P(s|GE). | |
| void | setWeight (double wt) |
| update weight for this entry. | |
| void | incWeight (double wt) |
| update weight for this entry. | |
| virtual bool | operator== (const XLQueryTerm &other) const |
| equality on the source string. | |
| virtual XLQueryTerm & | operator= (const XLQueryTerm &other) |
| equality on the source string. | |
| DictEntryVector * | getTranslations () const |
|
||||||||||||||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
P(s|GE).
|
|
|
accessor for source term
|
|
|
get translations for source term. optionally stems, put others here (transliteration). caller deletes if stemmer is not null and not xlates found, stem and try again. |
|
|
update weight for this entry.
|
|
|
equality on the source string.
|
|
|
equality on the source string.
|
|
|
update weight for this entry.
|
1.2.18