edu.mit.jwi.item
Enum AdjMarker

java.lang.Object
  extended by java.lang.Enum<AdjMarker>
      extended by edu.mit.jwi.item.AdjMarker
All Implemented Interfaces:
Serializable, Comparable<AdjMarker>

public enum AdjMarker
extends Enum<AdjMarker>

The three different possible syntactic markers indicating limitations on the syntactic position an adjective may have in relation to the noun it modifies.

Since:
JWI 2.1.0
Version:
2.2.2
Author:
Mark A. Finlayson

Enum Constant Summary
POSTNOMINAL
           
PREDICATE
           
PRENOMINAL
           
 
Method Summary
 String getDescription()
          Returns a user-readable description of the type of marker, drawn from the Wordnet specification.
 String getSymbol()
          Returns the adjective marker symbol, as found appended to the ends of adjective words in the data files, parenthesis included.
static AdjMarker valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AdjMarker[] 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

PREDICATE

public static final AdjMarker PREDICATE

PRENOMINAL

public static final AdjMarker PRENOMINAL

POSTNOMINAL

public static final AdjMarker POSTNOMINAL
Method Detail

values

public static AdjMarker[] 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 (AdjMarker c : AdjMarker.values())
    System.out.println(c);

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

valueOf

public static AdjMarker 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

getSymbol

public String getSymbol()
Returns the adjective marker symbol, as found appended to the ends of adjective words in the data files, parenthesis included.

Returns:
the symbol for this adjective marker
Since:
JWI 2.1.0

getDescription

public String getDescription()
Returns a user-readable description of the type of marker, drawn from the Wordnet specification.

Returns:
a user-readable description of the marker
Since:
JWI 2.1.0


Copyright © 2011. All Rights Reserved.