2022年社群願望清單調查/為國際音標(IPA)生成音訊
| 為國際音標(IPA)生成音訊 | |
|---|---|
| 為維基媒體基金會專案的讀者生成國際音標(IPA)的音訊檔 | |
| 群組: | 維基媒體語言工程 |
| 团队成员: | Pau Giner, Amir Aharoni, Santhosh Thottingal, Niklas Laxstrom, Kartik Mistry, Mary Munyoki, Nik Gkountas |
| 领导: | Pau Giner (產品負責人), Niklas Laxstrom (工程經理) |
| 更新: | 更新 |
大家好,感謝各位前來閱讀關於「國際音標(IPA)標記音訊」的詳細資訊。這是出自2022年社群願望清單調查的第9項願望。本文將概述我們為實現此願望所採取的解決方案。我們誠摯邀請各位提供回饋與見解,以便我們能做出最佳的改進。
願望目標摘要: 為維基媒體基金會(WMF)專案的讀者生成國際音標(IPA)標記的音頻。
背景和问题
什麼是 IPA?
The English Wikipedia page for International Phonetic Alphabet (IPA) describes it as an alphabetic system of phonetic notation based primarily on the Latin script. IPA is a standardized representation of the documented possible speech sounds that humans can generate making use of their vocal instruments in written form.
This markup allows for contributors to add IPA to our projects so that others who may not know how to pronounce a word can learn how. However, because only very few people on the planet read this notation, it is practically impossible for folks to discern how to pronounce something purely based on IPA notation. While IPA coverage is strong across the projects in the Wikiverse, this does not necessarily mean that folks will know how to pronounce a word.
IPA存在于我们维基计划的哪里?
IPA exists in multiple Templates inside the WMF-supported projects. As of today, the associated Wikidata object for Template:IPA lists that there are:
- 維基百科:177 個條目
- 維基教科書:21 個條目
- 維基新聞:1 個條目
- 維基語錄:3 個條目
- 維基文庫:5 個條目
- 維基學院:4 個條目
- 維基導遊:5 個條目
- 維基詞典:85 個條目
- 多語言網站:3 個條目
以下是我們專案中兩個關於IPA的實例:
眼前這項工作的隱藏複雜性究竟在哪裡?
Given that there are many instances of IPA coverage in the WMF products, a large portion of the complexity will be in understanding what libraries are available to us and have the best coverage across languages.
There is also the pre-existing reality that IPA has some languages that do not have dedicated keys for the speech sounds that a given language can make.
A large portion of the complexity will include:
- Investigating, comparing, and testing which library gives the projects the most language coverage while still remaining a stable solution
- Here is a demo of the different Text to Speech engines and how they sound with a sample corpus of IPA input
- Here is the public documentation of the investigations into the strengths and weaknesses of each of the engine options
- Ensuring that the phonetic library we end up deciding to use can benefit the most number of instances of IPA projects
範圍與限制
The focus of this project is around readers’ inability to read IPA markup.
- The project will NOT address the pre-existing equity concerns associated with IPA. While we may do our best to mitigate the equity shortcomings of IPA, it is not part of scope to tackle this
- This project will NOT generate new phonetic library, we will use a pre-existing audio library
The project will NOT address the content generation of IPA notation on the wikis, i.e. the Editor experience. This is mitigated by offering the rendered audio for IPA notation with no pre-existing audio associated with it
資料的調查與未知
- 有多少使用者會嘗試聆聽國際音標(IPA)的發音?
- 在所有專案中,共存在多少個IPA模板?
- 我們專案中對國際音標(IPA)的人工發音支援範圍為何?
- 哪些需要國際音標(IPA)標記的內容尚未標註?
為何我們接受這個願望?以及我們如何接受?

這項功能提案在我們2022年的優先順序評估過程中獲得了高分。無論是投票數、對社群帶來的效益,還是預估的複雜度,都表現出色。請參閱 我們的完整流程。
Release timeline
| Item | Owner | Status | Actual Date | Target Date | Notes |
|---|---|---|---|---|---|
| Confirm all tasks merged and ready | |||||
| Legal review | |||||
| Security review of Phonos extension (signoff) | KSiebert (WMF) | Sep 1 2022 | N/A |
| |
| Deploy Phonos to beta cluster | TheresNoTime-WMF | Oct 11 2022 | N/A | ||
| Security review of Phonos extension (approval) | 2022-11-25 | 2022-11-25 | |||
| Determine pilot projects for Phonos rollout | STei (WMF) | Nov 15 2022 |
| ||
| Announcement in Tech/News | |||||
| Deploy to testwiki | MusikAnimal | 2022-11-29 | 2022-11-30 | * Including a simulation of a larger-scale template deployment to test job queuing | |
| Deploy to pilot wikis | HMonroy (WMF) | 2023-01-17 | 2023-01-09 | ||
| Deploy to Group 0 | The remaining wikis (outside of test and pilots) may not all be done by Group if we end up slow-rolling this. | ||||
| Deploy to Group 1 | |||||
| Deploy to Group 2 | |||||
| Announcement on project page & any tool-specific pages | |||||
| Announcement in #release-announcements Slack channel | |||||
| Bugs identified and cut | |||||
| Bugs triaged |
Status Updates
Update: Phonos in-line player enabled in some Wikis
Hello all,
Some Wikis can now use inline audio player implemented by the Phonos extension. Your audio links can play on clicks in the Wikis where the inline audio player is enabled.
With the inline audio player, you can add text-to-speech audio snippets to wiki pages by simply using a tag:
<phonos file="audio file">Listen</phonos>
The above tag will show the text next to a speaker icon, and clicking on it will play the audio instantly without taking you to another page. A common example where you can use this feature is in adding pronunciation to words as illustrated on the English Wiktionary below.
{{audio|en|en-uk-English.oga|Audio (UK)}}
Could become:
<phonos file="en-uk-English.oga">Audio (UK)</phonos>
You can read about the feature and give us feedback or ask questions about it in this talk page.
June 2023 Update: IPA transition to Language Team
Hello all,
We have news about IPA Audio Renderer, the 9th most popular wish of the 2022 Community Wishlist Survey.
Community Tech will hand over the project to the Language Team this June. This decision is due to the Language team's expertise in localization, and their focus to create a suite of open language-supporting services such as the MinT machine translation service.
In addition to machine translation, the Language team plans to expand the offering of open language services with Text-to-Speech, creating a stable technological foundation for projects such as the IPA Audio Renderer.
Also, with the need to optimize Wikimedia's 2023-24 annual budget, the above makes them the right team to expand and maintain the IPA since they have resources for this kind of work.
Over the past few months, Community Tech has collaborated with some of you to build and deploy the feature on some pilot wikis. Thank you for working with us.
If you have any questions regarding the deployment of the IPA Audio Renderer, please ask on our talk page.
We hope you collaborate kindly with the Language Team in the subsequent phases of this project.
Update: Open Questions: We want to hear from you!
- Can you help us build out the corpus of IPA words we will use to test the different libraries?
- Do you know of any open source libraries that we should consider while we investigate our options?
- Do you see any risks to introducing the audio files inside the reader experiences?
- Let us know any other thoughts you may have on the initial problem statement inside the talk page!