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.String
getName()
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)boolean
isAdvanced()
Is the strategy using an IAdvancedPreProcessor instance?boolean
isResultTokenised()
-
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:PreProcessingStrategy
Fetches the reference identifier for the strategy- Specified by:
getName
in interfacePreProcessingStrategy
- Returns:
- identifier string
-
getPreProcessorClasses
public java.util.List<java.lang.Class<? extends IPreProcessor>> getPreProcessorClasses()
Description copied from interface:PreProcessingStrategy
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)- Specified by:
getPreProcessorClasses
in interfacePreProcessingStrategy
- Returns:
- ordered PreProcessor class(es)
-
isAdvanced
public boolean isAdvanced()
Description copied from interface:PreProcessingStrategy
Is the strategy using an IAdvancedPreProcessor instance?- Specified by:
isAdvanced
in interfacePreProcessingStrategy
- Returns:
- boolean is advanced
-
isResultTokenised
public boolean isResultTokenised()
-
-