Method Coord
Coord(Int32, Int32)
Hook to integrate coordinate-level matching.
By default this is disabled (returns 1
), as with
most modern models this will only skew performance, but some
implementations such as TFIDFSimilarity override this.
Declaration
public virtual float Coord(int overlap, int maxOverlap)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | overlap | the number of query terms matched in the document |
System.Int32 | maxOverlap | the total number of terms in the query |
Returns
Type | Description |
---|---|
System.Single | a score factor based on term overlap with the query |