User:ArathVerbFormBot

Definition from Wiktionary, the free dictionary
Jump to: navigation, search
ArathVerbFormBot This user is a bot.
(talk · contribs)
Edit-copy purple-wikit.svgCrystal Clear action run.png
Operator: Arath (t/c)
Approved? yes
Flagged? yes
Task/s: Create Bulgarian verb forms
Edit rate: Varies. Not greater than 8 per minute
Automatic or manual? Automatic login, automated importing from file

A bot, using DotNetWikiBot Framework, that is run by Arath.

Task[edit]

Create Bulgarian verb forms.

Method[edit]

The bot uses the conjugation template in the main verb page to generate its forms. After that it takes a single verb form and does the following:

  • Checks if a page with the same name already exists:
    • If a page does not exist, it creates a new page with the verb form;
    • If the page exists, the bot checks whether it has a Bulgarian section:
      • If the page does not have a Bulgarian section, the bot adds a Bulgarian section (ordered alphabetically);
      • If the page has a Bulgarian section, the bot checks whether it has a Pronunciation section:
        • If the Bulgarian section does not have a Pronunciation section, the bot does not do anything;
        • If the Bulgarian section has a Pronunciation section (or sections), the bot checks whether the pronunciation of the verb form matches any of the Pronunciation sections:
          • If the pronunciation of the verb form does not match any of the Pronunciation sections, the bot adds a new pronunciation section with the verb form;
          • If the pronunciation of the verb form matches a Pronunciation section, the bot checks whether the matched Pronunciation section has a Verb section, or whether there is a Verb section after the Pronunciation section:
            • If the Pronunciation section does not have a Verb section or there is no Verb section after the Pronunciation section, the bot adds a Verb section with the verb form at the end of the Pronunciation section or at the end of the Bulgarian section;
            • If the Pronunciation section has a Verb section or there is a Verb section after the Pronunciation section, the bot adds the verb form at the end of the existing Verb section;
  • The bot takes the next verb form and repeats the above steps.

Sample Pages[edit]

I have previously run the bot from my account Arath to test it, so see my contributions for sample edits made by the bot.