0
我有兴趣为测试目的设置基于Web的语音识别服务。我做了一些研究,发现了Ruby PocketSphinx Server。他们声称接受作为音频文件的输入并从音频输入中返回带有文本的JSON文件。这正是我需要的。测试PocketSphinx服务器
问题是,我是新来的Ruby和狮身人面像/ PocketSphinx。尽管我遵循documentation来设置环境,但我仍然完全迷失。我得到尽可能运行此命令unicorn -c unicorn.conf.rb config.ru
但得到这个错误:
/usr/lib/ruby/vendor_ruby/unicorn/configurator.rb:74:in `read': No
such file or directory - unicorn.conf.rb (Errno::ENOENT) from
/usr/lib/ruby/vendor_ruby/unicorn/configurator.rb:74:in `reload' from
/usr/lib/ruby/vendor_ruby/unicorn/configurator.rb:67:in `initialize'
from /usr/lib/ruby/vendor_ruby/unicorn/http_server.rb:104:in `new'
from /usr/lib/ruby/vendor_ruby/unicorn/http_server.rb:104:in
`initialize' from /usr/bin/unicorn:121:in `new' from
/usr/bin/unicorn:121:in `<main>'