Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

XLQueryTerm Class Reference

#include <XLingRetMethod.hpp>

Inheritance diagram for XLQueryTerm:

QueryTerm List of all members.

Public Methods

 XLQueryTerm (TERMID_T 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.

DictEntryVectorgetTranslations () const

Constructor & Destructor Documentation

XLQueryTerm::XLQueryTerm TERMID_T    tid,
double    wt,
const char *    term,
double    pge,
PDict   dic,
Stemmer   stm = NULL
[inline]
 

XLQueryTerm::XLQueryTerm const char *    term,
PDict   dic,
Stemmer   stm = NULL
[inline]
 

XLQueryTerm::XLQueryTerm const XLQueryTerm &    other [inline]
 

virtual XLQueryTerm::~XLQueryTerm   [inline, virtual]
 


Member Function Documentation

const double XLQueryTerm::getP_s_GE   const [inline]
 

P(s|GE).

const string& XLQueryTerm::getSource   const [inline]
 

accessor for source term

DictEntryVector* XLQueryTerm::getTranslations   const [inline]
 

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.

void XLQueryTerm::incWeight double    wt [inline]
 

update weight for this entry.

virtual XLQueryTerm& XLQueryTerm::operator= const XLQueryTerm &    other [inline, virtual]
 

equality on the source string.

virtual bool XLQueryTerm::operator== const XLQueryTerm &    other const [inline, virtual]
 

equality on the source string.

void XLQueryTerm::setWeight double    wt [inline]
 

update weight for this entry.


The documentation for this class was generated from the following file:
Generated on Wed Nov 3 13:00:02 2004 for Lemur Toolkit by doxygen1.2.18