PartOfSpeech enum
In grammar, a part-of-speech
is a category of words that have similar
grammatical properties.
Constructors
- PartOfSpeech()
-
const
Values
- none → const PartOfSpeech
-
Not a part of speech, or unclassified
- symbol → const PartOfSpeech
-
Symbol, e.g. $ or @
- emoticon → const PartOfSpeech
-
A graphic depicting an emotion (emoji)
- numeral → const PartOfSpeech
-
A word or phrase that describes a numerical quantity.
Numerals can also be nouns or adjectives.
- borrowed → const PartOfSpeech
-
A word at least partly assimilated from one language (the donor language) into another language (also known as "loan words").
- determiner → const PartOfSpeech
-
A word, phrase, or affix that occurs together with a noun or noun phrase and generally serves to express the reference of that noun or noun phrase in the context (
the
,an
,this
,some
,either
,my
,whose
). - particle → const PartOfSpeech
-
A function word that must be associated with another word or phrase to impart meaning, i.e., does not have its own lexical definition.
The term includes the "adverbial particles" like
up
orout
in verbal idioms (phrasal verbs) such as "look up" or "knock out"; it also includes the "infinitival particle"to
, the "negative particle"not
, the "imperative particles"do
andlet
, and sometimes "pragmatic particles" (also called "fillers" or "discourse markers") likeoh
andwell
. - noun → const PartOfSpeech
-
A word or lexical item denoting any abstract (abstract noun: e.g.
home
) or concrete entity (concrete noun: e.g.house
); a person (police officer
,Michael
), place (coastline
,London
), thing (necktie
,television
), idea (happiness
), or quality (bravery
).Nouns can also be classified as count nouns or non-count nouns; some can belong to either category.
The most common part of speech, they are called naming words.
- pronoun → const PartOfSpeech
-
A substitute for a noun or noun phrase (
them
,he
).Pronouns make sentences shorter and clearer since they replace nouns.
- adjective → const PartOfSpeech
-
A modifier of a noun or pronoun (
big
,brave
).Adjectives make the meaning of another word (
noun
) more precise. - verb → const PartOfSpeech
-
A word denoting an action(
walk
), occurrence (happen
), or state of being (be
).Without a verb a group of words cannot be a clause or sentence.
- adverb → const PartOfSpeech
-
A modifier of an adjective, verb, or another adverb (
very
,quite
).Adverbs make language more precise.
- preposition → const PartOfSpeech
-
A word that relates words to each other in a phrase or sentence and aids in syntactic context (
in
,of
).Prepositions show the relationship between a noun or a pronoun with another word in the sentence.
- conjunction → const PartOfSpeech
-
A syntactic connector that links words, phrases, or clauses (
and
,but
).Conjunctions connect words or group of words.
- interjection → const PartOfSpeech
-
An emotional greeting or exclamation (
Huzzah
,Alas
).Interjections express strong feelings and emotions.
- article → const PartOfSpeech
-
A grammatical marker of definiteness (
the
) or indefiniteness (a
,an
).The article is not always listed among the parts of speech. It is considered by some grammarians to be a type of adjective.
Sometimes the term
determiner
(a broader class) is used in stead of `article.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
PartOfSpeech> - A constant List of the values in this enum, in order of their declaration.