由于 Thinking Sphinx 和它底层的 Riddle 对新版本的 sphinx-for-chinese 识别有问题,所以如果你使用高于 0.9.9 的 sphinx-for-chinese 会看见以下错误:
问题一:
引用
Sphinx cannot be found on your system. You may need to configure the following
settings in your config/sphinx.yml file:
* bin_path
* searchd_binary_name
* indexer_binary_name
For more information, read the documentation:
http://freelancing-god.github.com/ts/en/advanced_config.html
问题二:
引用
Riddle cannot detect Sphinx on your machine, and so can't determine which
version of Sphinx you are planning on using. Please use one of the following
lines after "require 'riddle'" to avoid this warning.
require 'riddle/0.9.8'
# or
require 'riddle/0.9.9'
# or
require 'riddle/1.10'
问题三:
执行 rake ts:stop 等任务时报错
引用
rake aborted!
execution expired
解决办法是在 config/sphinx.yml 中把你实际使用的 Sphinx 版本写上:
development:
version: 2.1.0
分享到:
相关推荐
sphinx-for-chinese-2.1.0源码,请按照说明编译安装。
语音识别库64位pocketsphinx-0.1.15-cp39-cp39-win_amd64.whl.7z
sphinx-for-chinese是一款专注于中文搜索的全文检索软件,在sphinx的基础上添加了中文处理模块并优化了中文搜索效果。
php 全文索引sphinx-for-chinese完整资源包及安装说明
用于64位的windows的pocketsphinx安装文件,防止出现“... error: command 'swig.exe' failed: No such file or directory...”异常问题,安装方法: pip install pocketsphinx-0.1.15-cp37-cp37m-win_amd64.whl
官方给的安装步骤挺麻烦的,这个是最新的pocketsphinx-0.1.15-cp37-cp37m-win_amd64.whl
pocketsphinx-0.1.15-cp36-cp36m-win_amd64
sphinx4-1.0beta6-src 是sphinx4-1.0beta6-bin的详细版
sphinx-for-chinese中文分词字典xdict_1.1.txt资源下载
pocketsphinx-0.1.15-cp39-cp39-win32
pocketsphinx-0.1.15-cp38-cp38-win32
sphinx4-5prealpha-src.zip,sphinx4最新版源码,用java编写,可以做测试。
支持python3.8.2的pocketsphinx语音识别库,安装pip install+路径+pocketsphinx-0.1.15-cp38-cp38-win_amd64.whl
python库,解压后可用。 资源全名:f5_sphinx_theme-1.0.7b1-py2.py3-none-any.whl
资源分类:Python库 所属语言:Python 使用前提:需要解压 资源全名:pocketsphinx-0.1.11-cp27-cp27m-win32.whl 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
sphinx-for-chinese是一款专门为中文优化的全文搜索软件,在sphinx的基础上添加了中文分词模块,极大的提高了中文搜索的性能和效果。
pocketsphinx需要安装的中文语言、声学模型。
sphinx4-1.0beta6-bin.zip 源代码
官方离线安装包,亲测可用