dakota/multibyte-keyword-generator
Composer 安装命令:
composer require dakota/multibyte-keyword-generator
包简介
Composer installable fork of peterkahl's multibyte keyword generator
README 文档
README
Copyright (c) 2009-2012, Peter Kahl. All rights reserved. www.colossalmind.com
https://github.com/peterkahl/multibyte-keyword-generator
About
This PHP class is based in large part on the "Automatic Keyword Generator" class by Ver Pangonilo with additional improvements, among them being better word segmentation and ability to handle multibyte strings.
This class automatically generates META Keywords for your web pages based on the contents of a text string. This eliminates the tedious process of thinking what the best keywords are. The main principle of this method is the number of occurrences of single words or multiple words in a text string.
The string supplied to this class may contain HTML tags and punctuations. Advantage is taken from the presence of line breaks and punctuations to better guess the best multiple word keyphrases.
This Multibyte Keyword Generator will automatically create single word keywords, 2-word and 3-word keyphrases. All keywords and keyphrases are filtered to remove common (useless) words. Common words are defined within the class and can be associated with specific language.
This class is highly configurable. One can use minimal settings and rely on defaults. Alternatively, one can choose to obtain ANY combination of final result: 1-word keywords, 2-word keyphrases, 3-word keyphrases. Each option can be disabled. For example, one can configure this class to obtain only 1-word keywords, or only 2-word keyphrases, or only 3-word keyphrases, or all, or any combination.
This class is capable of handling multilingual texts and multibyte strings.
This class is capable of handling all European languages and is likely to handle many others as well. You may need to define common (useless) words for your own language if not already part of this class.
License
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Change Log
0.9 ..... 2009-11-05 Initial release
1.0 ..... 2010-01-19 Improved function removeDuplicateKw() to better handle deletion of duplicate plural words (English), such as "class" and "classes".
1.1 ..... 2010-01-19 Changed the function array_one_dim() to array_flatten().
1.2 ..... 2010-08-14 Improved regular expressions in function html2txt().
1.3 ..... 2010-08-20 Added word segmentation for character ':' in function process_text().
1.4 ..... 2011-05-08
1.5 ..... 2012-02-26
1.6 ..... 2012-02-26
1.7 ..... 2012-11-02 Added link to repo on GitHub.
dakota/multibyte-keyword-generator 适用场景与选型建议
dakota/multibyte-keyword-generator 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 143 次下载、GitHub Stars 达 1, 最近一次更新时间为 2014 年 08 月 29 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 dakota/multibyte-keyword-generator 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 dakota/multibyte-keyword-generator 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 143
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GNU
- 更新时间: 2014-08-29