在ubuntu中为android配置sphinxbase或pocketsphinx

在ubuntu中为android配置sphinxbase或pocketsphinx,android,ubuntu,Android,Ubuntu,我需要为我的android应用程序实现语音到文本的离线功能,我找到了我试图在ubuntu中安装的库sphinxbase,但出现了一些错误。 我已经下载了sphinxbase和pockectsphinx的两个包,并放在同一个目录中,正如文档所说,我成功地运行了./autogen.sh文件。在这一条消息出现后,运行make命令编译包make命令后出现了一些错误 libtool: install: /usr/bin/install -c .libs/libsphinxbase.a /usr/local

我需要为我的android应用程序实现语音到文本的离线功能,我找到了我试图在ubuntu中安装的库sphinxbase,但出现了一些错误。 我已经下载了sphinxbase和pockectsphinx的两个包,并放在同一个目录中,正如文档所说,我成功地运行了./autogen.sh文件。在这一条消息出现后,运行make命令编译包make命令后出现了一些错误

libtool: install: /usr/bin/install -c .libs/libsphinxbase.a /usr/local/lib/libsphinxbase.a
libtool: install: chmod 644 /usr/local/lib/libsphinxbase.a
libtool: install: ranlib /usr/local/lib/libsphinxbase.a/bin/bash: /home/speech: No such file or directory
make[4]: *** [install-libLTLIBRARIES] Error 127
make[4]: Leaving directory `/home/speech to text/Untitled Folder/sphinxbase/src/libsphinxbase'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/home/speech to text/Untitled Folder/sphinxbase/src/libsphinxbase'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/speech to text/Untitled Folder/sphinxbase/src/libsphinxbase'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/speech to text/Untitled Folder/sphinxbase/src'
make: *** [install-recursive] Error 1

去掉目录名中的空格。
尝试将“speechtotext”重命名为“speechtotext”