Pronouncing words with WyabdcRealPeopleTTS

From QStarDict wiki
Revision as of 17:25, 19 September 2008 by Alex (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

WyabdcRealPeopleTTS is an audio collection of english words.

Installation

If WyabdcRealPeopleTTS is installed on your computer, skip this section.

  • Download a tarball with WyabdcRealPeopleTTS.
  • Extract and install it using this command
sudo tar xjvf WyabdcRealPeopleTTS.tar.bz2 -C /usr/share

on Ubuntu or

su -c 'tar xjvf WyabdcRealPeopleTTS.tar.bz2 -C /usr/share'

on other distributions.

Script for pronouncing words

Install sox program and create script "~/.pronounce-word.sh" with following code:

#!/bin/bash
 
TTS_PATH=/usr/share/WyabdcRealPeopleTTS
WORD=`echo $* | tr A-Z a-z`
for WORD2 in $WORD
    do play ${TTS_PATH}/${WORD2:0:1}/${WORD2}.wav
done

QStarDict configuration

Set QStarDict for pronouncing words using this command

bash /your/home/directory/.pronounce-word.sh %s

Example is displayed on screenshot:

Qstardict WyabdcRealPeopleTTS.png

Personal tools