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,062 All time: 3,493 This week: 89Up
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: 37
All time rank: 71 in Paraguay Paraguay
Week rank: 200 Down1 in Paraguay Paraguay Equal
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

  Files folder image Files (11)  /  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 (11)  /  lib  
File Role Description
Files folder imagecrodas (1 directory)

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

  Files folder image Files (11)  /  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 (11)  /  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

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,062
This week:0
All time:3,493
This week:89Up
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:1553
 
good
11 years ago (Rahul Shambharkar)
72%StarStarStarStar