Package | Description |
---|---|
cz.cuni.mff.corrector.corrector |
Implementations of correction algorithms.
|
Modifier and Type | Method and Description |
---|---|
Corrector.SignatureHandling |
Corrector.getSignatureHandling()
Returns the selected signature handling mode.
|
static Corrector.SignatureHandling |
Corrector.SignatureHandling.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Corrector.SignatureHandling[] |
Corrector.SignatureHandling.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
Corrector.composeAlgorithmCode(Corrector.AlgorithmStrategy algorithmStrategy,
Corrector.ExecutionApproach executionApproach,
Corrector.SignatureHandling signatureHandling)
Composes the algorithm code.
|
static Corrector |
Corrector.createCorrectorInstance(Tree dataTree,
Grammar treeGrammar,
Corrector.AlgorithmStrategy algorithmStrategy,
Corrector.ExecutionApproach executionApproach,
Corrector.SignatureHandling signatureHandling,
boolean profilingTimes,
boolean profilingStats)
Prepares and executes the required correction algorithm.
|
boolean |
Corrector.hasSignatures(Corrector.SignatureHandling selectedMode)
Tests whether the given signatures handling mode is activated.
|
protected boolean |
Handler.hasSignatures(Corrector.SignatureHandling selectedMode)
Tests whether the given signatures handling mode is activated.
|
Constructor and Description |
---|
Corrector(Tree dataTree,
Grammar treeGrammar,
Corrector.AlgorithmStrategy algorithmStrategy,
Corrector.ExecutionApproach executionApproach,
Corrector.SignatureHandling signatureHandling,
boolean profilingTimes,
boolean profilingStats)
Internal constructor for the universal corrector implementation.
|