Commit 1bb2aa7a authored by David Tseng's avatar David Tseng Committed by Commit Bot

Update instructions on using tts locally

TBR=dmazzoni

Change-Id: Ide2a25f35c31dbee75096a96c480c8b149cf6761
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2074810Reviewed-by: default avatarDavid Tseng <dtseng@chromium.org>
Commit-Queue: David Tseng <dtseng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#744741}
parent 5159a454
......@@ -79,29 +79,15 @@ If you want speech, you just need to copy the speech synthesis data files to
/usr/share like it would be on a Chrome OS device:
```
sudo git clone https://chromium.googlesource.com/chromiumos/platform/assets /usr/share/chromeos-assets
gsutil ls gs://chromeos-localmirror/distfiles/googletts*
```
Change the permissions:
Pick the latest version and
```
sudo find /usr/share/chromeos-assets -type f -exec chmod 644 {} \;
sudo find /usr/share/chromeos-assets -type d -exec chmod 755 {} \;
```
Next, unzip the NaCl executables. You only need to do the one for your host
architecture:
```
PATTS_DIR=/usr/share/chromeos-assets/speech_synthesis/patts
sudo unzip $PATTS_DIR/tts_service_x86_64.nexe.zip -d $PATTS_DIR
```
You may need to update permissions for the unzipped files within within
speech_synthesis/patts:
```
sudo find $PATTS_DIR -type f -exec chmod 755 {} \;
gsutil cp gs://chromeos-localmirror/distfiles/googletts-13.1.tar.xz /usr/share/chromeos-assets/speech_synthesis/patts/
tar xvf /usr/share/chromeos-assets/speech_synthesis/patts/googletts-13.1.tar.xz
rm /usr/share/chromeos-assets/speech_synthesis/patts/googletts-13.1.tar.xz
```
**Be sure to check permissions of /usr/share/chromeos-assets, some users report
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment