Method Score
Score(BasicStats, Single, Single)
Scores the document doc
.
Subclasses must apply their scoring formula in this class.
Declaration
public abstract float Score(BasicStats stats, float freq, float docLen)
Parameters
Type | Name | Description |
---|---|---|
BasicStats | stats | the corpus level statistics. |
System.Single | freq | the term frequency. |
System.Single | docLen | the document length. |
Returns
Type | Description |
---|---|
System.Single | the score. |