CDocumentNormalizer Class Reference

[CADIHash.h Index] [CADIHash.h Hierarchy]


For normalizing weights like in Salton/Buckley we need to now all thefeatures in the query or all the features in a document More...

#include <../libInvertedFile/include/CDocumentNormalizer.h>

Public Members

Protected Members


Detailed Description

For normalizing weights like in Salton/Buckley we need to now all thefeatures in the query or all the features in a document. This base class is supposed to handle both.

For getting additional information (ADI) it needs to know the accessor.


virtual double getValue()

Translating in the end the information into a normalizing value

virtual void considerDocumentFeature(const CDocumentFrequencyElement& inFeature, const CWeightingFunction& inFunction)

Considers a document feature

void considerQueryFeature(const CWeightingFunction& inFeature)

Considers a query feature (calls considerDocumentFeature)


Documentation generated by muellerw@pc7170 on Fre Sep 29 14:43:08 CEST 2000
Kdoc