ucot.heuristic
Class AbbottsHeuristic

java.lang.Object
  extended by ucot.heuristic.AbbottsHeuristic
All Implemented Interfaces:
HeuristicInterface

public class AbbottsHeuristic
extends java.lang.Object
implements HeuristicInterface

Abbotts Heuristic is a way to etsimated which parts of the speech are relevant and in which way when doing object analyze.


Field Summary
private  java.util.logging.Logger logger
           
private  java.util.Properties options
           
 
Constructor Summary
AbbottsHeuristic()
           
 
Method Summary
 void doHeuristic(ParsedData data, AnalyzeModel model)
          Performs heuristic on given ParsedData object returns
 java.lang.String getName()
          Returns adapter's name
 java.util.Properties getOptions()
          Returns adapter's options
 void setOptions(java.util.Properties options)
          Sets options for the adapter
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

options

private java.util.Properties options

logger

private java.util.logging.Logger logger
Constructor Detail

AbbottsHeuristic

public AbbottsHeuristic()
Method Detail

doHeuristic

public void doHeuristic(ParsedData data,
                        AnalyzeModel model)
                 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 usecase for the heuristic
model - analyze model where parseddata is added to
Throws:
java.lang.Exception
See Also:
HeuristicInterface.doHeuristic(ucot.parser.ParsedData, ucot.model.AnalyzeModel)

getName

public java.lang.String getName()
Description copied from interface: HeuristicInterface
Returns adapter's name

Specified by:
getName in interface HeuristicInterface
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setOptions

public void setOptions(java.util.Properties options)
Description copied from interface: HeuristicInterface
Sets options for the adapter

Specified by:
setOptions in interface HeuristicInterface
Parameters:
options - options for the adapter

getOptions

public java.util.Properties getOptions()
Description copied from interface: HeuristicInterface
Returns adapter's options

Specified by:
getOptions in interface HeuristicInterface
Returns:
adapter's options