ucot.heuristic
Class AbbottsHeuristic
java.lang.Object
ucot.ModuleProperties
ucot.heuristic.AbbottsHeuristic
- All Implemented Interfaces:
- HeuristicInterface, ModulePropertyInterface
public class AbbottsHeuristic
- extends ModuleProperties
- implements HeuristicInterface
Abbott's Heuristic is a way to etsimate which
parts of the speech are relevant and in which
way when doing object analyze.
- Author:
- UCOT
Field Summary |
private java.util.logging.Logger |
logger
|
static java.lang.String |
name
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
name
public static final java.lang.String name
- See Also:
- Constant Field Values
logger
private java.util.logging.Logger logger
AbbottsHeuristic
public AbbottsHeuristic()
doHeuristic
public void doHeuristic(ParsedData data,
AnalyzeModel analyzeModel)
throws java.lang.Exception
- Description copied from interface:
HeuristicInterface
- Performs heuristic on given ParsedData object returns.
- Specified by:
doHeuristic
in interface HeuristicInterface
- Parameters:
data
- Parsed Use case for the heuristic.analyzeModel
- Analyze model where parsed data is added to.
- Throws:
java.lang.Exception
getName
public java.lang.String getName()
- Description copied from interface:
HeuristicInterface
- Returns adapter's name.
- Specified by:
getName
in interface HeuristicInterface
- Returns:
- Adapter's name.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
loadDefaultProperties
public java.util.Properties loadDefaultProperties()
- Description copied from interface:
ModulePropertyInterface
- Method which returns the factory default properties
for the module.
- Specified by:
loadDefaultProperties
in interface ModulePropertyInterface
- Overrides:
loadDefaultProperties
in class ModuleProperties
- Returns:
- Default properties.
- See Also:
ModulePropertyInterface.loadDefaultProperties()
applyProperties
public void applyProperties()
throws BadPropertyValueException
- Description copied from interface:
ModulePropertyInterface
- Applies current properties for the module.
- Specified by:
applyProperties
in interface ModulePropertyInterface
- Overrides:
applyProperties
in class ModuleProperties
- Throws:
BadPropertyValueException
- In this case exception
is thrown only if either the given parser or heuristic
does not exist.- See Also:
ModulePropertyInterface.applyProperties()