public static enum ChunkedArgumentExtractor.Mode extends Enum<ChunkedArgumentExtractor.Mode>
NpChunkArgumentExtractor: the LEFT mode makes the
extractor return noun phrase arguments to the left of the relation in the sentence, and the RIGHT
mode makes the extractor return noun phrase arguments to the right of the relation in the sentence.| Modifier and Type | Method and Description |
|---|---|
static ChunkedArgumentExtractor.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChunkedArgumentExtractor.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChunkedArgumentExtractor.Mode LEFT
public static final ChunkedArgumentExtractor.Mode RIGHT
public static ChunkedArgumentExtractor.Mode[] values()
for (ChunkedArgumentExtractor.Mode c : ChunkedArgumentExtractor.Mode.values()) System.out.println(c);
public static ChunkedArgumentExtractor.Mode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2010-2013 University of Washington CSE. All Rights Reserved.