|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.nlp.ling.CategoryWordTagFactory
public class CategoryWordTagFactory
A CategoryWordTagFactory is a factory that makes
a Label which is a CategoryWordTag triplet.
| Constructor Summary | |
|---|---|
CategoryWordTagFactory()
|
|
| Method Summary | |
|---|---|
Label |
newLabel(Label oldLabel)
Create a new CategoryWordTag Label, where the label is
formed from
the Label object passed in. |
Label |
newLabel(java.lang.String labelStr)
Make a new label with this String as the "name". |
Label |
newLabel(java.lang.String labelStr,
int options)
Make a new label with this String as the value. |
Label |
newLabel(java.lang.String word,
java.lang.String tag,
java.lang.String category)
Create a new CategoryWordTag label, where the label is formed from the various String objects passed in. |
Label |
newLabelFromString(java.lang.String labelStr)
Make a new label with this String as the "name". |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CategoryWordTagFactory()
| Method Detail |
|---|
public Label newLabel(java.lang.String labelStr)
String as the "name".
newLabel in interface LabelFactorylabelStr - The string to use as a label
public Label newLabel(java.lang.String labelStr,
int options)
String as the value.
This implementation ignores the options
newLabel in interface LabelFactorylabelStr - The String that will be used for balueoptions - This argument is ignored
public Label newLabelFromString(java.lang.String labelStr)
String as the "name".
newLabelFromString in interface LabelFactorylabelStr - The string to use as a label
public Label newLabel(java.lang.String word,
java.lang.String tag,
java.lang.String category)
String objects passed in.
word - The word part of the labeltag - The tag part of the labelcategory - The category part of the label
public Label newLabel(Label oldLabel)
CategoryWordTag Label, where the label is
formed from
the Label object passed in. Depending on what fields
each label has, other things will be null.
newLabel in interface LabelFactoryoldLabel - The Label that the new label is being created from
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||