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:
java.io.Serializable, java.lang.Comparable<AdjMarker>

public enum AdjMarker
extends java.lang.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.4.0
Author:
Mark A. Finlayson

Enum Constant Summary
POSTNOMINAL
           
PREDICATE
           
PRENOMINAL
           
 
Method Summary
 java.lang.String getDescription()
          Returns a user-readable description of the type of marker, drawn from the Wordnet specification.
 java.lang.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(java.lang.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're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, 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 final AdjMarker[] values()
Returns an array containing the constants of this enum type, in the order they're 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're declared

valueOf

public static AdjMarker valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getSymbol

public java.lang.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 java.lang.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 © 2007-2013 Massachusetts Institute of Technology. All Rights Reserved.