org.annotation.wordfreak.tagset
Class PennTreebankTagSet

java.lang.Object
  extended byorg.annotation.wordfreak.tagset.TagSet
      extended byorg.annotation.wordfreak.tagset.PennTreebankTagSet
All Implemented Interfaces:
Plugin

public class PennTreebankTagSet
extends TagSet


Field Summary
static java.lang.String CONSTITUENT_NP
           
static java.lang.String CONSTITUENT_S
           
static java.lang.String CONSTITUENT_SBAR
           
static java.lang.String CONSTITUENT_VP
           
 
Fields inherited from class org.annotation.wordfreak.tagset.TagSet
CON_PAT, CON_TAGS, FUN_PAT, FUN_TAGS, NULL_PAT, NULL_TAGS, POS_PAT, POS_TAGS
 
Constructor Summary
PennTreebankTagSet(java.lang.String type)
           
 
Method Summary
static java.lang.String[] getNames()
           
 boolean isAdjective(java.lang.String type)
           
 boolean isAdverb(java.lang.String type)
           
 boolean isConstituent(java.lang.String type)
           
 boolean isFunction(java.lang.String type)
           
 boolean isNoun(java.lang.String type)
           
 boolean isNounPhrase(java.lang.String type)
           
 boolean isNullElement(java.lang.String type)
           
 boolean isPOS(java.lang.String type)
           
 boolean isVerb(java.lang.String type)
           
 
Methods inherited from class org.annotation.wordfreak.tagset.TagSet
getConstituentS, getConstituentTags, getDefaultEncoding, getFunctionTags, getNullTags, getPOSTags, getReorder
 
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
Constructor Detail

PennTreebankTagSet

public PennTreebankTagSet(java.lang.String type)
Method Detail

getNames

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

isPOS

public boolean isPOS(java.lang.String type)
Specified by:
isPOS in class TagSet

isConstituent

public boolean isConstituent(java.lang.String type)
Specified by:
isConstituent in class TagSet

isNullElement

public boolean isNullElement(java.lang.String type)
Specified by:
isNullElement in class TagSet

isFunction

public boolean isFunction(java.lang.String type)
Specified by:
isFunction in class TagSet

isNounPhrase

public boolean isNounPhrase(java.lang.String type)
Specified by:
isNounPhrase in class TagSet

isVerb

public boolean isVerb(java.lang.String type)
Specified by:
isVerb in class TagSet

isNoun

public boolean isNoun(java.lang.String type)
Specified by:
isNoun in class TagSet

isAdjective

public boolean isAdjective(java.lang.String type)
Specified by:
isAdjective in class TagSet

isAdverb

public boolean isAdverb(java.lang.String type)
Specified by:
isAdverb in class TagSet


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