surrealdb_core/fnc/script/modules/surrealdb/functions/string/
similarity.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::run;
use crate::fnc::script::modules::impl_module_def;

#[non_exhaustive]
pub struct Package;

impl_module_def!(
	Package,
	"string::similarity",
	"fuzzy" => run,
	"jaro" => run,
	"jaro_winkler" => run,
	"sorensen_dice" => run,
	"smithwaterman" => run
);