Class LabelFactory

All Implemented Interfaces:,<OutputFactoryProvenance>, Serializable, OutputFactory<Label>

public final class LabelFactory extends Object implements OutputFactory<Label>
A factory for making Label related classes.

Parses the Label by calling toString on the input.

Label factories have no state, and are all equal to each other.

See Also:
  • Field Details


      public static final Label UNKNOWN_LABEL
      The singleton unknown label, used for unlablled examples.
  • Constructor Details

    • LabelFactory

      public LabelFactory()
      Constructs a label factory.
  • Method Details