Sphinx如何使用soundex的字形?

问题描述 投票:0回答:1

我正在使用带有soundex形态的sphinx。我想用wordworms。

我需要使用哪种形式的单词?

call keywords ('azori', 'test', 1);

+------+-----------+------------+------+------+
| qpos | tokenized | normalized | docs | hits |
+------+-----------+------------+------+------+
| 1    | azori     | a260       | 1550 | 1551 |
+------+-----------+------------+------+------+
1 row in set (0.00 sec)

在wordforms我需要使用

azouri > azori

要么

azouri > a260
sphinx soundex
1个回答
1
投票

可能是文档中的关键部分:

wordforms ..它也可以用于实现词干异常,因为词干不适用于在表单列表中找到的单词。

http://sphinxsearch.com/docs/current.html#conf-wordforms

...即词干(实际上是形态学,因此soundex)算法不会运行在由字形转换的单词/标记上。因此,是的,你必须手动'soundex'目标关键字。

© www.soinside.com 2019 - 2024. All rights reserved.