edu.mit.jsemcor.term
Class POSTag
java.lang.Object
edu.mit.jsemcor.term.Terminal
edu.mit.jsemcor.term.POSTag
- All Implemented Interfaces:
- IElement, IPOSTag, ITerminal
public class POSTag
- extends Terminal
- implements IPOSTag
Default, concrete implementation of IPOSTag
, with all pos tag types
listed in the Semcor documentation. The reason this class is not implemented
as an Enum
is so that clients can instantiate their own instances of
this class without re-implementing the interface.
- Since:
- JSemcor 1.0.0
- Version:
- 1.59, 22 Sep 2008
- Author:
- M.A. Finlayson
Fields inherited from interface edu.mit.jsemcor.element.IElement |
CLOSE_QUOTE, EQUALS, FORWARD_SLASH, LEFT_ANGLE_BRACKET, NEWLINE, OPEN_QUOTE, RIGHT_ANGLE_BRACKET, SPACE, SPACE_STR, UNDERSCORE, UNDERSCORE_STR |
Constructor Summary |
POSTag(String value,
String meaning)
Constructs a new object of type POSTag with the specified
parameters. |
CC
public static final POSTag CC
CD
public static final POSTag CD
DT
public static final POSTag DT
EX
public static final POSTag EX
FW
public static final POSTag FW
IN
public static final POSTag IN
JJ
public static final POSTag JJ
JJR
public static final POSTag JJR
JJS
public static final POSTag JJS
LS
public static final POSTag LS
MD
public static final POSTag MD
NN
public static final POSTag NN
NNP
public static final POSTag NNP
NNPS
public static final POSTag NNPS
NNS
public static final POSTag NNS
NP
public static final POSTag NP
NPS
public static final POSTag NPS
PDT
public static final POSTag PDT
POS
public static final POSTag POS
PP
public static final POSTag PP
PR
public static final POSTag PR
PRP
public static final POSTag PRP
PRP$
public static final POSTag PRP$
RB
public static final POSTag RB
RBR
public static final POSTag RBR
RBS
public static final POSTag RBS
RP
public static final POSTag RP
SYM
public static final POSTag SYM
TO
public static final POSTag TO
UH
public static final POSTag UH
VB
public static final POSTag VB
VBD
public static final POSTag VBD
VBG
public static final POSTag VBG
VBN
public static final POSTag VBN
VBP
public static final POSTag VBP
VBZ
public static final POSTag VBZ
WDT
public static final POSTag WDT
WP
public static final POSTag WP
WP$
public static final POSTag WP$
WRB
public static final POSTag WRB
POSTag
public POSTag(String value,
String meaning)
- Constructs a new object of type
POSTag
with the specified
parameters.
- Since:
- JSemcor 1.0.0
getMeaning
public String getMeaning()
- Description copied from interface:
IPOSTag
- A human-readable interpretation of what this part of speech represents.
- Specified by:
getMeaning
in interface IPOSTag
values
public static final Collection<POSTag> values()
- This functions emulates the function of the same name found on each
Enum
class. This method returns a static, unmodifiable collection
containing all the instances of this type that are declared in static
fields in this concrete class.
- Since:
- JSemcor 1.0.0
getInstance
public static final POSTag getInstance(String value)
- Returns the
POSTag
object for the specified name, or
null
if there is none.
- Since:
- JSemcor 1.0.0
Copyright © 2008-2011 Massachusetts Institute of Technology. All Rights Reserved.