#include <XLingRetMethod.hpp>
Inheritance diagram for lemur::retrieval::XLingQueryModel:
Public Member Functions | |
XLingQueryModel (const lemur::api::TermQuery &qry, const lemur::api::Index &source, bool dbS, double numSource, lemur::dictionary::PDict &dict, const lemur::api::Stopper *stp=NULL, lemur::api::Stemmer *stm=NULL) | |
construct a query model based on query text in the source language. | |
virtual | ~XLingQueryModel () |
virtual void | startIteration () const |
Begin iteration over the XLQueryTerms. | |
virtual bool | hasMore () const |
Does the query have more terms? | |
virtual XLQueryTerm & | nextTerm () const |
Get next XLQueryTerm from the query. | |
virtual int | getNumTerms () const |
Private Attributes | |
vector< XLQueryTerm > | qTerms |
vector< XLQueryTerm >::iterator | iter |
int | numTerms |
|
construct a query model based on query text in the source language.
|
|
|
|
|
|
Does the query have more terms?
|
|
Get next XLQueryTerm from the query.
|
|
Begin iteration over the XLQueryTerms.
|
|
|
|
|
|
|