AlvisNLP

corpus processing engine

WekaSelectAttributes

Synopsis

Searches for discrimminating attributes with Weka.

Description

WekaSelectAttributes applies Weka’s attribute selection on a training set specified by examples and writes the result in evaluationFile .

Snippet

<wekaselectattributes class="WekaSelectAttributes">
    <evaluationFile></evaluationFile>
    <evaluator></evaluator>
    <examples></examples>
    <relationDefinition></relationDefinition>
</wekaselectattributes>

Mandatory parameters

evaluationFile

Mandatory

File where to write evaluation results.

evaluator

Mandatory
Type: String

Evaluation metrics, this should be the canonical name of a class that extends Weka’s ASEvaluation .

examples

Mandatory
Type: Expression

Training set examples. This expression is evaluated as a list of elements with the corpus as the context element.

relationDefinition

Mandatory

Specification of example attributes and class.

Optional parameters

evaluatorOptions

Optional
Type: String[]

Options to the evaluator.

Optional
Type: String

Search heuristic, this should be the canonical name of a class that extends Weka’s ASSearch .

searchOptions

Optional
Type: String[]

Options to the search heuristic.

Deprecated parameters