Class PreProcessingStrategy.GenericGeneralPreProcessingStrategy
- java.lang.Object
-
- uk.ac.warwick.dcs.sherlock.api.model.preprocessing.PreProcessingStrategy.GenericGeneralPreProcessingStrategy
-
- All Implemented Interfaces:
PreProcessingStrategy
- Enclosing interface:
- PreProcessingStrategy
public static class PreProcessingStrategy.GenericGeneralPreProcessingStrategy extends java.lang.Object implements PreProcessingStrategy
Generic implementation of the PreProcessingStrategy interface
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface uk.ac.warwick.dcs.sherlock.api.model.preprocessing.PreProcessingStrategy
PreProcessingStrategy.GenericAdvancedPreProcessingStrategy, PreProcessingStrategy.GenericGeneralPreProcessingStrategy
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Fetches the reference identifier for the strategyjava.util.List<java.lang.Class<? extends IPreProcessor>>getPreProcessorClasses()Fetches the ordered preprocessor classes in a list, to be run in order
If using an advanced preprocessor, this must return a singleton list (list with 1 element)booleanisAdvanced()Is the strategy using an IAdvancedPreProcessor instance?booleanisResultTokenised()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface uk.ac.warwick.dcs.sherlock.api.model.preprocessing.PreProcessingStrategy
getStringifier
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:PreProcessingStrategyFetches the reference identifier for the strategy- Specified by:
getNamein interfacePreProcessingStrategy- Returns:
- identifier string
-
getPreProcessorClasses
public java.util.List<java.lang.Class<? extends IPreProcessor>> getPreProcessorClasses()
Description copied from interface:PreProcessingStrategyFetches the ordered preprocessor classes in a list, to be run in order
If using an advanced preprocessor, this must return a singleton list (list with 1 element)- Specified by:
getPreProcessorClassesin interfacePreProcessingStrategy- Returns:
- ordered PreProcessor class(es)
-
isAdvanced
public boolean isAdvanced()
Description copied from interface:PreProcessingStrategyIs the strategy using an IAdvancedPreProcessor instance?- Specified by:
isAdvancedin interfacePreProcessingStrategy- Returns:
- boolean is advanced
-
isResultTokenised
public boolean isResultTokenised()
-
-