https://github.com/hooopo/pg-fuzzywuzzy
postgresql fuzzywuzzy extension
https://github.com/hooopo/pg-fuzzywuzzy
Last synced: about 1 month ago
JSON representation
postgresql fuzzywuzzy extension
- Host: GitHub
- URL: https://github.com/hooopo/pg-fuzzywuzzy
- Owner: hooopo
- Created: 2019-02-24T14:32:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-27T09:21:08.000Z (over 6 years ago)
- Last Synced: 2025-03-28T09:43:45.350Z (7 months ago)
- Language: PLpgSQL
- Size: 5.86 KB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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.