msaari/relevanssi-premium-snowball-stemmer
Composer 安装命令:
composer require msaari/relevanssi-premium-snowball-stemmer
包简介
Snowball Stemmer for Relevanssi Premium
README 文档
README
This simple WordPress plugin adds the Wamania PHP Stemmer for Relevanssi Premium. Wamania PHP Stemmer includes Snowball stemmers for over dozen languages. For the exact list, see the Wamania PHP Stemmer Github.
Requirements
Using this plugin requires Relevanssi Premium.
Installing
You can use this as a Composer requirement:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/msaari/relevanssi-premium-snowball-stemmer.git"
}
],
"require": {
"msaari/relevanssi-premium-snowball-stemmer": "*"
}
}
If you install the plugin manually, ensure the dependencies get installed.
Usage
Install the plugin. That will add a new "Stemmer" tab in the Relevanssi settings page. You can set the stemmer language there and then just rebuild the index.
Changelog
1.6
- Updates wamania/php-stemmer to version 4.0.0.
- Adds the
relevanssi_stem_multiple_languagesfilter hook to use the current language for stemming.
1.5
- When Relevanssi is set to use the AND operator, stemmer only returns the stemmed word instead of returning both stemmed word and the original word.
1.4
- Adds the
relevanssi_stemmer_allow_stemmingfilter hook to exclude words from being stemmed. - Updates wamania/php-stemmer to version 3.0.0.
1.3
- Adds
relevanssi_disable_stemmerandrelevanssi_enable_stemmeractions Relevanssi Premium 2.15.1 needs.
1.2
- Returns to use wamania/php-stemmer now that it includes the Finnish stemmer.
- Fixes a bug in the Finnish stemmer.
1.1.1
- Adds
repositoriespart to thecomposer.json
1.1
- Adds Finnish
- Uses msaari/php-stemmer instead of wamania/php-stemmer
- The stemmer returns both the stemmed word and the original word
License
This plugin is licensed under GPL2 license. The Wamania PHP stemmer is by Wamania, and is licensed under the MIT license.
msaari/relevanssi-premium-snowball-stemmer 适用场景与选型建议
msaari/relevanssi-premium-snowball-stemmer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 971 次下载、GitHub Stars 达 10, 最近一次更新时间为 2024 年 10 月 09 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 msaari/relevanssi-premium-snowball-stemmer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 msaari/relevanssi-premium-snowball-stemmer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 971
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 23
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2024-10-09