Package network.aika

Class Document

  • All Implemented Interfaces:
    Comparable<Document>

    public class Document
    extends Object
    implements Comparable<Document>
    The Document class represents a single document which may be either used for processing a text or as training input. A document consists of the raw text, the interpretations and the activations.

    When the document is not needed any more, the method clearActivations must be called, since Aika only supports a single document per thread and model.

    Author:
    Lukas Molzberger