C# Class QACExperimenter.Data.IndexCore.TermWeightIndex

Maintains an index of term weights.
Afficher le fichier Open project: stewhir/recent-robust-qac

Méthodes publiques

Méthode 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 méthode

Add term weight
public AddTermWeight ( string term, double weight ) : void
term string
weight double
Résultat void

GetTermWeight() public méthode

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

SubtractTermWeight() public méthode

Subtract term weight
public SubtractTermWeight ( string term, double weight ) : void
term string
weight double
Résultat void

TermWeightIndex() public méthode

public TermWeightIndex ( ) : System
Résultat System