PHP Classes

Autocomplete: Suggest words to complete search using edge n-gram

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 1,063 All time: 3,492 This week: 57Up
Version License PHP version Categories
autocomplete-ngram 1.0.0BSD License5.4Algorithms, PHP 5, Databases, Text pr...
Description 

Author

This class can suggest words to complete search using the edge n-gram algorithm.

It can create a SQLite database with indexed words and associated weights using the edge n-gram algorithm.

The class can also obtain autocomplete suggestions for search words by looking up the autocomplete n-gram database.

Innovation Award
PHP Programming Innovation award nominee
September 2013
Number 3


Prize: One downloadable e-book of choice by O'Reilly
Sometimes it is useful to complete words that the user is typing on a form.

This class can guess words that may auto-complete what the user is typing using the edge n-gram algorithm.

Manuel Lemos
Picture of Cesar D. Rodas
  Performance   Level  
Innovation award
Innovation award
Nominee: 25x

Winner: 5x

 

  Files folder image Files (11)  
File Role Description
Files folder imageexample (3 files)
Files folder imagelib (1 directory)
Files folder imagetests (2 files)
Accessible without login Plain text file .travis.yml Data First commit
Accessible without login Plain text file composer.json Data First commit
Accessible without login Plain text file phpunit.xml Data First commit

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:1,063
This week:0
All time:3,492
This week:57Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:68%StarStarStarStar
Documentation:-
Examples:68%StarStarStarStar
Tests:68%StarStarStarStar
Videos:-
Overall:58%StarStarStar
Rank:1571
 
good
11 years ago (Rahul Shambharkar)
72%StarStarStarStar