Skip to content

Commit

Permalink
Update readme.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
beezee committed Jan 17, 2012
1 parent acf7b42 commit 734464a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.txt
Expand Up @@ -5,7 +5,7 @@ Basic usage:
$terms = array('term1', 'term2', 'etc') //must be unique values only
$tree = new bkTree(array_pop($terms));
$tree->build($terms);
$r = $tree->query('term', 2) //term to find matches for, max levenshtein distance to search.
$r = $tree->query('term', 2) //term to find matches for, max levenshtein distance to accept as match.


$r->matches will contain an array of any matches found based on the threshold passed to query();

0 comments on commit 734464a

Please sign in to comment.