|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2018-02-12 (7 months ago) ||Not yet rated by the users||Total: 111 ||All time: 8,930 This week: 411|
This class can suggest words that complete strings.
It takes the name of a file that is read to extract the words to complete.
The class can take some typed letters and return an array with words that complete those letters from the text file.
This is a PHP Class coded using PHP 7
author: Castro Hamiltone
The aim is to provide a sorted ( based on the percentage of the frequecny of occurrence of the suggested word in the source of words ) list of most probable completions of a word given the begining letters of the word and a source of words to be used.
*@param $begining:- string, the begining portion of the word to be completed. e.g 'yo', 'you', or 'your' etc<br>*
*@param $words_source:- string, the filename (.txt) of the text file containing the commonly used words.<br>*
You can use a corpus from The Guternburg Project
array:- possible completions with probability in percentages
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.