edu.udo.cs.wvtool.generic.vectorcreation
Interface WVTVectorCreator
- All Known Implementing Classes:
- BinaryOccurrences, TermFrequency, TermOccurrences, TFIDF
public interface WVTVectorCreator
This interface represents a mechanism by which an individual word vector is
created.
- Version:
- $Id: WVTVectorCreator.java,v 1.2 2006/06/06 11:45:23 mjwurst Exp $
- Author:
- Michael Wurst
createVector
WVTWordVector createVector(int[] frequencies,
int numTermOccurences,
WVTWordList wordList,
WVTDocumentInfo d)
throws WVToolException
- Create a word vector from term frequencies and a word list.
- Parameters:
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
- Returns:
- a
WVTWordVector
value
- Throws:
java.lang.Exception
- if an error occurs
WVToolException