Skip to content
Datasette plugin for Double Metaphone
Python
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.
datasette_doublemetaphone
tests
.gitignore
LICENSE
README.md
setup.py

README.md

datasette-doublemetaphone

PyPI License

Datasette plugin that adds custom SQL functions for fuzzy string matching, built on top of the Double Metaphone Python library.

As SQLite custom functions must return a string, we have separate calls for the two results, or one that returns a JSON array of the two results.

Examples:

SELECT double_metaphone_main("richard");
    -- Outputs 'RXRT'
SELECT double_metaphone_alt("richard");
    -- Outputs 'RKRT'
SELECT double_metaphone_json("richard");
    -- Outputs '["RXRT", "RKRT"]'
You can’t perform that action at this time.