hultig.sumo
Enum ChunkTag

java.lang.Object
  extended by java.lang.Enum<ChunkTag>
      extended by hultig.sumo.ChunkTag
All Implemented Interfaces:
Serializable, Comparable<ChunkTag>

public enum ChunkTag
extends Enum<ChunkTag>

Represents the Penn Treebank tags at a phrase level, on a shallow parsed sentence.

University of Beira Interior (UBI)
Centre For Human Language Technology and Bioinformatics (HULTIG)


Enum Constant Summary
ADJP
          Adjective Phrase.
ADVP
          Adverb Phrase.
CONJP
          Conjunction Phrase.
FRAG
          Fragment
INTJ
          Interjection.
LST
          List marker.
NAC
          Not a Constituent; used to show the scope of certain prenominal modifiers within an NP.
NP
          Noun Phrase.
NX
          Used within certain complex NPs to mark the head of the NP.
PP
          Prepositional Phrase.
PRN
          Parenthetical.
PRT
          Particle.
QP
          Quantifier Phrase (i.e. complex measure/amount phrase); used within NP.
RRC
          RRC - Reduced Relative Clause.
UCP
          Unlike Coordinated Phrase.
VP
          Verb Phrase.
WHADJP
          Wh-adjective Phrase.
WHAVP
          Wh-adverb Phrase.
WHNP
          WHNP - Wh-noun Phrase.
WHPP
          WHPP - Wh-prepositional Phrase.
 
Method Summary
 String getDescription()
           
static void main(String[] args)
          Prints the whole domain, each element with its corresponding textual description.
static ChunkTag parse(String sctag)
           
static ChunkTag valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ChunkTag[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NP

public static final ChunkTag NP
Noun Phrase.


VP

public static final ChunkTag VP
Verb Phrase.


PP

public static final ChunkTag PP
Prepositional Phrase.


ADVP

public static final ChunkTag ADVP
Adverb Phrase.


ADJP

public static final ChunkTag ADJP
Adjective Phrase.


CONJP

public static final ChunkTag CONJP
Conjunction Phrase.


FRAG

public static final ChunkTag FRAG
Fragment


INTJ

public static final ChunkTag INTJ
Interjection. Corresponds approximately to the part-of-speech tag UH.


LST

public static final ChunkTag LST
List marker. Includes surrounding punctuation.


NAC

public static final ChunkTag NAC
Not a Constituent; used to show the scope of certain prenominal modifiers within an NP.


NX

public static final ChunkTag NX
Used within certain complex NPs to mark the head of the NP. Corresponds very roughly to N-bar level but used quite differently.


PRN

public static final ChunkTag PRN
Parenthetical.


PRT

public static final ChunkTag PRT
Particle. Category for words that should be tagged RP.


QP

public static final ChunkTag QP
Quantifier Phrase (i.e. complex measure/amount phrase); used within NP.


RRC

public static final ChunkTag RRC
RRC - Reduced Relative Clause.


UCP

public static final ChunkTag UCP
Unlike Coordinated Phrase.


WHADJP

public static final ChunkTag WHADJP
Wh-adjective Phrase. Adjectival phrase containing a wh-adverb, as in how hot.


WHAVP

public static final ChunkTag WHAVP
Wh-adverb Phrase. Introduces a clause with an NP gap. May be null (containing the 0 complementizer) or lexical, containing a wh-adverb such as how or why.


WHNP

public static final ChunkTag WHNP
WHNP - Wh-noun Phrase. Introduces a clause with an NP gap. May be null (containing the 0 complementizer) or lexical, containing some wh-word, e.g. who, which book, whose daughter, none of which, or how many leopards.


WHPP

public static final ChunkTag WHPP
WHPP - Wh-prepositional Phrase. Prepositional phrase containing a wh-noun phrase (such as of which or by whose authority) that either introduces a PP gap or is contained by a WHNP.

Method Detail

values

public static ChunkTag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ChunkTag c : ChunkTag.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ChunkTag valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getDescription

public String getDescription()

parse

public static ChunkTag parse(String sctag)

main

public static void main(String[] args)
Prints the whole domain, each element with its corresponding textual description.

Parameters:
args -