Modul:es-conj/doc
This module conjugates Spanish verbs.
The module uses numbers to refer to individual verb forms. A map from these numbers to the verb form properties is below:
1 ragozása
főnévi igenév | 1 | ||||||
---|---|---|---|---|---|---|---|
jelen idejű melléknévi igenév | 2 | ||||||
múlt idejű melléknévi igenév | hímnem | nőnem | |||||
egyesszám | 3 | 4 | |||||
többesszám | 5 | 6 | |||||
egyesszám | többesszám | ||||||
1. személy | 2. személy | 3. személy | 1. személy | 2. személy | 3. személy | ||
kijelentő mód | yo | tú vos |
él/ella/ello usted |
nosotros nosotras |
vosotros vosotras |
ellos/ellas ustedes | |
jelen idő | 7 | 8tú 9vos |
10 | 11 | 12 | 13 | |
folyamatos múlt idő | 14 | 15 | 16 | 17 | 18 | 19 | |
múlt idő | 20 | 21 | 22 | 23 | 24 | 25 | |
jövő idő | 26 | 27 | 28 | 29 | 30 | 31 | |
feltételes mód | 32 | 33 | 34 | 35 | 36 | 37 | |
kötő mód | yo | tú vos |
él/ella/ello usted |
nosotros nosotras |
vosotros vosotras |
ellos/ellas ustedes | |
jelen idő | 38 | 39tú 40vos |
41 | 42 | 43 | 44 | |
folyamatos múlt idő (ra) |
45 | 46 | 47 | 48 | 49 | 50 | |
folyamatos múlt idő (se) |
51 | 52 | 53 | 54 | 55 | 56 | |
jövő idő | 57 | 58 | 59 | 60 | 61 | 62 | |
felszólító mód | — | tú vos |
usted | nosotros nosotras |
vosotros vosotras |
ustedes | |
pozitív | 63tú 64vos |
65 | 66 | 67 | 68 | ||
negatív | no 69 | no 70 | no 71 | no 72 | no 73 |
Public functions
szerkesztés- frame objects take numbered parameters of 1=ending, 2=pattern, and parameters 3 onwards stems for the verb; and named parameters ref (to toggle reflexive conjugation) and json (to toggle JSON output).
- json_raw: Takes a frame object. Returns a JSON object containing inflected forms and their properties.
- json_wikt_forms: Takes a frame object. Returns a JSON object containing inflected forms and corresponding Wiktionary inflection templates.
- json_combined_forms: Takes a table of inflections generated with inflect, and the ending of the verb. Returns a JSON object containing combined forms and corresponding Wiktionary inflection templates.
- json_paradigms: Exports the list of verb paradigms as a JSON object (see Template:es-conj/paradigms)
- inflect: Takes a table of args (containing ending, pattern, a table of stems, and boolean ref (reflexive)), a table of categories, and boolean toggle_decorate. Returns a table containing the inflected forms of the verb, decorated with links or plain based on toggle_decorate.
- inflect_combined: Takes a table of inflections generated with inflect. Returns a table of some combined forms of the verb.
- headword_line: Takes a frame object. Returns a headword line for the verb.
- verb_table: Takes a frame object. Returns a conjugation table or JSON object containing inflected forms of the verb.
Data subpages
szerkesztés- Data modules are located at data/ending/pattern (or data/ending for the basic -ar/-er/-ir patterns). Individual data modules inherit the base pattern of the parent module (-ar/-er/-ir), and return a table with the following properties:
- description: Optional description of the conjugation type
- replacement: Replacement rules to be applied to base conjugation pattern
- patterns: Table of patterns that differ from base pattern
- ref: Table of any reflexive forms that need to be specified
- defective: Table of defective form numbers
- unstressed: Table of forms that should not be automatically stressed in reflexive conjugation
Other subpages
szerkesztés- Module:es-conj/data/entry data: Maps internal numbers to verb form properties
- Module:es-conj/data/paradigms: List of conjugation types. Edit this page if you add or remove a data subpage.
- Module:es-conj/table: Creates verb table