Class KeywordExtraction
- java.lang.Object
-
- com.gengoai.hermes.workflow.actions.KeywordExtraction
-
- All Implemented Interfaces:
Action
,Serializable
public class KeywordExtraction extends Object implements Action
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KeywordExtraction()
KeywordExtraction(@NonNull KeywordExtractor extractor, int n, boolean keepGlobalCounts)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Counter<String>
getKeywords(@NonNull Context context)
DocumentCollection
process(DocumentCollection corpus, Context context)
Process corpus.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.gengoai.hermes.workflow.Action
getOverrideStatus, loadPreviousState
-
-
-
-
Constructor Detail
-
KeywordExtraction
public KeywordExtraction(@NonNull @NonNull KeywordExtractor extractor, int n, boolean keepGlobalCounts)
-
KeywordExtraction
public KeywordExtraction()
-
-
Method Detail
-
process
public DocumentCollection process(DocumentCollection corpus, Context context) throws Exception
Description copied from interface:Action
Process corpus.
-
-