Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create install_openfst.sh #1

Closed
wants to merge 1 commit into from
Closed

Create install_openfst.sh #1

wants to merge 1 commit into from

Conversation

HorstBaerbel
Copy link

I was following the install instructions on vosk-api, but OpenFst was missing. There's no install script for that, so I made one. Please make sure 1.7.5 (latest non-beta) is the correct version and the compile flags are ok. I got these from this blog post.
OpenFst compiles for me (on Ubuntu 19.10 x86 64bit) and "./configure --mathlib=OPENBLAS --shared --use-cuda=no" runs without errors.

I was following the install instructions on [vosk-api](https://github.com/alphacep/vosk-api), but OpenFst was missing. There's no install script for that, so I made one. Please make sure 1.7.5 ([latest non-beta](http://openfst.org/twiki/bin/view/FST/FstDownload)) is the correct version and the compile flags are ok. I got these from [this blog post](http://jcsilva.github.io/2017/03/18/compile-kaldi-android/).
OpenFst compiles for me (on Ubuntu 19.10 x86 64bit) and "./configure --mathlib=OPENBLAS --shared --use-cuda=no" runs without errors.
@nshmyrev
Copy link

Hi. Openfst is installed in kaldi when you run make in tools. There is no need for a separate script I think.

@nshmyrev nshmyrev closed this Jan 26, 2020
@HorstBaerbel
Copy link
Author

No. It didn't .configure for me. It told me OpenFst was not found. I'm running Ubuntu 19.10.

@nshmyrev
Copy link

You need to run make in tools folder first, did you run it? Most likely not.

@HorstBaerbel
Copy link
Author

You're right, I didn't. Sorry. I mostly followed the instructions on vosk-api. I would have been much better off just using "pip install vosk-api", but I didn't realize it would install kaldi too...

@nshmyrev
Copy link

nshmyrev commented Jan 30, 2020

@HorstBaerbel ok, great you figured it out. Let me know if you have further questions.

@HorstBaerbel HorstBaerbel deleted the patch-1 branch February 20, 2020 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants