This should allow the user to specify the required parameters (word, transcription, lexicon, more?) and add an entry to the lexicon server.
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
[WIP] Edit lexicon special page | mediawiki/extensions/Wikispeech | master | +615 -2 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T133865 ☂Lexicon editor | |||
Resolved | Sebastian_Berlin-WMSE | T181269 ☂Create a special page for adding entries to the lexicon | |||
Resolved | Sebastian_Berlin-WMSE | T274485 Edit lexicon special page should accept URL parameters | |||
Resolved | Sebastian_Berlin-WMSE | T274486 Preview transcription in lexicon editor | |||
Resolved | HaraldBerthelsen | T272027 Allow IPA as input for TTS and for editing lexicon | |||
Resolved | Sebastian_Berlin-WMSE | T274645 Create edit lexicon special page | |||
Resolved | Sebastian_Berlin-WMSE | T274649 Add lexicon entries using Special:EditLexicon | |||
Resolved | None | T274484 Add API action for editing lexicon |
Event Timeline
This page should allow the user to preview the transcription before adding to the lexicon. With the latest version of the TTS-server, I have gotten this to work with at least Swedish.
Since the transcription should be given in IPA, the preview process will likely be something like:
- Map IPA -> SAMPA
- Validate SAMPA (not sure if this is necessary, see question below)
- Synthesize the transcription
Feedback will be given in 2 and 3 if there are any errors.
Wikispeech-STTS, is it possible for a transcription that has been successfully mapped from IPA to a certain SAMPA set to not be valid for that set?
Universal Language Selector adds a nice way of typing IPA that can be used for the transcription field. When enabled, this adds a little popup menu below just about any text field where input method can be selected. The one called "International Phonetic Alphabet - X-SAMPA" seems easy enough to use; the special characters can be found on ⇧ and/or AltGr + key. I haven't found any information like complete key map yet.
Also relevant for T180701: Editor dialogue.
I've managed to salvage my experimental code and now have a solution up and running locally. What remains is to clean up the code and add stuff like message strings.
Change 663519 had a related patch set uploaded (by Sebastian Berlin (WMSE); owner: Sebastian Berlin (WMSE)):
[mediawiki/extensions/Wikispeech@master] [WIP] Edit lexicon special page
Change 663519 abandoned by Sebastian Berlin (WMSE):
[mediawiki/extensions/Wikispeech@master] [WIP] Edit lexicon special page
Reason:
This is no longer needed and confused me.