#include <XLingRetMethod.hpp>
Inheritance diagram for lemur::retrieval::XLQueryTerm:
Public Member Functions | |
XLQueryTerm (lemur::api::TERMID_T tid, double wt, const char *term, double pge, lemur::dictionary::PDict &dic, lemur::api::Stemmer *stm=NULL) | |
XLQueryTerm (const char *term, lemur::dictionary::PDict &dic, lemur::api::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. | |
lemur::dictionary::DictEntryVector * | getTranslations () const |
Private Attributes | |
string | source |
double | p_s_ge |
lemur::dictionary::PDict & | dict |
lemur::api::Stemmer * | stemmer |
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|