public enum IPOSTag extends Enum<IPOSTag>
Enum Constant and Description |
---|
abbr |
adj |
adv |
advp |
bad |
date |
hashtag |
insert |
intj |
noun |
number |
numr |
onomat |
part |
predic |
prep |
time |
unknown |
verb |
Modifier and Type | Method and Description |
---|---|
static boolean |
contains(String posTag,
String postagMatch) |
String |
getText() |
static boolean |
isNum(String posTag) |
boolean |
match(String posTagPrefix) |
static boolean |
startsWith(String posTagPrefix,
IPOSTag... posTags) |
static IPOSTag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IPOSTag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IPOSTag noun
public static final IPOSTag adj
public static final IPOSTag verb
public static final IPOSTag adv
public static final IPOSTag part
public static final IPOSTag intj
public static final IPOSTag numr
public static final IPOSTag number
public static final IPOSTag date
public static final IPOSTag time
public static final IPOSTag advp
public static final IPOSTag prep
public static final IPOSTag predic
public static final IPOSTag insert
public static final IPOSTag abbr
public static final IPOSTag bad
public static final IPOSTag unknown
public static final IPOSTag onomat
public static final IPOSTag hashtag
public static IPOSTag[] values()
for (IPOSTag c : IPOSTag.values()) System.out.println(c);
public static IPOSTag 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 nullpublic String getText()
public boolean match(String posTagPrefix)
public static boolean isNum(String posTag)