Utilisateur:Keene~frwiktionary/Keenebot2
Apparence
A bot run by User:Keene/User:Keene2 (dual ownership ;)), which adds lots of French verb conjugations and plurals and adjetive forms. It is essentially a French version of User:SemperBlottoBot. And an :en version of fr:Utilisateur:LmaltierBot.
How it works
[modifier le wikicode]Verbs
[modifier le wikicode]- Uses a modification of the "pagefromfile.py" python script (part of "pywikipediabot" package) to load the conjugated forms of French verbs from a text file that has been prepared offline (semi-automatically).
- Pages that already exist are changed by this process, if they already have a French section; otherwise a French section is added at the end and the autoformat bot is asked to cleanup.
- The bot runs under the direct control of User:Keene.
- The text file consists of a section for each word to be loaded in a format typified by the following.
{{-start-}}
<<<fouillant>>>
==French==
===Verb===
{{fr-verb-form}}
# {{present participle of|[[fouiller#French|fouiller]]|lang=French}}
{{-stop-}}
- If no specific template exists for a verb form then Modèle:temp (with the parameter lang=French) is used.
- Past participles and present participles are sometimes used as adjectives in French. These should be post-modified by the above mentioned human being to add an adjective sense if needed.
The code to this bot can be found at User:Keenebot2/code.
Any requests for verbs to be conjugated, leave a message at /feedme
History
[modifier le wikicode]2007
[modifier le wikicode]As Keenesbot
- July 6 - Keene asked User:SemperBlotto how the hell to make a bot work.
- July 8 - Keenesbot Account created, Python programming downloaded, pywikipedia stuff downloaded.
- July 9 - Permission for bot status asked, at Wiktionary:Votes/bt-2007-07/User:Keenesbot for bot status
As Keenebot2
- October 8 - Keenesbot password forgotten, all new hard drive downloads all new Python software and some more stuff.
2008
[modifier le wikicode]- Feb 9 - password remembered to this account! Restarted from scratch, figured out one tiny detail that I missed previously. First attempt, using fouiller as an example. Woohoo, it works! Apart from a few stray question marks, anyway.
- Test 2: redouter (problems with question marks and spacing)
- Test 3: égoutter (problems with spacing)
- Test 4: fouetter (a couple of problems with spacing)
- Test 5: exploiter (no problems found by me)
- Informed the community of its plans.
- Test 6: mater (added feminine and plural past participles, included Modèle:temp)
- Feb 10 - Vote started to get a bot flag
- Tested for -ir verbs (nourrir), realised the differences and implented them into bot code.
- Based on the fact that there's roughly 1300 French verbs here, and that each has roughly 30 different conjugated forms, that's 39000 more French entries for Wiktionary, which would see French jumping up to 5th place, eclipsing Finnish, in WT:STATS (although Finnish articles are being created at a similarly high rate, so maybe just into 6th place).
- Feb 11 - was informed that User:TheDaveRoss was the initial author of the code. Also, started work on getting my hands on the code for the noun-bot
- Feb 13 - Test using Template:fr-conj-ir, auto-generated inflections of nourrir
- Feb 15 - Test using Template:fr-conj-re, auto-generated inflections of fendre
- Test using Template:fr-conj-cer, auto-generated inflections of froncer
- Test using Template:fr-conj-ger, auto-generated inflections of voyager (Noticed Modèle:template may be put in the wrong place)
- Test using Template:fr-conj-e-er, auto-generated inflections of ciseler
- I've figured that I can handle all of these now. No need for any more testing. Template documents in the process of being made for all the conjugation templates.
- Test using Catalan Template:ca-verb-ar, auto-generates a few inflections of dificultar
- Feb 16 - Test using Czech Template:cs-conj-at
- auto-generating present tense of doufat and čekat.
- Template:fr-conj-cevoir used, auto-generated inflections of recevoir.
- Informed that Ancient Greek conjugation is a *bad* idea for my bot.
- Feb 17 - Looked in Category:Occitan conjugation templates as a future project, awaiting an Ocittan knower
- Test using Template:no-verb-1
- auto-generating conjugated forms of mate#Norwegian and forsake#Norwegian and bore#Norwegian.
- Test using Portuguese Template:pt-verb-ar. Auto-generating conjugated forms for precisar#Portuguese.
- Feb 18 - Been gently reminded that the bot vote is for the creation of French verb forms, so the ca, pt, no, cs stuff will be on hold for a while.
- User:DAVilla passes the vote, with 8 support, 2 abstain and 2 oppose votes.
- User:Dvortygirl wiggles a button, and a bot flag is added just after dinner.
- Feb 22 - Decided to say /Thanks to these dudes.
- Feb 23 - User:Robert Ullmann found a mistake in the syntax - like this one, I had to spend 2.5 hours correcting every verb with that mistake, and appended the offline templates. As a result, Keenebot2 was blocked until it was fixed.
- Starts back up again
- March 2 - Loaded all verb forms using Modèle:temp.
- Sped up bot to add about 25 per minute, as opposed to 6.
- Modèle:temp, Modèle:temp, Modèle:temp all forms conjugated.
- Edits up to today: around 32000. Pretty close to the estimated 39000 potential entries.
- March 3 - Modèle:temp all done
- March 4 - Modèle:temp all done
- Modèle:temp, Modèle:temp and Modèle:temp also done. Where there are 2 variables (Modèle:temp) or splits in the conjugation (Modèle:temp or Modèle:temp) a little more work will have to be done offline to accomodate.
- March 6 - Modèle:template and Modèle:template done.
- Modèle:template and Modèle:template completed.
- March 8 - Modèle:template done.
- March 9 - Most big French templates sorted. Setting up new vote for auto-adding other language verbs at Wiktionary:Votes/2008-03/Keenebot2 to auto-add foreign-language verb forms.
- March 11 - Edit count: 41000. Bearing in mind that more French "stem" entries were made since the beginning, the 39000 estimate was pretty spot on.
- March 15 - Tested as a French noun, using offline templates - 1 for masculine nouns and one for feminine nouns. See jouets.
- March 16 - Rolled out loads of auto-French-plurals, using Category:French feminine nouns as a base.
- French skipped up to 4th place in the stats, eclipsing Finnish
- March 18 - Rolled out loads of auto-French-plurals, using Category:French masculine nouns as a base.
- March 20 - Started attacking the adjectives, using Template:fr-adj's whatlinkshere page. Still not finished with the masculine/invariable nouns though.
- March 22 - Finished all French adjective forms and French noun forms using workable templates. Time for a break from the bot, methinks, with 47500ish edits.
- April 5 - Plan to branch into Romanian, using Template:ro-conj-a-ez and User talk:Opiaterein as my sources. Instead of publishing Wiktionary:Votes/2008-03/Keenebot2 to auto-add foreign-language verb forms, which is really bureaucratic, started a Beer Parlour thread to get permission.
- Completed section for all pages linking to Template:ro-conj-a-ez (Except those without a pronunciation section in the infinitive)
- April 13 - c. 52900 edits to date.
To do
[modifier le wikicode]Start with all regular -er verbs, from Modèle:tempAll other regular verbs.- Other languages with logical conjugation/declension (Bulgarian ones should be fun. Using Template talk:conjugation of is another good starting point.
Adding plurals and feminines of French nouns (made easier with the 2 categories - Category:French masculine nouns and Category:French feminine nouns).- Adding plurals of other language nouns
- Adding inflections of other language nouns
- Making use of everything in Category:Conjugation and declension templates to auto-add loads more pages for languages I don't even know.
- Add pronunciation and homophones to the above pages.
- Trawl through this page to find unconjugated.uncategorised French verbs.