org.annotation.wordfreak.tagset
Class TagSet

java.lang.Object
  extended byorg.annotation.wordfreak.tagset.TagSet
All Implemented Interfaces:
Plugin
Direct Known Subclasses:
ChineseTreebankTagSet, HindiTreebankTagSet, PennTreebankTagSet

public abstract class TagSet
extends java.lang.Object
implements Plugin


Field Summary
protected  java.lang.String CON_PAT
           
protected  java.lang.String[] CON_TAGS
           
static java.lang.String CONSTITUENT_NP
           
static java.lang.String CONSTITUENT_S
           
static java.lang.String CONSTITUENT_SBAR
           
static java.lang.String CONSTITUENT_VP
           
protected  java.lang.String FUN_PAT
           
protected  java.lang.String[] FUN_TAGS
           
protected  java.lang.String NULL_PAT
           
protected  java.lang.String[] NULL_TAGS
           
protected  java.lang.String POS_PAT
           
protected  java.lang.String[] POS_TAGS
           
 
Constructor Summary
TagSet(java.lang.String t)
           
TagSet(java.lang.String t, boolean o)
           
 
Method Summary
 java.lang.String getConstituentS()
           
 java.lang.String[] getConstituentTags()
           
 java.lang.String getDefaultEncoding()
           
 java.lang.String[] getFunctionTags()
           
static java.lang.String[] getNames()
           
 java.lang.String[] getNullTags()
           
 java.lang.String[] getPOSTags()
           
 boolean getReorder()
           
abstract  boolean isAdjective(java.lang.String type)
           
abstract  boolean isAdverb(java.lang.String type)
           
abstract  boolean isConstituent(java.lang.String type)
           
abstract  boolean isFunction(java.lang.String type)
           
abstract  boolean isNoun(java.lang.String type)
           
abstract  boolean isNounPhrase(java.lang.String type)
           
abstract  boolean isNullElement(java.lang.String type)
           
abstract  boolean isPOS(java.lang.String type)
           
abstract  boolean isVerb(java.lang.String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONSTITUENT_S

public static final java.lang.String CONSTITUENT_S
See Also:
Constant Field Values

CONSTITUENT_SBAR

public static final java.lang.String CONSTITUENT_SBAR
See Also:
Constant Field Values

CONSTITUENT_VP

public static final java.lang.String CONSTITUENT_VP
See Also:
Constant Field Values

CONSTITUENT_NP

public static final java.lang.String CONSTITUENT_NP
See Also:
Constant Field Values

POS_TAGS

protected java.lang.String[] POS_TAGS

POS_PAT

protected java.lang.String POS_PAT

CON_TAGS

protected java.lang.String[] CON_TAGS

CON_PAT

protected java.lang.String CON_PAT

FUN_TAGS

protected java.lang.String[] FUN_TAGS

FUN_PAT

protected java.lang.String FUN_PAT

NULL_TAGS

protected java.lang.String[] NULL_TAGS

NULL_PAT

protected java.lang.String NULL_PAT
Constructor Detail

TagSet

public TagSet(java.lang.String t)

TagSet

public TagSet(java.lang.String t,
              boolean o)
Method Detail

getNames

public static java.lang.String[] getNames()

getDefaultEncoding

public java.lang.String getDefaultEncoding()

getPOSTags

public java.lang.String[] getPOSTags()

getNullTags

public java.lang.String[] getNullTags()

getConstituentTags

public java.lang.String[] getConstituentTags()

getFunctionTags

public java.lang.String[] getFunctionTags()

getReorder

public boolean getReorder()

isPOS

public abstract boolean isPOS(java.lang.String type)

isConstituent

public abstract boolean isConstituent(java.lang.String type)

isFunction

public abstract boolean isFunction(java.lang.String type)

isNullElement

public abstract boolean isNullElement(java.lang.String type)

isNounPhrase

public abstract boolean isNounPhrase(java.lang.String type)

isVerb

public abstract boolean isVerb(java.lang.String type)

isNoun

public abstract boolean isNoun(java.lang.String type)

isAdjective

public abstract boolean isAdjective(java.lang.String type)

isAdverb

public abstract boolean isAdverb(java.lang.String type)

getConstituentS

public java.lang.String getConstituentS()


Copyright © 2004 Thomas Morton and Jeremy LaCivita. All Rights Reserved.