OpenRefine's clustering feature currently only supports built-in distance metrics (Levenshtein and PPM) and…
OpenRefine's clustering feature currently only supports built-in distance metrics (Levenshtein and PPM) and…: a task in LegoFlow-SWE (Harbor dataset). We need to support user-defined distance functions and keyers expressed in GREL (or other expression languages). A user-defined distance function…
The task
We need to support user-defined distance functions and keyers expressed in GREL (or other expression languages). A user-defined distance function should take two arguments (say `a` and `b`) and return their distance as a numeric value. For example, a user should be able to define a custom distance like…
Part of Lego-X/LegoFlow-SWE.