Extension:Wikispeech

The Wikispeech project aims to create an open source text-to-speech tool to make Wikimedia's projects more accessible for people that have difficulties reading for different reasons. Wikispeech will be available as a MediaWiki extension. More information can be found on the project page; this page is just about the Wikispeech extension itself. Stable release is planned for 2017.

User guide
See Help:Extension:Wikispeech.

Download
For the General User:

For the Advanced User:

Setting up Wikispeech
These are the instructions to install the TTS server on wmflabs.org.

Creating an instance
Follow instructions on https://wikitech.wikimedia.org/wiki/Help:Instances#Creating_an_instance: To ssh to the new instance, see: https://wikitech.wikimedia.org/wiki/Help:Getting_Started#Project_Instances
 * 1) Log in to https://horizon.wikimedia.org and go to the wikispeech project (in top bar).
 * 2) Compute → Overview and check that there are instances available.
 * 3) Create a Security Group:
 * 4) * Compute → Access & Security → Create Security Group; Name: TTS-provider
 * 5) ** Manage Rules → Add Rule; Port: 10000, Remote: CIDR, CIDR: 0.0.0.0/0
 * 6) Open Launch Instance dialogue (Compute → Instances → Launch Instance):
 * 7) Details: only set Instance Name: wikispeech-tts
 * 8) Source: Select boot source: Image, under Available: add debian-9.1-stretch
 * 9) Flavor: Under Available: add m1.medium (marytts uses ~ 1.1 GB on local machine)
 * 10) Security Groups: Under Available: add default, TTS-provider, web-server
 * 11) Make services accessible through proxy, DNS → Web proxies → Create proxy
 * 12) Hostname: wikispeech-tts, Backend instance: wikispeech-tts, Backend port: 10000
 * 13) Hostname: wikispeech-tts-audio, Backend Instance: wikispeech-tts, Backend port: 80

Install TTS server
The TTS server consists of three components: MaryTTS (TTS platform), pronlex (a pronunciation lexicon database) and wikispeech_mockup (wikispeech API). Installation instructions can be found at http://stts-se.github.io/wikispeech/.

Start processes in
This can be helpful while developing/experimenting.

As user tts-agent: You can now detach the screen + ,  and resume with. Note that  is required to run   each time you become tts-agent.
 * , needed to get screen running (http://serverfault.com/a/116830)
 * 1) Start MaryTTS
 * 2) Create new window:  +  ,
 * 3) Start pronlex
 * 4) Create new window
 * 5) Start wikispeech.py
 * 1) Start pronlex
 * 2) Create new window
 * 3) Start wikispeech.py
 * 1) Create new window
 * 2) Start wikispeech.py

Setting Wikispeech up on shared hosting
See Extension:Wikispeech/Installation on a shared host