edu.stanford.nlp.ling.tokensregex.types
Class Tags
java.lang.Object
edu.stanford.nlp.ling.tokensregex.types.Tags
- All Implemented Interfaces:
- java.io.Serializable
public class Tags
- extends java.lang.Object
- implements java.io.Serializable
Tags that can be added to values or annotations
- See Also:
- Serialized Form
|
Constructor Summary |
Tags(java.lang.String... tags)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Tags
public Tags(java.lang.String... tags)
getTags
public java.util.Collection<java.lang.String> getTags()
hasTag
public boolean hasTag(java.lang.String tag)
addTag
public void addTag(java.lang.String tag)
addTag
public void addTag(java.lang.String tag,
Value v)
removeTag
public void removeTag(java.lang.String tag)
getTag
public Value getTag(java.lang.String tag)
Stanford NLP Group