2017 © Pedro Peláez
 

library word-count

Get the word count with ranking.

image

alshaya/word-count

Get the word count with ranking.

  • Thursday, January 18, 2018
  • by sankeerth
  • Repository
  • 0 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

This module splits the sentence into each words and assign rank based on the no of occurrence., (*1)

Steps to use: 1. Install via composer "composer require alshaya/word-count" 2. create test file in the root folder. a. include the autoloader to load the class. //require_once DIR . '/vendor/autoload.php'; b. initialize the root class //$instance = new alshaya\WordCount\GetCount(); c. Set the text to be checked //$instance->setText("fsfsf"); d. Call the function which ranks the given text and arguments can be either arrya or json //$result = $instance->getWordRanking("array");, (*2)

The Versions

18/01 2018

dev-master

9999999-dev

Get the word count with ranking.

  Sources   Download

MIT

The Requires

  • php ~5.6.5|7.0.2|7.0.4|~7.0.6

 

by Sankeerth Kanth