Extension:Wikispeech/sv

Projektet Wikispeech har som målsättning att skapa ett text till tal-verktyg för att göra Wikimedias projekt mer tillgängliga för folk som har svårt att läsa av olika orsaker. Wikispeech kommer tillgängliggöras som ett MediaWiki-tillägg. Mer information finns på projektsidan; sidan finns precis ovanför själva Wikispeech-tillägget.

Speechoid


Dokumentation



Tillägget använder en tjänst för TTT-operationer, som att skapa ljud för uttal som kallas Speechoid. Speechoid består av en huvudserver, en lexikonserver, TTT-motorer och ytterligare vissa komponenter som krävs för vissa språk,

För att förbereda ett uttal för uppläsning, tillägget skickar en begäran till tjänsten. Begäran innehåller uttalet som text, vilket språk det är och vilket röst som ska användas. The service processes the text using a lexicon and one of the installed TTS engines, depending on what voice is being used. Once the audio has been generated, a response is returned with audio data along with some information that will enable highlighting and skipping. This is then used by the extension to actually play the utterance to the user and the process is repeated for the following utterances as needed.

Main Wikispeech Server
Repository

The main server has a web API that includes an endpoint for generating speech. It handles internal communication between the underlying servers, listed below.

Pronlex
Repository

A lexicon server with its own API. Holds information about lexicon entries and has endpoints for lookup and manipulation of them. When processing an utterance, words are looked up in the lexicon and if there is a matching entry it is used for the pronunciation.

TTS engines
The server supports having multiple TTS engines. Which one is used for a certain utterance depends on which voice is given in the request.

MaryTTS
Repository

Comes with support for Arabic, English and Swedish.

Mishkal
Repository

Used to vocalize Arabic text.

Symbolset
Repository

Symbolset is a repository for handling phonetic symbol sets and mappers/converters between different symbol sets and languages.

Setting up Speechoid
The Wikispeech extension requires Speechoid to generate audio. Detailed instructions for installing Speechoid can be found on Installing Speechoid.

Basic configuration
For the Wikispeech extension to be able to communicate with Speechoid, you need to specify the service's URL. You can do this by adding the following line to :

where  is the URL to your Speechoid instance.

CSS
This is a subset the CSS rules that are most interesting for a non-developer.