Class LMJelinekMercerSimilarity
Language model based on the Jelinek-Mercer smoothing method. From Chengxiang Zhai and John Lafferty. 2001. A study of smoothing methods for language models applied to Ad Hoc information retrieval. In Proceedings of the 24th annual international ACM SIGIR conference on Research and development in information retrieval (SIGIR '01). ACM, New York, NY, USA, 334-342.
The model has a single parameter, ?. According to said paper, the
optimal value depends on both the collection and the query. The optimal value
is around 0.1
for title queries and 0.7
for long queries.
@lucene.experimental
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public class LMJelinekMercerSimilarity : LMSimilarity
Constructors
Name | Description |
---|---|
LMJelinekMercerSimilarity(LMSimilarity.ICollectionModel, Single) | Instantiates with the specified |
LMJelinekMercerSimilarity(Single) | Instantiates with the specified ? parameter. |
Properties
Name | Description |
---|---|
Lambda | Returns the ? parameter. |
Methods
Name | Description |
---|---|
Explain(Explanation, BasicStats, Int32, Single, Single) | |
GetName() | |
Score(BasicStats, Single, Single) |