nggiahao/rake-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nggiahao/rake-php

Composer 安装命令:

composer require nggiahao/rake-php

包简介

PHP implementation of Rapid Automatic Keyword Exraction algorithm (RAKE)

README 文档

README

Latest Version on Packagist Total Downloads License

PHP implementation of Rapid Automatic Keyword Exraction algorithm (RAKE)

Currently Supported Languages

  • English US
  • Spanish

Installation

You can install the package via composer:

composer require nggiahao/rake-php

Usage

use Nggiahao\RakePhp\RakePhp;

$text = "The Criteria of compatibility of a system of linear Diophantine equations, strict inequations, and nonstrict inequations are considered the.
         Upper bounds for components of a minimal set of solutions and algorithms of construction of minimal generating sets of solutions for all types of systems are given.";

$stop_words = new English();
$keywords = RakePhp::create($stop_words)->extract($text)->sortByScore('desc')->keywords();
array:16 [
  "linear diophantine equations" => 9.0
  "minimal generating sets" => 8.5
  "minimal set" => 4.5
  "strict inequations" => 4.0
  "nonstrict inequations" => 4.0
  "upper bounds" => 4.0
  "criteria" => 1.0
  "compatibility" => 1.0
  "considered" => 1.0
  "components" => 1.0
  "solutions" => 1.0
  "algorithms" => 1.0
  "construction" => 1.0
  "types" => 1.0
  "systems" => 1.0
  "given" => 1.0
]

Testing

composer test

Credits

License

The MIT License (MIT). Please see License File for more information.

PHP Package Boilerplate

This package was generated using the PHP Package Boilerplate.

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-11-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固