anl.aida.core
Interface KeywordGenerator

All Known Implementing Classes:
SVKeywordGenerator

public interface KeywordGenerator

Date: Feb 9, 2009 9:55:50 AM


Method Summary
 HighestTermScores generate(float[] vector, int count)
          Generates the specified number of keywords that are most similar to the specified vector.
 HighestTermScores generate(java.lang.String docPath, int count)
          Generates and returns the specified number of keywords for the document identified by the specified path.
 

Method Detail

generate

HighestTermScores generate(java.lang.String docPath,
                           int count)
                           throws AIDAException
Generates and returns the specified number of keywords for the document identified by the specified path.

Parameters:
docPath - the path of the document to generate words for
count - the number of keywords to generate
Returns:
the collection of HighestTermScores
Throws:
AIDAException - if there is an error generating the keywords

generate

HighestTermScores generate(float[] vector,
                           int count)
Generates the specified number of keywords that are most similar to the specified vector.

Parameters:
vector - the vector to search against
count - the number of terms to return
Returns:
the found keywords.