User:DerbethBot
A bot by Derbeth used for adding IPA and pronunciation files to entries. Also working on Commons, where it uploads new pronunciation files.
Source code: GitHub
Frequently Asked Questions
- The bot just added an audio file that is unacceptable because <reason here>. Can you please fix your bot?
- TL;DR: It's much better to fix the data (Commons).
- Commons should not contain useless or misleading files.
- If an audio file is broken, please nominate it for deletion on Commons. I'm very much willing to help: if you mention me on the deletion request page ([[User:Derbeth|Derbeth]]), I will get a notification about it and will vote in support (if there is a good explanation given).
- In case of languages with non-Latin script, my bot tries to read the pronounced word from the file description on Commons (an example). If the description is misleading, you can simply edit and fix it now.
- I reverted your bot's wrong edit. Does it end the issue?
- No.
- I regularly re-run my bot (sometimes every week), so it will repeat the same edit over and over again.
- If the problem is with Commons file, please fix the Commons file.
- If the Commons file is correct, but my bot does incorrect things, contact me, it may be a bug.
- Can you add the problematic file to a blacklist?
- I prefer not to.
- If I create such a blacklist, the wrong files will remain on Commons, a poor state of affairs. The best course of action is to delete or rename the files on Commons. Audio files are used not only on English Wiktionary, but also on other Wiktionaries. There are other bots that add audio files - I am not able to fix them, and I am not even aware how many of such bots exist.
- What if a file is not acceptable as pronunciation here but cannot be deleted from Commons?
- Renaming will help. The new name should somehow suggest the file is 'nonstandard', hypercorrective, synthesized an so on. Use commons:Commons:File renaming.
- Add the file to at least one of categories that my bot excludes (less optimal, as other bots probably don't use those). See below for those categories.
- The bot does not add audio files to a page, although it's clear that they match. Why?
- Perhaps the page contains definition consisting of more than 1 definition, more than 1 speech part. In such case it impossible to automatically judge whether the audio files matches first, second or all parts. The audio file needs to be added by a human. To help with finding and fixing such cases, generated reports contain list of files that could not be added automatically. Help is appreciated: the bot owner does not have time to edit such a big number of pages.
- Lingua Libre files are rejected by default. This because English Wiktionary users requested less trust for Lingua Libre data. There were cases of poor quality Lingua Libre data uploaded to Commons. Contact me so that I can add the author to the bot 'whitelist'.
- In other cases, please contact me - it might be a bug in the bot.
Selection rules
Lingua Libre files
Rejected by default. Only authors from bot 'whitelist' accepted. I maintain the list in the source code.
Other files
Correctly-named files (like En-cat.ogg or De-Katze.oga) are accepted by default.
Non-standard naming (like Cat.ogg) are mostly rejected, but I do some exceptions and have some rules to 'guess' from bad names (no guarantees for them).
Files from commons:Category:Deletion requests and commons:Category:Speech impediments are always rejected ([https://github.com/Derbeth/perlwiki/blob/master/audio_fetcher.pl#L61 source).
How to prepare a good deletion request
Examples:
- c:Commons:Deletion requests/Image:Kutia.OGG (2007)
- c:Commons:Deletion requests/Image:En-us-Taoiseach.ogg (2007)
- c:Commons:Deletion requests/Spanish pronunciation by Oceancetaceen (2010)
- c:Commons:Deletion requests/File:La-habere.ogg (2011)
- c:Commons:Deletion requests/File:En-us-tine.ogg (2011)
- c:Commons:Deletion requests/File:En-us-sovereignty.ogg (2011)
- c:Commons:Deletion requests/File:Meerut.ogg (2012)
- c:Commons:Deletion requests/File:En-us-absinthe.ogg (2013)
- c:Commons:Deletion requests/File:مايونيز.oga (2013)
- c:Commons:Deletion requests/File:Cs-Ctirad.ogg (2013)
- c:Commons:Deletion requests/File:En-us-food.ogg (2013)
- c:Commons:Deletion requests/File:Cs-Benin.ogg (2013)
- c:Commons:Deletion requests/Files uploaded by Whitecane17 (2015)
- c:Commons:Deletion requests/File:En-us-onward.ogg (2015) - first kept, then deleted
- c:Commons:Deletion requests/File:Fr-flamme.ogg (2015)
- c:Commons:Deletion requests/File:En-us-troll.ogg & (2) (2015) - kept two times (frustrating); deleted in 2017 via c:Commons:Deletion requests/Audio from Forvo.com
- c:Commons:Deletion requests/File:En-us-millers.ogg (2015)
- c:Commons:Deletion requests/File:De-projezieren.ogg (2016)
- c:Commons:Deletion requests/File:De-Fäschung.ogg (2016)
- c:Commons:Deletion requests/File:De-skuril.ogg (2016)
- c:Commons:Deletion requests/File:De-Beprechnung.ogg (2017)
- c:Commons:Deletion requests/File:De-Belkanto.ogg (2017)
- c:Commons:Deletion requests/File:De-agglutinierent.ogg (2017)
- c:Commons:Deletion requests/File:He-בֹּהוּ.ogg (2018)
- To find more, search Deletion requests for "pronunciation".
Reports
Reports contain list of files that need to be added manually. There are cases where the bot is not able to add audio files because the article structure is non-standard, sometimes it is explicitly prohibited from doing so, for example when there are multiple etymologies (and only human can decide what to do with the audio file).
If you can help, please examine the latest report and remove entries you check from the list.