public enum PartOfSpeech extends Enum<PartOfSpeech>
IWiktionaryEntry
.IWiktionaryEntry.getPartOfSpeech()
Enum Constant and Description |
---|
ABBREVIATION
Abbreviation.
|
ACRONYM
Acronym (pronounced as a word, e.g., "ROM", "NATO", "sonar")
|
ADJECTIVE
Adjective.
|
ADVERB
Adverb.
|
AFFIX
Affix.
|
ANSWERING_PARTICLE
Answer particle (yes, no, etc.).
|
ARTICLE
Article (a, the, etc.).
|
AUXILIARY_VERB
Auxiliary verb (can, might, must, etc.).
|
CHARACTER
Character.
|
COLLOCATION
Collocation (e.g., strong tea).
|
COMBINING_FORM
Deprecated.
No longer used.
|
COMPARATIVE_PARTICLE
Comparative particle (She is taller _than_ me).
|
CONJUNCTION
Conjunction (and, or, etc.).
|
CONTRACTION
Contraction (e.g., it's).
|
DEMONSTRATIVE_PRONOUN
Demonstrative pronoun (_This_ is fast).
|
DETERMINER
Determiner (few, most, etc.).
|
EXPRESSION
Deprecated.
No longer used.
|
FIRST_NAME
First/given name (e.g.
|
FOCUS_PARTICLE
Focus particle (also, only, even, etc.).
|
GISMU
Gismu (a root word in Lojban).
|
HANZI
Chinese Hanzi character.
|
HIRAGANA
Japanese Hiragana character.
|
IDIOM
Idiom (e.g., rock 'n' roll).
|
INDEFINITE_PRONOUN
Indefinite pronoun (_Nobody_ bought the car ).
|
INITIALISM
Initialism (pronounced as letter by letter, e.g., "CD", "URL")
|
INTENSIFYING_PARTICLE
Intensifying particle (very, low, etc.).
|
INTERJECTION
Interjection.
|
INTERROGATIVE_ADVERB
Interrogative adverb (how, when, etc.).
|
INTERROGATIVE_PRONOUN
Interrogative pronoun (who, what, etc.).
|
KANJI
Japanese Kanji character.
|
KATAKANA
Japanese Katakana character.
|
LAST_NAME
Last/family name (e.g.
|
LETTER
Letter of the alphabet (A, B, C, etc.).
|
LEXEME
Bound lexeme.
|
MEASURE_WORD
Measure words (e.g., litre).
|
MNEMONIC
Mnemonic (e.g., "My Very Educated Mother Just Served Us Nachos"
for planet names).
|
MODAL_PARTICLE
Modal particle (express attitude, e.g., German: Sprich _doch mal_ mit ihr ).
|
NEGATIVE_PARTICLE
Negative particle (neither...nor, etc.).
|
NOUN
Noun.
|
NOUN_PHRASE
Deprecated.
No longer used.
|
NUMBER
Number and numeral (e.g., two, fifteen, etc.).
|
NUMERAL
Number and numeral (e.g., two, fifteen, etc.).
|
ONOMATOPOEIA
Onomatopoeia (e.g., peng, tic-tac).
|
PARTICIPLE
Participle.
|
PARTICLE
Particle.
|
PERSONAL_PRONOUN
(Irreflexive) personal pronoun (I, you, he, she, we, etc.).
|
PHRASE
Phrase.
|
PLACE_NAME_ENDING
Place name suffix (e.g., -burg).
|
PLURALE_TANTUM
Only takes the plural form.
|
POSSESSIVE_PRONOUN
Possessive pronoun (mine, your, our, etc.).
|
POSTPOSITION
Postposition (e.g., ago).
|
PREFIX
Prefix.
|
PREPOSITION
Preposition (e.g., underneath).
|
PRONOUN
Pronoun.
|
PROPER_NOUN
Proper noun (names, locations, organizations)
|
PROVERB
Proverb (e.g., that's the way life is).
|
PUNCTUATION_MARK
Punctuation mark (., ?, ;, etc.).
|
REFLEXIVE_PRONOUN
Reflexive personal pronoun (myself, herself, ourselves, etc.).
|
RELATIVE_PRONOUN
Relative pronoun (She sold the car, _which_ was very old ).
|
SALUTATION
Salutation (e.g., good afternoon).
|
SINGULARE_TANTUM
Only takes the singular form.
|
SUBORDINATOR
Subordinating conjunction (as soon as, after, etc.).
|
SUFFIX
Suffix.
|
SYMBOL
Symbol (+, §, $, etc.).
|
TOPONYM
Toponym (i.e., a place name).
|
TRANSLITERATION
Transliterated word form.
|
VERB
Verb.
|
WORD_FORM
Inflected word form.
|
Modifier and Type | Field and Description |
---|---|
protected static Set<String> |
unknownPos |
Modifier and Type | Method and Description |
---|---|
static boolean |
equals(PartOfSpeech partOfSpeech1,
PartOfSpeech partOfSpeech2)
Tests if the specified parts of speech are equal.
|
static PartOfSpeech |
findByName(String name)
Find the part of speech with the given name.
|
static PartOfSpeech |
findByName(String name,
Map<String,PartOfSpeech> additionalMap)
Find the part of speech with the given name.
|
static PartOfSpeech |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PartOfSpeech[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PartOfSpeech NOUN
public static final PartOfSpeech PROPER_NOUN
public static final PartOfSpeech FIRST_NAME
public static final PartOfSpeech LAST_NAME
public static final PartOfSpeech TOPONYM
public static final PartOfSpeech SINGULARE_TANTUM
public static final PartOfSpeech PLURALE_TANTUM
public static final PartOfSpeech MEASURE_WORD
public static final PartOfSpeech VERB
public static final PartOfSpeech AUXILIARY_VERB
public static final PartOfSpeech ADJECTIVE
public static final PartOfSpeech ADVERB
public static final PartOfSpeech INTERJECTION
public static final PartOfSpeech SALUTATION
public static final PartOfSpeech ONOMATOPOEIA
public static final PartOfSpeech PHRASE
public static final PartOfSpeech IDIOM
public static final PartOfSpeech COLLOCATION
public static final PartOfSpeech PROVERB
public static final PartOfSpeech MNEMONIC
public static final PartOfSpeech PRONOUN
public static final PartOfSpeech PERSONAL_PRONOUN
public static final PartOfSpeech REFLEXIVE_PRONOUN
public static final PartOfSpeech POSSESSIVE_PRONOUN
public static final PartOfSpeech DEMONSTRATIVE_PRONOUN
public static final PartOfSpeech RELATIVE_PRONOUN
public static final PartOfSpeech INDEFINITE_PRONOUN
public static final PartOfSpeech INTERROGATIVE_PRONOUN
public static final PartOfSpeech INTERROGATIVE_ADVERB
public static final PartOfSpeech PARTICLE
public static final PartOfSpeech ANSWERING_PARTICLE
public static final PartOfSpeech NEGATIVE_PARTICLE
public static final PartOfSpeech COMPARATIVE_PARTICLE
public static final PartOfSpeech FOCUS_PARTICLE
public static final PartOfSpeech INTENSIFYING_PARTICLE
public static final PartOfSpeech MODAL_PARTICLE
public static final PartOfSpeech ARTICLE
public static final PartOfSpeech DETERMINER
public static final PartOfSpeech ABBREVIATION
public static final PartOfSpeech ACRONYM
public static final PartOfSpeech INITIALISM
public static final PartOfSpeech CONTRACTION
public static final PartOfSpeech CONJUNCTION
public static final PartOfSpeech SUBORDINATOR
public static final PartOfSpeech PREPOSITION
public static final PartOfSpeech POSTPOSITION
public static final PartOfSpeech AFFIX
public static final PartOfSpeech PREFIX
public static final PartOfSpeech SUFFIX
public static final PartOfSpeech PLACE_NAME_ENDING
public static final PartOfSpeech LEXEME
public static final PartOfSpeech CHARACTER
public static final PartOfSpeech LETTER
public static final PartOfSpeech NUMBER
public static final PartOfSpeech NUMERAL
public static final PartOfSpeech PUNCTUATION_MARK
public static final PartOfSpeech SYMBOL
public static final PartOfSpeech HANZI
public static final PartOfSpeech KANJI
public static final PartOfSpeech KATAKANA
public static final PartOfSpeech HIRAGANA
public static final PartOfSpeech GISMU
public static final PartOfSpeech WORD_FORM
public static final PartOfSpeech PARTICIPLE
public static final PartOfSpeech TRANSLITERATION
@Deprecated public static final PartOfSpeech COMBINING_FORM
@Deprecated public static final PartOfSpeech EXPRESSION
@Deprecated public static final PartOfSpeech NOUN_PHRASE
public static PartOfSpeech[] values()
for (PartOfSpeech c : PartOfSpeech.values()) System.out.println(c);
public static PartOfSpeech 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 static PartOfSpeech findByName(String name)
findByName(String, Map)
for
language-specific lookup. If no part of speech could be found,
null
is returned.public static PartOfSpeech findByName(String name, Map<String,PartOfSpeech> additionalMap)
null
is returned.public static boolean equals(PartOfSpeech partOfSpeech1, PartOfSpeech partOfSpeech2)
true
if both parts of speech are null
, but
false
if only one of them is null
.Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.