|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.nlp.trees.international.icegb.ICEGBLabelFactory
public class ICEGBLabelFactory
A ICEGBLabelFactory
is a factory that makes
a Label
which is a ICEGBLabel
Constructor Summary | |
---|---|
ICEGBLabelFactory()
|
Method Summary | |
---|---|
Label |
newLabel(Label oldLabel)
Create a new Label, where the label is formed from the Label object passed in. |
Label |
newLabel(String description)
Make a new label with this String as the the whole description. |
Label |
newLabel(String description,
int options)
Make a new label with this String as the whole description, |
Label |
newLabelFromString(String description)
Make a new label with this String as the the whole description. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ICEGBLabelFactory()
Method Detail |
---|
public Label newLabel(Label oldLabel)
newLabel
in interface LabelFactory
oldLabel
- the old label
public Label newLabel(String description)
newLabel
in interface LabelFactory
description
- should be in this format: "Function,Category(Features)" or "{Word}"
public Label newLabel(String description, int options)
newLabel
in interface LabelFactory
description
- should be in this format: "Function,Category(Features)" or "{Word}"options
- this is ignored
public Label newLabelFromString(String description)
newLabelFromString
in interface LabelFactory
description
- should be in this format: "Function,Category(Features)" or "{Word}"
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |