anl.aida.algo
Class SVConceptGenerator
java.lang.Object
anl.aida.algo.SVConceptGenerator
- All Implemented Interfaces:
- ConceptGenerator
public class SVConceptGenerator
- extends java.lang.Object
- implements ConceptGenerator
Generates concepts based on Semantic Vector scores.
Field Summary |
private anl.aida.core.ScoredTermsCollection |
stc
|
private anl.aida.sv.SemanticVectorStore |
vecStore
|
Constructor Summary |
SVConceptGenerator(anl.aida.sv.SemanticVectorStore vecStore,
anl.aida.core.ScoredTermsCollection stc)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vecStore
private anl.aida.sv.SemanticVectorStore vecStore
stc
private anl.aida.core.ScoredTermsCollection stc
SVConceptGenerator
public SVConceptGenerator(anl.aida.sv.SemanticVectorStore vecStore,
anl.aida.core.ScoredTermsCollection stc)
generateConcepts
public java.lang.Iterable<ScoredKeyword> generateConcepts(int count)
throws anl.aida.util.AIDAException,
java.io.IOException
- Description copied from interface:
ConceptGenerator
- Generate the specified number of concepts.
- Specified by:
generateConcepts
in interface ConceptGenerator
- Parameters:
count
- the suggested number of concepts to generate.
- Returns:
- the concepts as MIFSTerms
- Throws:
anl.aida.util.AIDAException
- if there is an error during generation
java.io.IOException
- if there is an error during generation