Skip to content
postgresql fuzzywuzzy extension
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
sql
test
.gitignore
.template
META.json
Makefile
README.md
fuzzywuzzy.control

README.md

fuzzywuzzy

Synopsis

Fuzzywuzzy ratio for postgres.

Description

Fuzzy string matching like a boss. It uses Levenshtein Distance to calculate the differences between sequences in a simple-to-use package

Usage

pgxn install fuzzywuzzy
create extesion fuzzywuzzy;
    select name, ratio(name, '人棉锦纶') as ratio from products order by 2 desc limit 3;
       name   | ratio
    ----------+-------
     人棉锦纶 |   100
     人棉锦纶 |   100
     人棉     |    67

Support

https://github.com/hooopo/pg-fuzzywuzzy

Author

[hooopo]

Copyright and License

Copyright (c) 2019 hooopo.

You can’t perform that action at this time.