Bản mẫu:deu-adecl
Lỗi Lua trong Mô_đun:de-adjective tại dòng 569: bad argument #1 to 'concat' (table expected, got nil).
Introduction
[sửa]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
[sửa]Page | Example | Comment |
---|---|---|
binär (“binary”) | {{deu-adecl}} |
Uncomparable. |
klein (“small”) | {{deu-adecl|comp}} |
Comparable. |
müde (“tired”) | {{deu-adecl|comp}} |
Stem automatically removes -e, and comparative adds -est after -d. |
akzeptabel (“acceptable”) | {{deu-adecl|comp}} |
Stem and comparative automatically end in -abl, but superlative in -abel. |
neu (“new”) | {{deu-adecl|comp}} |
Two superlatives by default for adjectives ending in a diphthong. |
fit (“fit”) | {{deu-adecl|stem:fitt.comp}} |
Explicitly specify the stem. |
simpel (“simple”) | {{deu-adecl|stem:-e.comp}} |
Explicitly request suppression of -e- in stem and comparative (compare gđ above). |
gut (“good”) | {{deu-adecl|comp:besser.sup:best}} |
Explicitly specify comparative and superlative. |
lang (“long”) | {{deu-adecl|comp:^}} |
Request umlaut in comparative and superlative. |
nass (“wet”) | {{deu-adecl|comp:+:^}} |
Comparative/superlative have two forms, without and with umlaut. |
abgeschlossen (“separate, enclosed; secluded”) | {{deu-adecl|comp:+:-e}} |
Comparative has two forms, without and with suppression of -e-. |
aufrecht (“upright”) | {{deu-adecl|comp.sup:+est:+st[uncommon]}} |
Superlative has two forms, one marked as uncommon. |
rosa (“pink”) | {{deu-adecl|stem:rosan:+.comp:rosaner.sup:rosanst:rosast}} |
Two stems and superlatives, one with infixed -n- and one without. |
orange (“orange”) | {{deu-adecl|stem:+[formal]:+en[informal].comp.sup:orangest[formal]:orangenst[informal]}} |
Somewhat similar example to gđ, with qualifiers. |
dunkel (“dark”) | {{deu-adecl|stem:-e.comp:+:^[alternatively in Austrian German].sup:dunkelst}} |
Complex example with alternative (Austrian) comparative forms with umlaut. |
erste (“first”) | {{deu-adecl|pred:-}} |
No predicative forms. |
allerdurchlauchtig (“imperial; illustrious”) | {{deu-adecl|comp:-.sup:+}} |
Superlative but no comparative. |
Uncomparable adjectives
[sửa]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:
{{deu-adecl}}
which produces
Lỗi Lua trong Mô_đun:de-adjective tại dòng 569: bad argument #1 to 'concat' (table expected, got nil).
Comparable adjectives
[sửa]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:
{{deu-adecl|comp}}
which produces
Lỗi Lua trong Mô_đun:de-adjective tại dòng 569: bad argument #1 to 'concat' (table expected, got nil).
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:
{{deu-adecl|comp}}
which produces
Lỗi Lua trong Mô_đun:de-adjective tại dòng 569: bad argument #1 to 'concat' (table expected, got nil).
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:
{{deu-adecl|comp}}
which produces
Lỗi Lua trong Mô_đun:de-adjective tại dòng 569: bad argument #1 to 'concat' (table expected, got nil).
Specifying an explicit comparative or superlative stem
[sửa]To explicitly specify the comparative and/or superlative stems, use comp:STEM
and/or sup:STEM
. For example, for gut (“good”), use:
{{deu-adecl|comp:besser.sup:best}}
which produces
Lỗi Lua trong Mô_đun:de-adjective tại dòng 569: bad argument #1 to 'concat' (table expected, got nil).
Some comments:
- Each expression like
comp
orsup:best
is termed an indicator. If multiple indicators need to be specified, separate them with a period/dot (.
). - You can specify multiple comparative and/or superlative stems separated by a colon; see examples below.
- If you specify only the comparative or only the superlative, the other is inferred appropriately.
- To suppress either the comparative or superlative while including the other, use
comp:-
orsup:-
. - The expression
comp
is equivalent tocomp:+
, 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:
- An explicit form, such as
besser
orbest
, as in the above example. The form given should be the comparative or superlative stem, onto which endings are added. - 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. - A value such as
+est
to request that the specified ending be added onto the positive stem. - 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). - A value such as
^est
to request that the specified ending be added onto the umlauted variant of the positive stem. - 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. - 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:
{{deu-adecl|comp.sup:+est:+st[uncommon]}}
which produces
Lỗi Lua trong Mô_đun:de-adjective tại dòng 569: bad argument #1 to 'concat' (table expected, got nil).
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:
{{deu-adecl|comp:+:-e}}
which produces
Lỗi Lua trong Mô_đun:de-adjective tại dòng 569: bad argument #1 to 'concat' (table expected, got nil).
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:
{{deu-adecl|comp:-.sup:+}}
which produces
Lỗi Lua trong Mô_đun:de-adjective tại dòng 569: bad argument #1 to 'concat' (table expected, got nil).
Specifying an explicit positive stem
[sửa]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:
{{deu-adecl|stem:fitt.comp}}
which produces
Lỗi Lua trong Mô_đun:de-adjective tại dòng 569: bad argument #1 to 'concat' (table expected, got nil).
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:
{{deu-adecl|stem:-e.comp}}
which produces
Lỗi Lua trong Mô_đun:de-adjective tại dòng 569: bad argument #1 to 'concat' (table expected, got nil).
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 Bản mẫu:v and superlative stems rosanst- and rosast-. Specify as follows:
{{deu-adecl|stem:rosan:+.comp:rosaner.sup:rosanst:rosast}}
which produces
Lỗi Lua trong Mô_đun:de-adjective tại dòng 569: bad argument #1 to 'concat' (table expected, got nil).
Here, if comp
or comp:+
were used, we'd get two comparatives, rosaner and rosaer, based on the two possible stems.
Specifying umlaut
[sửa]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-:
{{deu-adecl|comp:^}}
which produces
Lỗi Lua trong Mô_đun:de-adjective tại dòng 569: bad argument #1 to 'concat' (table expected, got nil).
If there are two stems, with and without umlaut, specify them both, separated by a colon, e.g. for nass (“wet”):
{{deu-adecl|comp:+:^}}
which produces
Lỗi Lua trong Mô_đun:de-adjective tại dòng 569: bad argument #1 to 'concat' (table expected, got nil).
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:
{{deu-adecl|stem:-e.comp:+:^[alternatively in Austrian German].sup:dunkelst}}
which produces
Lỗi Lua trong Mô_đun:de-adjective tại dòng 569: bad argument #1 to 'concat' (table expected, got nil).
Additional indicators
[sửa]Besides the indicators stem:...
, comp
, comp:...
and sup:...
, other supported indicators are as follows:
pred:...
: override the predicative formss
: 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 -ensync_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”):
{{deu-adecl|pred:-}}
which produces
Lỗi Lua trong Mô_đun:de-adjective tại dòng 569: bad argument #1 to 'concat' (table expected, got nil).
Default superlative algorithm
[sửa]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):
- 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 specstem:-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 indicatorss
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 specstem:-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-. - Otherwise, we check for the following special cases:
- 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. - 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. - 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.
- 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
- 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. - 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:
- Present participles in -end, -ernd or -elnd. A few adjectives such as elend (“miserable”), behend/behende (“agile”), and horrend (“horrendous”) will need special casing.
- 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.
- 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.
- 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.
- 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.
- 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.
- Otherwise, -st is added.
This algorithm is rather complex but handles the vast majority of cases correctly.
Footnotes
[sửa]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:
{{deu-adecl|stem:+[formal]:+en[informal].comp.sup:orangest[formal]:orangenst[informal]}}
which produces
Lỗi Lua trong Mô_đun:de-adjective tại dòng 569: bad argument #1 to 'concat' (table expected, got nil).
Such footnotes show up as qualifiers in the headword:
orange (mạnh nominative giống đực số ít (formal) oranger hoặc (informal) orangener, so sánh hơn (formal) oranger hoặc (informal) orangener, so sánh nhất (formal) am orangesten hoặc (informal) am orangensten)
Angle-bracket notation and alternants
[sửa]An alternative notation is available, which specifies the lemma explicitly along with the declension. E.g. for lang, the following could be used:
{{deu-adecl|lang<comp:^>}}
Since the lemma here is the same as lemma attached to the angle brackets, it can be omitted:
{{deu-adecl|<comp:^>}}
Both notations are equivalent to the following, which is the usual notation:
{{deu-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:
{{deu-adecl|((<stem:ander:andr[mostly in speech].pred:->,<stem:ander[mostly in speech].sync_mn.pred:->))}}
which produces
Lỗi Lua trong Mô_đun:de-adjective tại dòng 569: bad argument #1 to 'concat' (table expected, got nil).
We can unpack this specification as follows:
- 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). - The first alternant is
stem:ander:andr[mostly in speech].pred:-
. This alternant works as follows:- It specifies two positive stems ander- and andr-, the latter with an attached footnote/qualifier "mostly in speech" (see #Footnotes above).
- In addition, the predicative form is suppressed, since it is impossible to say something like #gđ.
- 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.)
- The second alternant is
stem:ander[mostly in speech].sync_mn.pred:-
. This alternant works as follows:- It specifies a positive stem ander-, with an attached footnote/qualifier "mostly in speech".
- In addition, the predicative form is suppressed, as in the first alternant.
- 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
[sửa]Multiword expressions can be specified using the same syntax as for nouns (see Bản mẫu:deu-ndecl), although they are somewhat less common and useful when applied to adjectives.
Overrides
[sửa]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:
- Positive-form slot names of the format
STATE_CASE_GENDER
. Here:STATE
is one ofstr
(strong),wk
(weak) ormix
(mixed);CASE
is one ofnom
(nominative),gen
(genitive),dat
(dative) oracc
(accusative);GENDER
is one ofm
(masculine singular),f
(feminine singular),n
(neuter singular) orp
(plural).
- Comparative/superlative-form slot names of the format
COMP_STATE_CASE_GENDER
, whereCOMP
is eithercomp
(comparative) orsup
(superlative), and the remaining parts are as above. - Predicative slot names: one of
pred
(positive predicative),comp_pred
(comparative predicative) orsup_pred
(superlative predicative). - Gendered predicative slot names: one of
pred_GENDER
(positive gender-specific predicative),comp_pred_GENDER
(comparative gender-specific predicative) orsup_pred_GENDER
(superlative gender-specific predicative), whereGENDER
is one ofm
,f
,n
orp
, as above.