PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2014-05-02 (5 years ago) RSS 2.0 feedStarStarStarStar 64%Total: 998 All time: 3,595 This week: 395Up
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
  Performance   Level  
Name: Cesar D. Rodas <contact>
Classes: 39 packages by
Country: Paraguay Paraguay
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:998
This week:0
All time:3,595
This week:395Up
User Ratings User Comments (1)
 All time
Utility:83%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:75%StarStarStarStar
Videos:-
Overall:64%StarStarStarStar
Rank:900
 
good
5 years ago (Rahul Shambharkar)
72%StarStarStarStar