PHP Classes

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

Recommend this page to a friend!
  Info   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 1,059 All time: 3,496 This week: 75Up
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  
Name: Cesar D. Rodas is available for providing paid consulting. Contact Cesar D. Rodas .
Classes: 38 packages by
Country: Paraguay Paraguay
Age: 36
All time rank: 71 in Paraguay Paraguay
Week rank: 100 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 25x

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:1,059
This week:0
All time:3,496
This week:75Up
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:1509
 
good
10 years ago (Rahul Shambharkar)
72%StarStarStarStar