rename(unitproc/bkt-replace_apostrophes):Was replace_contractions
[BK-2020-03.git] / unitproc / bkipas.d / README.org
... / ...
CommitLineData
1* bkipas.d
2** Description
3This directory contains files necessary to execute the bash script
4~bkipas~.
5
6The file ~lexconvert.py~ is a python3 script referenced by [[https://github.com/espeak-ng/espeak-ng/issues/539#issuecomment-536192362][this]] post
7in the eSpeak github discussion forum. The file may be obtained at
8[[https://github.com/ssb22/lexconvert][this]] git repository. Only the required file is kept in this
9directory. ~lexconvert.py~ converts an argument IPA string into
10"eSpeak's phoneme mneumonics" that may be passed via stdout to an
11~espeak~ command.
12
13The bash script ~bkipas~ performs the ~lexconvert.py~, ~espeak~,
14and ~oggenc~ commands in order to produce an Ogg Vorbis file. An
15example of such a command group is:
16
17: $ python3 lexconvert.py --phones2phones unicode-ipa espeak "təˈmeɪtoʊ" | espeak --stdout | oggenc -o /tmp/tomato.ogg -