feat(unitproc):Add bkipas (IPA pronunciation tool)
[BK-2020-03.git] / unitproc / bkipas.d / README.org
1 * bkipas.d
2 ** Description
3 This directory contains files necessary to execute the bash script
4 ~bkipas~.
5
6 The file ~lexconvert.py~ is a python3 script referenced by [[https://github.com/espeak-ng/espeak-ng/issues/539#issuecomment-536192362][this]] post
7 in 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
9 directory. ~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
13 The bash script ~bkipas~ performs the ~lexconvert.py~, ~espeak~,
14 and ~oggenc~ commands in order to produce an Ogg Vorbis file. An
15 example 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 -