public class SimpleTermExtractor extends Object
| Constructor and Description |
|---|
SimpleTermExtractor() |
| Modifier and Type | Method and Description |
|---|---|
void |
completeExtraction()
Performs the post-processing clean-up.
|
Map<String,Integer> |
getTerms()
Gets the list of term candidates.
|
void |
initialize(Parameters params,
LocaleId sourceLocaleId,
String rootDir,
String inputRootDir)
Initializes this extractor.
|
void |
processTextUnit(ITextUnit tu)
Processes a text unit for term extraction.
|
public void initialize(Parameters params, LocaleId sourceLocaleId, String rootDir, String inputRootDir)
params - the options to use.sourceLocaleId - the source locale.rootDir - the value to use for the ${rootDir} variable (can be null).inputRootDir - the value to use for the ${inputRootDir} variable (can be null).public void processTextUnit(ITextUnit tu)
tu - the text unit to process.public void completeExtraction()
Copyright © 2021. All rights reserved.