Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## cc.mallet.types
Class Labels

    java.lang.Object
      cc.mallet.types.Labels

All Implemented Interfaces:
  AlphabetCarrying, java.io.Serializable

    public class Labels

extends java.lang.Object
implements AlphabetCarrying, java.io.Serializable

Usually some distribution over possible labels for an instance.

See Also:
  Serialized Form

Constructor Summary
`Labels(Label[] labels)`

Method Summary
`Label` | `get(int i)`
`Alphabet` | `getAlphabet()`
`Alphabet[]` | `getAlphabets()`
`void` | `set(int i, Label l)`
`int` | `size()`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Labels

    public Labels(Label[] labels)

Method Detail

### size

    public int size()

### get

    public Label get(int i)

### set

    public void set(int i,
                    Label l)

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

### getAlphabet

    public Alphabet getAlphabet()

  Specified by:
    `getAlphabet` in interface `AlphabetCarrying`

### getAlphabets

    public Alphabet[] getAlphabets()

  Specified by:
    `getAlphabets` in interface `AlphabetCarrying`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD