C# Class QACExperimenter.Data.IndexCore.TermWeightIndex

Maintains an index of term weights.
Datei anzeigen Open project: stewhir/recent-robust-qac

Public Methods

Method Description
AddTermWeight ( string term, double weight ) : void

Add term weight

GetTermWeight ( string term ) : double

Get the term weight, returns 0 if none

SubtractTermWeight ( string term, double weight ) : void

Subtract term weight

TermWeightIndex ( ) : System

Method Details

AddTermWeight() public method

Add term weight
public AddTermWeight ( string term, double weight ) : void
term string
weight double
return void

GetTermWeight() public method

Get the term weight, returns 0 if none
public GetTermWeight ( string term ) : double
term string
return double

SubtractTermWeight() public method

Subtract term weight
public SubtractTermWeight ( string term, double weight ) : void
term string
weight double
return void

TermWeightIndex() public method

public TermWeightIndex ( ) : System
return System