| 
 | Terrier IR Platform 2.2.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.gla.terrier.matching.Matching
uk.ac.gla.terrier.matching.LMMatching
public class LMMatching
Performs the matching of documents for language modelling with a query, by assigning scores to documents for each query in the lexicon according to the term's occurrences in the document and in the query.
| Constructor Summary | |
|---|---|
| LMMatching(Index index)Default constructor. | |
| Method Summary | |
|---|---|
|  java.lang.String | getInfo()Returns a descriptive string for the retrieval process performed. | 
|  void | match(java.lang.String queryNumber,
      MatchingQueryTerms queryTerms)Implements the matching of a query with the documents. | 
|  void | setModel(Model model)Sets the language model used for retrieval. | 
| Methods inherited from class uk.ac.gla.terrier.matching.Matching | 
|---|
| addDocumentScoreModifier, addTermScoreModifier, getDocumentScoreModifier, getResultSet, getTermScoreModifier | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public LMMatching(Index index)
index - Index for retrieval.| Method Detail | 
|---|
public void match(java.lang.String queryNumber,
                  MatchingQueryTerms queryTerms)
match in class MatchingqueryNumber - the identifier of the processed query.queryTerms - the query terms to be processed.public void setModel(Model model)
setModel in class Matchingmodel - the language model used for retrievalpublic java.lang.String getInfo()
getInfo in class Matching| 
 | Terrier IR Platform 2.2.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||