0

Androidアプリに音声認識オフライン機能を実装する必要があります。ubuntuにインストールしようとしたライブラリsphinxbaseを見つけましたが、問題が発生し、エラーが発生しました。sphinxbaseとpockectsphinxの両方のパッケージをダウンロードし、同じディレクトリに配置しました。ドキュメントによると、この1つのメッセージが発生した後、./ 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
4

1 に答える 1

0

ディレクトリ名のスペースを削除します。 「speechtotext」の名前を「speechtotext」に
変更し てみてください。

于 2013-02-28T04:50:51.140 に答える