TheFuzz v0.3.0 TheFuzz.Similarity.NGram
This module contains functions to calculate the ngram distance between two given strings based on this paper
Summary
Functions
Calculates the ngram similarity between two given strings with a default ngram size of 2
Calculates the ngram similarity between two given strings with a specified ngram size
Functions
Calculates the ngram similarity between two given strings with a default ngram size of 2
Examples
iex> TheFuzz.Similarity.NGram.compare("context", "contact")
0.5
iex> TheFuzz.Similarity.NGram.compare("ht", "nacht")
0.25