2017 © Pedro Peláez
 

library wordranker

Ranks words according to a given criteria

image

usama-ashraf/wordranker

Ranks words according to a given criteria

  • Tuesday, February 28, 2017
  • by usama.ashraf
  • Repository
  • 1 Watchers
  • 0 Stars
  • 168 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 4 % Grown

The README.md

PHP Word Ranker, (*1)

composer require usama-ashraf/wordranker, (*2)

use Wordranker\Clients\WordRankerClient;


$text = 'a quick brown fox jump over the';

$blacklist = ['a' , 'over', 'the'];

$ranker = new WordRankerClient($text, $blacklist, '/[a-z]/');

$words = $ranker->rank();

/**
  [
    'quick' => 0.0,
    'brown' => 0.0,
    'fox'   => 0.0,
    'jump'  => 0.0
  ] 
**/

The Versions

28/02 2017

dev-master

9999999-dev

Ranks words according to a given criteria

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Usama Ashraf

28/02 2017

dev-dev

dev-dev

Ranks words according to a given criteria

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Usama Ashraf