Method CalculateCoefficient
CalculateCoefficient(Int32)
Calculate the weight coefficient based on the position of the first matching word. Subclass should override it to adapt it to particular needs
Declaration
protected virtual double CalculateCoefficient(int position)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | position | of the first matching word in text |
Returns
Type | Description |
---|---|
System.Double | the coefficient |