|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.udo.cs.wvtool.generic.vectorcreation.TFIDF
public class TFIDF
This class represents a mechanism to create TFIDF word vectors. The resulting vectors are normalized.
Constructor Summary | |
---|---|
TFIDF()
|
Method Summary | |
---|---|
WVTWordVector |
createVector(int[] frequencies,
int numTermOccurences,
WVTWordList wordList,
WVTDocumentInfo d)
Create a word vector from term frequencies and a word list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TFIDF()
Method Detail |
---|
public WVTWordVector createVector(int[] frequencies, int numTermOccurences, WVTWordList wordList, WVTDocumentInfo d)
WVTVectorCreator
createVector
in interface WVTVectorCreator
frequencies
- an array containing the frequencies, by which
individual terms occur in the documentwordList
- a pointer to a WVTWordList
d
- the WVTDocumentInfo
value, describing the
document being processed
WVTWordVector
valueWVTVectorCreator.createVector(int[],
int, edu.udo.cs.wvtool.wordlist.WVTWordList,
edu.udo.cs.wvtool.main.WVTDocumentInfo)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |