|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.types.NullLabel
public class NullLabel
Object that carries a LabelAlphabet. Can be used in place of a null target for unlabeled instances, which avoids issues with alphabet checks.
Constructor Summary | |
---|---|
NullLabel(LabelAlphabet alphabet)
|
Method Summary | |
---|---|
Alphabet |
getAlphabet()
|
Alphabet[] |
getAlphabets()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullLabel(LabelAlphabet alphabet)
Method Detail |
---|
public Alphabet getAlphabet()
getAlphabet
in interface AlphabetCarrying
public Alphabet[] getAlphabets()
getAlphabets
in interface AlphabetCarrying
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |