org.cogroo.entities
Class Tag

java.lang.Object
  extended by org.cogroo.entities.Tag
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ChunkTag, MorphologicalTag, SyntacticTag

public abstract class Tag
extends Object
implements Serializable

Represents a classification of a token (or chunk) according to its morphological or syntactical classification.

Author:
William Colen
See Also:
Serialized Form

Constructor Summary
Tag()
           
 
Method Summary
 boolean match(Tag tag)
           
abstract  boolean match(TagMask tagMask)
           
abstract  String toVerboseString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tag

public Tag()
Method Detail

match

public boolean match(Tag tag)

match

public abstract boolean match(TagMask tagMask)

toVerboseString

public abstract String toVerboseString()


Copyright © 2012-2013 CoGrOO. All Rights Reserved.