Package | Description |
---|---|
cz.cuni.mff.corrector.corrector |
Implementations of correction algorithms.
|
Modifier and Type | Method and Description |
---|---|
Corrector.AlgorithmStrategy |
Corrector.getAlgorithmStrategy()
Returns the selected algorithm strategy.
|
static Corrector.AlgorithmStrategy |
Corrector.AlgorithmStrategy.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Corrector.AlgorithmStrategy[] |
Corrector.AlgorithmStrategy.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.hasStrategy(Corrector.AlgorithmStrategy selectedStrategy)
Tests whether the given algorithm strategy is activated.
|
protected boolean |
Handler.hasStrategy(Corrector.AlgorithmStrategy selectedStrategy)
Tests whether the given algorithm strategy 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.
|