A grammatical category is a property of items within the grammar of a language; it has a number of possible values (sometimes called grammemes), which are normally mutually exclusive within a given category. Examples of frequently encountered grammatical categories include tense (which may take values such as present, past, etc.), number (with values such as singular, plural, and sometimes dual, trial and paucal) and gender (with values such as masculine, feminine and neuter).
Although terminology is not always consistent, a distinction should be made between these grammatical categories (tense, number, etc.) and lexical categories, which are closely synonymous with the traditional parts of speech (noun, verb, adjective, etc.), or more generally syntactic categories. Grammatical categories are also referred to as (grammatical) features.
The name given to a grammatical category (as an uncountable noun) is generally also used (as a countable noun) to denote any of the possible values for that category. For example, the values available in a given language for the category "tense" are called "tenses", the values available for the category "gender" are called "genders", and so on.
A given constituent of an expression can normally take only one value from a particular category. For example, a noun or noun phrase cannot be both singular and plural, since these are both values of the category of number. It can, however, be both plural and feminine, since these represent different categories (number and gender).
Categories may be described and named with regard to the type of meanings that they are used to express. For example, the category of tense is considered to serve to express time of occurrence (as in past, present or future). However, purely grammatical features do not always correspond simply or consistently to elements of meaning, and different authors may take significantly different approaches in their terminology and analysis. For example, the meanings associated with the categories of tense, aspect and mood are often bound in up verb conjugation patterns that do not have separate grammatical elements corresponding to each of the three categories; see Tense–aspect–mood.
Categories may be marked on words by means of inflection. In English, for example, the number of a noun is usually marked by leaving the noun uninflected if it is singular, and by adding the suffix -s if it is plural (although some nouns have irregular plural forms). On other occasions, a category may not be marked overtly on the item to which it pertains, being manifested only through other grammatical features of the sentence, often by way of grammatical agreement.
The bird can sing.
The birds can sing.
In the above sentences, the number of the noun is marked by the absence or presence of the ending -s.
The sheep is running.
The sheep are running.
In the above, the number of the noun is not marked on the noun itself (sheep does not inflect according to the regular pattern), but it is reflected in agreement between the noun and verb: singular number triggers is, and plural number are.
The bird is singing.
The birds are singing.
In this case the number is marked overtly on the noun, and is also reflected by verb agreement.
The sheep can run.
In this case the number of the noun (or of the verb) is not manifested at all in the surface form of the sentence, and thus ambiguity is introduced (at least, when the sentence is viewed in isolation).
Exponents of grammatical categories often appear in the same position or "slot" in the word (such as prefix, suffix or enclitic). An example of this is the Latin cases, which are all suffixal: rosa, rosae, rosae, rosam, rosā ("rose", in the nominative, genitive, dative, accusative and ablative).
Categories can also pertain to sentence constituents that are larger than a single word (phrases, or sometimes clauses). A phrase often inherits category values from its head word; for example, in the above sentences, the noun phrase the birds inherits plural number from the noun birds. In other cases such values are associated with the way in which the phrase is constructed; for example, in the coordinated noun phrase Tom and Mary, the phrase has plural number (it would take a plural verb), even though both the nouns from which it is built up are singular.
In traditional structural grammar, grammatical categories are semantic distinctions; this is reflected in a morphological or syntactic paradigm. But in generative grammar, which sees meaning as separate from grammar, they are categories that define the distribution of syntactic elements. For structuralists such as Roman Jakobson grammatical categories were lexemes that were based on binary oppositions of "a single feature of meaning that is equally present in all contexts of use". Another way to define a grammatical category is as a category that expresses meanings from a single conceptual domain, contrasts with other such categories, and is expressed through formally similar expressions. Another definition distinguishes grammatical categories from lexical categories, such that the elements in a grammatical category have a common grammatical meaning – that is, they are part of the language's grammatical structure.