| Class | Ariel::LabeledDocumentLoader |
| In: |
lib/ariel/labeled_document_loader.rb
|
| Parent: | Object |
Provides methods that read an example document, using a Node::Structure tree to populate a tree of Nodes with each labeled example.
As its first argument it takes a root Node::Structure to which any learnt rules will be added. The following arguments are strings containing labeled examples for members of the passed Node::Structure tree. Ariel#learn is the preferred interface for rule-learning - this one may change.