Last active
July 5, 2018 04:21
-
-
Save ikegami-yukino/a71956799866b77e53b553fbd1ca4431 to your computer and use it in GitHub Desktop.
Install Sentencepiece on mac OS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install autoconf automake libtool protobuf | |
pushd . | |
git clone --depth=1 https://github.com/google/sentencepiece.git /tmp/ | |
cd /tmp/sentencepiece | |
perl -i -pe 's/libtoolize/glibtoolize/' autogen.sh | |
./autogen.sh | |
./configure | |
make | |
make check | |
sudo make install | |
popd | |
rm -rf /tmp/sentencepiece |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment