Hey Guys,
I am trying to build voice rec for use in Unreal (C++) or Unity (C#) with the Mac OS and have been looking for solutions. I thought I would give this a try because there is a lot of documentation and the forums seem to have active users. Unfortunately, I am already in the weeds :/ I tried to install the latest version (5prealpha) of both sphinxbase and pocketsphinx, but I get the same error when trying to run the command:
./autogen.sh
terminal gets all the way to the end then throws:
checking consistency of all components of python development environment... yes
checking for swig... no
checking for swig2.0... no
configure: error: swig not found
The swig files are in the folder, I don't understand why they aren't being seen. Any ideas?
I did successfully download and install both sphinxbase 0.8 and pocketsphinx 0.8.
Also, would love some opinions on which environment is easier to integrate with between C++ and C#. I am guessing C++ is easier, any help would be awesome! Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The installation log tells you miss swig binary, not swig files. You need to install swig binary with package manager.
Both C# and C++ are easy to use with pocketsphinx, first requires tiny wrapper you can write with interop framework, for second you can just include headers as is.
All those things are covered in detail in various tutorials, it will take you 5 minutes to search in Google and read.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Wow! Thank you for the fast repsonse! I can't believe I missed that, I am up and running now. I figure I could find a lot of help on the internets and it's amazing there is a help community. My goal is to get speech to text working first. I guess I will roll with whichever langauge gives me the best headstart since I need to create wrappers for both C++ and C#.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey Guys,
I am trying to build voice rec for use in Unreal (C++) or Unity (C#) with the Mac OS and have been looking for solutions. I thought I would give this a try because there is a lot of documentation and the forums seem to have active users. Unfortunately, I am already in the weeds :/ I tried to install the latest version (5prealpha) of both sphinxbase and pocketsphinx, but I get the same error when trying to run the command:
./autogen.sh
terminal gets all the way to the end then throws:
checking consistency of all components of python development environment... yes
checking for swig... no
checking for swig2.0... no
configure: error: swig not found
The swig files are in the folder, I don't understand why they aren't being seen. Any ideas?
I did successfully download and install both sphinxbase 0.8 and pocketsphinx 0.8.
Also, would love some opinions on which environment is easier to integrate with between C++ and C#. I am guessing C++ is easier, any help would be awesome! Thanks!
Hello John
It is great you are trying cmusphinx
The installation log tells you miss swig binary, not swig files. You need to install swig binary with package manager.
Both C# and C++ are easy to use with pocketsphinx, first requires tiny wrapper you can write with interop framework, for second you can just include headers as is.
All those things are covered in detail in various tutorials, it will take you 5 minutes to search in Google and read.
Wow! Thank you for the fast repsonse! I can't believe I missed that, I am up and running now. I figure I could find a lot of help on the internets and it's amazing there is a help community. My goal is to get speech to text working first. I guess I will roll with whichever langauge gives me the best headstart since I need to create wrappers for both C++ and C#.