User:TheDaveBot/ConjBot

Definition from Wiktionary, the free dictionary
Jump to: navigation, search
Add verbs to the list! They go HERE!
Self portrait? Not quite, it is my fellow robot, Kismet!

Information

owner: TheDaveRoss talk
software: pywikipedia bot framework, custom script
task: create pages for the conjugated forms of regular spanish verbs
examples: I ran through the verb acabar, see contribs for list of examples.
subpages: /verbs/raw - /verbs/check - /verb_list


Feature requests[edit]

  • "Verb form" header this is contentious at the moment, but the header has been templatized so it can be changed. - TDR
  • templated definition lines for all conjugated forms made - TDR
  • Inflection line as template:infl - not going to happen - TDR
  • Categorization template for later sorting/including. done - TDR

Tasks[edit]

  1. subst out {{esbot:conjline from category:Spanish verb forms
  2. subst out {{#if from category:Spanish verb forms
  3. run more verbs

algorithm[edit]

  1. accept verb
    from the list of verbs it has been passed.
  2. check wikt for verb
    see if we have a page for the infinitive, if not, do nothing.
  3. run through all conjugated forms
    50 pages are attempted per verb, there are 62 conjugated forms but the infinitive must already exist, and several forms are identical and so listed on other pages
    if we don't have a page for the conjugated form, create one based on the following template, if we do, move on to next form.
  4. through to the end
    runs through every conjugation for the given verb
  5. repeat

Actual example[edit]


Latin[edit]

Noun[edit]

lībe

  1. vocative singular of lībus



Spanish[edit]

Verb[edit]

ConjBot

  1. First-person singular (yo) present subjunctive form of libar.
  2. Third-person singular (él, ella, also used with usted?) present subjunctive form of libar.
  3. Formal second-person singular (usted) imperative form of libar.