Constructor PassageScorer
PassageScorer()
Creates PassageScorer with these default values:
k1 = 1.2
b = 0.75
pivot = 87
Declaration
public PassageScorer()
PassageScorer(Single, Single, Single)
Creates PassageScorer with specified scoring parameters
Declaration
public PassageScorer(float k1, float b, float pivot)
Parameters
Type | Name | Description |
---|---|---|
System.Single | k1 | Controls non-linear term frequency normalization (saturation). |
System.Single | b | Controls to what degree passage length normalizes tf values. |
System.Single | pivot | Pivot value for length normalization (some rough idea of average sentence length in characters). |