Template:de-adecl

From Wiktionary, the free dictionary
Jump to navigation Jump to search

Introduction

This template should be used to decline all German adjectives, in preference to any other, older template that may still exist. (Eventually these will all be eliminated.)

Quick start examples

Page Example Comment
binär (binary) {{de-adecl}} Uncomparable.
klein (small) {{de-adecl|comp}} Comparable.
müde (tired) {{de-adecl|comp}} Stem automatically removes -e, and comparative adds -est after -d.
akzeptabel (acceptable) {{de-adecl|comp}} Stem and comparative automatically end in -abl, but superlative in -abel.
neu (new) {{de-adecl|comp}} Two superlatives by default for adjectives ending in a diphthong.
fit (fit) {{de-adecl|stem:fitt.comp}} Explicitly specify the stem.
simpel (simple) {{de-adecl|stem:-e.comp}} Explicitly request suppression of -e- in stem and comparative (compare akzeptabel above).
gut (good) {{de-adecl|comp:besser.sup:best}} Explicitly specify comparative and superlative.
lang (long) {{de-adecl|comp:^}} Request umlaut in comparative and superlative.
nass (wet) {{de-adecl|comp:+:^}} Comparative/superlative have two forms, without and with umlaut.
abgeschlossen (separate, enclosed; secluded) {{de-adecl|comp:+:-e}} Comparative has two forms, without and with suppression of -e-.
aufrecht (upright) {{de-adecl|comp.sup:+est:+st[uncommon]}} Superlative has two forms, one marked as uncommon.
rosa (pink) {{de-adecl|stem:rosan:+.comp:rosaner.sup:rosanst:rosast}} Two stems and superlatives, one with infixed -n- and one without.
orange (orange) {{de-adecl|stem:+[formal]:+en[informal].comp.sup:orangest[formal]:orangenst[informal]}} Somewhat similar example to rosa, with qualifiers.
dunkel (dark) {{de-adecl|stem:-e.comp:+:^[alternatively in Austrian German].sup:dunkelst}} Complex example with alternative (Austrian) comparative forms with umlaut.
erste (first) {{de-adecl|pred:-}} No predicative forms.
allerdurchlauchtig (imperial; illustrious) {{de-adecl|comp:-.sup:+}} Superlative but no comparative.

Uncomparable adjectives

In its simplest usage, no arguments are supplied. This suffices for most adjectives that don't have comparative or superlative forms. For example, for the adjective binär (binary), use:

{{de-adecl}}

which produces

Comparable adjectives

Comparable adjectives (those with comparative and/or superlative forms) generally take a single argument. For most adjectives, it should just consist of the word comp, which indicates that comparative and superlative forms exist and should be generated by the default algorithm (which works for most adjectives). For example, for klein (small), use:

{{de-adecl|comp}}

which produces

The default algorithm knows about many special cases of adjectives. For example, adjectives ending in -abel have a positive and comparative stem ending in -abl but a superlative stem in -abel. The default algorithm handles this automatically. For example, for akzeptabel (acceptable), use:

{{de-adecl|comp}}

which produces

Another such case is müde (tired), which drops the -e to form the stem, e.g. positive forms müder, müdes, müden, ...; comparative müder; and superlative müdest- (here, the superlative ending -est rather than -st is used after a stem ending in -d). The module handles this uatomatically:

{{de-adecl|comp}}

which produces

Specifying an explicit comparative or superlative stem

To explicitly specify the comparative and/or superlative stems, use comp:STEM and/or sup:STEM. For example, for gut (good), use:

{{de-adecl|comp:besser.sup:best}}

which produces

Some comments:

  1. Each expression like comp or sup:best is termed an indicator. If multiple indicators need to be specified, separate them with a period/dot (.).
  2. You can specify multiple comparative and/or superlative stems separated by a colon; see examples below.
  3. If you specify only the comparative or only the superlative, the other is inferred appropriately.
  4. To suppress either the comparative or superlative while including the other, use comp:- or sup:-.
  5. The expression comp is equivalent to comp:+, which requests the default comparative stem (derived from the positive stem; see below for how to specify this stem explicitly).

An individual comparative or superlative specification can be one of the following:

  1. An explicit form, such as besser or best, as in the above example. The form given should be the comparative or superlative stem, onto which endings are added.
  2. The value + to request the default comparative or superlative stem. The default comparative stem just adds -er onto the positive stem, while the default superlative stem is derived according to the algorithm described in #Default superlative algorithm below.
  3. A value such as +est to request that the specified ending be added onto the positive stem.
  4. The value ^ to request the umlauted variant of the default comparative or superlative stem (i.e. apply umlaut to the positive stem and then generate the comparative or superlative stem using the normal default rules).
  5. A value such as ^est to request that the specified ending be added onto the umlauted variant of the positive stem.
  6. The value -e to request that an infixed -e- in the endings -el, -em, -en -or -er be removed. See #Specifying an explicit positive stem below for more info.
  7. The value - to suppress the comparative or superlative entirely.

Note that when constructing forms from the positive stem, if there are multiple positive stems, there will correspondingly be multiple forms constructed.

As an example, the adjective aufrecht (upright) has two superlatives, one based on the stem aufrechtest- and the other, which is uncommon, based on the stem aufrechtst-. Specify as follows:

{{de-adecl|comp.sup:+est:+st[uncommon]}}

which produces

Note here the bracketed qualifier following the second form. Any form can have such a qualifier added; in declension tables it is displayed as a footnote, while in the headword it is displayed as an italicized qualifier preceding the form in question.

Another example is abgeschlossen (separate, enclosed; secluded), which has two comparatives, abgeschlossener and abgeschlossner. Specify as follows:

{{de-adecl|comp:+:-e}}

which produces

Here we use the -e value to suppress the final -e-. As described below, when this spec is used with the positive or comparative, the -e- is restored in the superlative, producing in this case abgeschlossenst-.

An example of suppressing a form is allerdurchlauchtig (imperial; illustrious), which has a superlative allerdurchlauchtigst- (most illustrious), typically referring to a monarch, but lacks a comparative. Use the following:

{{de-adecl|comp:-.sup:+}}

which produces

Specifying an explicit positive stem

For some adjectives, the lemma form (which is usually the same as the predicative form) is different from the stem that is used to derive the positive attributive inflected forms. Examples from above are akzeptabel (acceptable), which uses the stem akzeptabl- in inflected forms, and müde (tired), which uses the stem müd-. The module automatically handles both these cases; but there are other cases that can't be handled automatically. One such example is fit (fit), which uses the stem fitt-. To specify the stem in such a case, use:

{{de-adecl|stem:fitt.comp}}

which produces

The same stem fitt- is used in the comparative fitter and superlative fittest-, which will be derived automatically (and superlative -est in place of -st is used automatically after -tt).

Another example is simpel (simple), which uses the stem simpl- to derive the positive (simpler, simples, simplem, ...) and comparative (simpler), but the lemma to derive the superlative simpelst-. You could explicitly specify both stem and superlative, but a shortcut is provided:

{{de-adecl|stem:-e.comp}}

which produces

The use of -e in the stem requests a stem where infixed -e- is removed from lemmas ending in -el, -em, -en -or -er. The original lemma is remembered, though, and used as the superlative stem.

Another, more complex, example is rosa (pink), which has two stems rosan- (rosaner, rosanem, rosanes, ...) and rosa- (rosaer, rosaem, rosaes, ...), along with a single comparative rosaner and superlative stems rosanst- and rosast-. Specify as follows:

{{de-adecl|stem:rosan:+.comp:rosaner.sup:rosanst:rosast}}

which produces

Here, if comp or comp:+ were used, we'd get two comparatives, rosaner and rosaer, based on the two possible stems.

Specifying umlaut

Some adjectives have umlaut in the comparative and/or superlative. To specify this, use ^ as the comparative stem. An example is lang (long), with comparative länger and superlative längst-:

{{de-adecl|comp:^}}

which produces

If there are two stems, with and without umlaut, specify them both, separated by a colon, e.g. for nass (wet):

{{de-adecl|comp:+:^}}

which produces

Here, + explicitly requests the default comparative.

A more complex example is dunkel (dark), which positive forms based off of the stem dunkl- and alternative (Austrian) comparative forms with umlaut, but no umlaut in the superlative. Specify as follows:

{{de-adecl|stem:-e.comp:+:^[alternatively in Austrian German].sup:dunkelst}}

which produces

Additional indicators

Besides the indicators stem:..., comp, comp:... and sup:..., other supported indicators are as follows:

  • pred:...: override the predicative form
  • ss: change to -ss before an ending beginning with a vowel (as is common in pre-1996 spellings)
  • indecl: adjective is indeclinable (mostly useful in the headword, using {{de-adj}})
  • predonly: adjective is predicate-only (mostly useful in the headword, using {{de-adj}})
  • sync_n: syncopate endings in -en (i.e. use the ending -n in place of -en)
  • sync_mn: syncopate endings in -em and -en
  • sync_mns: syncopate endings in -em, -en and -es

Overriding the predicative is useful especially to suppress it entirely. An example where this is applicable is erste (first):

{{de-adecl|pred:-}}

which produces

Default superlative algorithm

NOTE: Relative references in a superlative specification (e.g. +est, +, ^) build on top of the positive stem(s). If no value is given for the superlative, however, the superlative is derived from the comparative stem(s) by removing final -er and constructing the default superlative according to the below algorithm. This means that an explicit sup:+ is NOT the same as omitting the superlative (the former applies the default superlative algorithm to the positive stem(s), while the latter applies it to the comparative stem(s)).

The following algorithm produces the default superlative from the positive or comparative stem (see preceding paragraph):

  1. If the stem was generated using the -e spec, which removes -e- from a lemma or stem ending in -el, -em, -en or -er, the e is restored and then -st is added. For example, if the lemma is simpel (simple) and the spec stem:-e was given, deriving the positive stem simpl- and comparative stem simpler, the superlative stem will be simpelst, with restored infixed -e-. In addition, if the indicator ss was given (which declines an adjective using pre-1996 spelling conventions concerning the use of ß), alternations between ss and ß will be properly handled. For example, if the lemma is abgeschlossen (enclosed; secluded) and the spec stem:-e.ss was given, the positive stem will be abgeschloßn- and the comparative stem abgeschloßner, but in the superlative both the original ss and infixed -e- will be restored, producing abgeschlossenst-.
  2. Otherwise, we check for the following special cases:
    1. If the stem ends in -groß or -größ (or the Swiss variants ending in -ss), just a -t is added. For example, for the lemma flächengroß (particularly large), if the spec comp:^ is given, the comparative will be flächengrößer (with umlaut), and from this the superlative stem flächengrößt- will be derived.
    2. If the stem ends in -hoh or -höh, this is replaced with -höchst. For example, for the lemma ranghoch (high-ranking), if the spec stem:ranghoh.comp:^ is given, the positive stem will be ranghoh-, the comparative will be ranghöher (with umlaut), and from this the superlative stem ranghöchst- will be derived.
    3. If the stem ends in -nah or -näh, this is replaced with -nächst. For example, for the lemma citynah (near the city), if the spec comp:^ is given, the comparative will be citynäher (with umlaut), and from this the superlative stem citynächst- will be derived.
  3. Otherwise, if the stem ends in a vowel + -h, two superlatives will be derived, one in -st and the other in -est. For example, the lemma froh (glad) with the spec comp will have two superlatives frohst- and frohest- generated.
  4. Otherwise, if the stem looks like a present or past participle with unstressed ending, -st is added to form the superlative stem. Occasional non-participial adjectives with the same endings will typically need special casing. We specifically check for the following:
    1. Present participles in -end, -ernd or -elnd. A few adjectives such as elend (miserable), behend/behende (agile), and horrend (horrendous) will need special casing.
    2. Past participles in -et, -ert or -elt (but excluding the stressed endings -iert, -ielt and -wert). A few adjectives such as alert (alert), inert (inert), concret (concrete), discret (discrete) and obsolet (obsolete) will need special casing.
    3. Past participles in -igt (but excluding the stressed ending -eigt, e.g. in abgeneigt (averse, loath; opposed)). A fes adjectives such as gewitzigt (wiser (from negative experience)) and gerechtfertigt (justified) will need special casing.
  5. Otherwise, if the stem ends in a diphthong, such as scheu (shy), neu (new), schlau (clever), frei (free), blau/blaw (blue), two superlatives will be derived, one in -est and the other in -st.
  6. Otherwise, if the stem ends in any of -s, -z, -x, , -d, -t or -sk (cf. burlesk (burlesque), grotesk (grotesque), pittoresk (picturesque), brüsk (brusque), promisk (promiscuous), etc.), -est is added.
  7. Otherwise, if the stem ends in -sch but not -sch (cf. barsch (harsh, unfriendly), falsch (false), fesch (stylish), forsch (brisk, bold), frisch (fresh), harsch (rough, harsh), keusch (chaste), lasch (limp, lax), morsch (rotten; brittle), rasch (rapid, swift), wirsch (angry, excited), etc.), two superlatives will be derived, one in -est and the other in -st.
  8. Otherwise, -st is added.

This algorithm is rather complex but handles the vast majority of cases correctly.

Footnotes

Footnotes can be indicated by placing text in brackets after a given form. For example, orange (orange) has distinct formal and informal forms. To indicate this, use the following:

{{de-adecl|stem:+[formal]:+en[informal].comp.sup:orangest[formal]:orangenst[informal]}}

which produces

Such footnotes show up as qualifiers in the headword:

orange (strong nominative masculine singular (formal) oranger or (informal) orangener, comparative (formal) oranger or (informal) orangener, superlative (formal) am orangesten or (informal) am orangensten)

Angle-bracket notation and alternants

An alternative notation is available, which specifies the lemma explicitly along with the declension. E.g. for lang, the following could be used:

{{de-adecl|lang<comp:^>}}

Since the lemma here is the same as lemma attached to the angle brackets, it can be omitted:

{{de-adecl|<comp:^>}}

Both notations are equivalent to the following, which is the usual notation:

{{de-adecl|comp:^}}

For single-word terms, angle brackets aren't usually needed, but they become necessary with multiword expressions (see below) and alternants. Alternants are used when a given word or expression has multiple possible declensions, in a way that can't easily be specified using the available possibilities for specifying multiple positive, comparative or superlative stems. An example of this is anderer (other), which has alternative forms with syncopated endings, used especially in speech but sometimes found in writing. Essentially there are two possible declensions: one without syncopated endings and one where -em and -en are syncopated to -m and -n, respectively. To specify multiple declensions, use a syntax like this: ((ALTERNANT1,ALTERNANT2,...)) where each alternant must have angle brackets in it. For anderer, use the following:

{{de-adecl|((<stem:ander:andr[mostly in speech].pred:->,<stem:ander[mostly in speech].sync_mn.pred:->))}}

which produces

We can unpack this specification as follows:

  1. There are two alternants, each of which is indicated using angle-bracket notation, as described above, where the lemma anderer is omitted (although it could as well be given).
  2. The first alternant is stem:ander:andr[mostly in speech].pred:-. This alternant works as follows:
    1. It specifies two positive stems ander- and andr-, the latter with an attached footnote/qualifier "mostly in speech" (see #Footnotes above).
    2. In addition, the predicative form is suppressed, since it is impossible to say something like #er ist ander (he is other).
    3. There are no comparative or superlative forms specified, so none will be included. (It is impossible to say #"he is more other" or #"he is most other" in English; likewise in German.)
  3. The second alternant is stem:ander[mostly in speech].sync_mn.pred:-. This alternant works as follows:
    1. It specifies a positive stem ander-, with an attached footnote/qualifier "mostly in speech".
    2. In addition, the predicative form is suppressed, as in the first alternant.
    3. Finally, the indicator sync_mn causes the -em and -en endings to be syncopated to -m and -n, respectively. Since this indicator is contained within an alternant with a single positive stem ander-, the syncopated endings will be added only onto this stem, not onto the stem andr- found in the first alternant. And since the positive stem has an attached footnote, that footnote will be displayed along with the syncopated endings. Finally, note that forms containing the endings -er, -e and -es will also be generated and added onto the positive stem ander-; but the resulting forms anderer, andere, anderes duplicate those generated by the first alternant, so they will be suppressed.

Multiword expressions

Multiword expressions can be specified using the same syntax as for nouns (see Template:de-ndecl), although they are somewhat less common and useful when applied to adjectives.

Overrides

You can override a particular case/number/gender combination using the indicator SLOT:VALUE:VALUE:..., where SLOT specifies the particular slot to override, e.g. mix_nom_m for the mixed nominative masculine singular, sup_str_dat_p for the superlative strong dative plural and comp_pred for the comparative predicative. The possibilities for VALUE are the same as described above under #Specifying an explicit comparative or superlative stem: an explicit form; the value + to request the default; a value like +en to add an ending onto the positive stem(s); umlaut variants; the value -e to suppress an infixed -e-; and the value - to suppress the form entirely. Bracketed footnotes/qualifiers can be attached to the end of of a value, as for positive, comparative or superlative stems.

In fact, the common indicator pred:- to suppress the predicative is just a special case of an override.

Recognized slot names are as follows:

  1. Positive-form slot names of the format STATE_CASE_GENDER. Here:
    1. STATE is one of str (strong), wk (weak) or mix (mixed);
    2. CASE is one of nom (nominative), gen (genitive), dat (dative) or acc (accusative);
    3. GENDER is one of m (masculine singular), f (feminine singular), n (neuter singular) or p (plural).
  2. Comparative/superlative-form slot names of the format COMP_STATE_CASE_GENDER, where COMP is either comp (comparative) or sup (superlative), and the remaining parts are as above.
  3. Predicative slot names: one of pred (positive predicative), comp_pred (comparative predicative) or sup_pred (superlative predicative).
  4. Gendered predicative slot names: one of pred_GENDER (positive gender-specific predicative), comp_pred_GENDER (comparative gender-specific predicative) or sup_pred_GENDER (superlative gender-specific predicative), where GENDER is one of m, f, n or p, as above.