analysis
Class DictionaryAnalysisEngine

java.lang.Object
  extended by analysis.DictionaryAnalysisEngine
All Implemented Interfaces:
AnalysisEngine

public class DictionaryAnalysisEngine
extends java.lang.Object
implements AnalysisEngine

This class does the dictionary analysis of the text on the page. At this point just does a basic matching scheme on text vs dictionary term.


Constructor Summary
DictionaryAnalysisEngine()
           
 
Method Summary
 AnalysisResult analyzePage(AnalysisResult thisResult)
          Does the analysis of the Page
 java.util.ArrayList<DataType> dataTypesNeeded()
          Returns the DataType this AnalysisEngine needs to run This will ensure the ExtractionEngine that extracts this DataType will be run before the analysis is performed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DictionaryAnalysisEngine

public DictionaryAnalysisEngine()
Method Detail

analyzePage

public AnalysisResult analyzePage(AnalysisResult thisResult)
Does the analysis of the Page

Specified by:
analyzePage in interface AnalysisEngine
Parameters:
thisResult - - The AnalysisResult object containing the Page object to be analyzed, the AnalysisMethod being used (should be this method), and the textData extracted by the TextExtractionEngine.
Returns:
- The AnalysisResult populated with an analysisScore.

dataTypesNeeded

public java.util.ArrayList<DataType> dataTypesNeeded()
Returns the DataType this AnalysisEngine needs to run This will ensure the ExtractionEngine that extracts this DataType will be run before the analysis is performed. Theoretically an AnalysisEngine could require any number of DataTypes.

Specified by:
dataTypesNeeded in interface AnalysisEngine
Returns:
- Returns an ArrayList of DataTypes