Method Weight
Weight(Int32, Int32)
Computes term importance, given its in-document statistics.
Declaration
public virtual float Weight(int contentLength, int totalTermFreq)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | contentLength | length of document in characters |
System.Int32 | totalTermFreq | number of time term occurs in document |
Returns
Type | Description |
---|---|
System.Single | term importance |