Skip to content

dracos/datasette-doublemetaphone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"]'

About

Datasette plugin for Double Metaphone

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages