Skip to content

Commit

Permalink
added installer for icelandic g2p required by talromur recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Thor committed May 22, 2022
1 parent 047d0c4 commit d569c59
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,7 @@ tools/festival*
tools/speech_tools*
tools/phonemizer*
tools/py3mmseg
tools/anaconda
tools/ice-g2p
tools/fairseq
tools/._*
22 changes: 22 additions & 0 deletions tools/installers/install_ice_g2p.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env bash
set -euo pipefail

if [ $# != 0 ]; then
echo "Usage: $0"
exit 1;
fi

# Install ice-g2p
if [ ! -e ice-g2p.done ]; then
rm -rf ice-g2p
. activate_python.sh
git clone https://github.com/G-Thor/ice-g2p.git
(
set -euo pipefail
pip install ./ice-g2p/

)
touch ice-g2p.done
else
echo "ice-g2p is already installed"
fi

0 comments on commit d569c59

Please sign in to comment.