|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.mff.ksi.jinfer.twostep.TwoStepSimplifierFactory
public class TwoStepSimplifierFactory
TwoStepSimplifier is modular, extensible implementation.
Factory class for the worker TwoStepSimplifier
.
Field Summary | |
---|---|
static String |
DISPLAY_NAME
Name displayed to user in properties panels. |
static String |
NAME
Name of the module in constant, for use in classes in this module. |
static String |
PROPERTIES_CLEANER
Property name of regular expression cleaner submodule. |
static String |
PROPERTIES_CLEANER_DEFAULT
Default cleaner to be used if none selected. |
static String |
PROPERTIES_CLUSTER_PROCESSOR
Property name of cluster processor submodule. |
static String |
PROPERTIES_CLUSTER_PROCESSOR_DEFAULT
Default cluster processor to be used if none selected. |
static String |
PROPERTIES_CLUSTERER
Property name of clusterer submodule. |
static String |
PROPERTIES_CLUSTERER_DEFAULT
Default clusterer to be used if none selected. |
static String |
PROPERTIES_CONTENT_INFERRER
Property name of content inferrer submodule. |
static String |
PROPERTIES_CONTENT_INFERRER_DEFAULT
Default content inferrer to be used if none selected. |
Constructor Summary | |
---|---|
TwoStepSimplifierFactory()
|
Method Summary | |
---|---|
List<String> |
getCapabilities()
Returns the list of capabilities (strings) of this module. |
String |
getDisplayName()
Returns a user friendly name of the module. |
String |
getModuleDescription()
Returns the information about this module's inner workings. |
String |
getName()
Canonical name |
void |
start(List<Element> initialGrammar,
SimplifierCallback callback)
Start the grammar simplification process. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NAME
public static final String DISPLAY_NAME
public static final String PROPERTIES_CLUSTERER
public static final String PROPERTIES_CLUSTERER_DEFAULT
public static final String PROPERTIES_CLUSTER_PROCESSOR
public static final String PROPERTIES_CLUSTER_PROCESSOR_DEFAULT
public static final String PROPERTIES_CLEANER
public static final String PROPERTIES_CLEANER_DEFAULT
public static final String PROPERTIES_CONTENT_INFERRER
public static final String PROPERTIES_CONTENT_INFERRER_DEFAULT
Constructor Detail |
---|
public TwoStepSimplifierFactory()
Method Detail |
---|
public String getName()
getName
in interface NamedModule
public String getModuleDescription()
NamedModule
NamedModule.getDisplayName()
, but if the
module for example consists of more sub-modules, their names should be
listed here.
getModuleDescription
in interface NamedModule
public List<String> getCapabilities()
Capabilities
getCapabilities
in interface Capabilities
public void start(List<Element> initialGrammar, SimplifierCallback callback) throws InterruptedException
Simplifier
start
in interface Simplifier
initialGrammar
- Initial Grammar to be simplified.callback
- A callback object. When the initial grammar is simplified,
the resulting list of rules must be sent to the last stage by calling
the finished()
method of this object.
InterruptedException
public String getDisplayName()
NamedModule
getDisplayName
in interface NamedModule
|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |