wvtool
Class MyTFIDF

java.lang.Object
  extended by wvtool.MyTFIDF
All Implemented Interfaces:
edu.udo.cs.wvtool.generic.vectorcreation.WVTVectorCreator

public class MyTFIDF
extends java.lang.Object
implements edu.udo.cs.wvtool.generic.vectorcreation.WVTVectorCreator

Esta clase permite variar la funcion de calculo del vector de pesos.

Inicialmente esta implementacion calcula la funcion TF-IDF original.


Constructor Summary
MyTFIDF()
           
 
Method Summary
 edu.udo.cs.wvtool.main.WVTWordVector createVector(int[] frequencies, int numTermOccurences, edu.udo.cs.wvtool.wordlist.WVTWordList wordList, edu.udo.cs.wvtool.main.WVTDocumentInfo d)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyTFIDF

public MyTFIDF()
Method Detail

createVector

public edu.udo.cs.wvtool.main.WVTWordVector createVector(int[] frequencies,
                                                         int numTermOccurences,
                                                         edu.udo.cs.wvtool.wordlist.WVTWordList wordList,
                                                         edu.udo.cs.wvtool.main.WVTDocumentInfo d)
Specified by:
createVector in interface edu.udo.cs.wvtool.generic.vectorcreation.WVTVectorCreator