Interface LMSimilarity.ICollectionModel
A strategy for computing the collection language model.
Namespace: Lucene.Net.Search.Similarities
Assembly: Lucene.Net.dll
Syntax
public interface ICollectionModel
Methods
| Improve this Doc View SourceComputeProbability(BasicStats)
Computes the probability p(w|C) according to the language model
strategy for the current term.
Declaration
float ComputeProbability(BasicStats stats)
Parameters
| Type | Name | Description |
|---|---|---|
| BasicStats | stats |
Returns
| Type | Description |
|---|---|
| System.Single |
GetName()
The name of the collection model strategy.
Declaration
string GetName()
Returns
| Type | Description |
|---|---|
| System.String |