Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-05-02 (7 months ago) RSS 2.0 feedNot enough user ratingsTotal: 817 This week: 1All time: 3,903 This week: 1,188Up
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
Name: Cesar D. Rodas is available for providing paid consulting. Contact Cesar D. Rodas .
Classes: 37 packages by
Country: Paraguay Paraguay
Age: 27
All time rank: 71 in Paraguay Paraguay
Week rank: 38 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 24x

Winner: 5x

  Files folder image Files  
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

  Files folder image Files  /  example  
File Role Description
  Accessible without login Plain text file index.php Data First commit
  Accessible without login Plain text file learn.php Example First commit
  Accessible without login Plain text file suggest.php Example First commit

  Files folder image Files  /  lib  
File Role Description
Files folder imagecrodas (1 directory)

  Files folder image Files  /  lib  /  crodas  
File Role Description
Files folder imageAutocomplete (3 files)

  Files folder image Files  /  lib  /  crodas  /  Autocomplete  
File Role Description
  Plain text file Autocomplete.php Class First commit
  Plain text file DBInterface.php Class First commit
  Plain text file PDOConn.php Class First commit

  Files folder image Files  /  tests  
File Role Description
  Accessible without login Plain text file bootstrap.php Aux. First commit
  Accessible without login Plain text file PathTest.php Test First commit

 Version Control Unique User Downloads Download Rankings  
 100%Total:817All time:3,903
 This week:1This week:1,188Up
 User Comments (1)  
 
good
1 year ago (Rahul Shambharkar)
72%StarStarStarStar