fuzzy_compare v1.0.0 FuzzyCompare.Preprocessor View Source
This module allows for the preprocessing of strings which will be used in the comparision. Preprocessing is vital for high quality results. During processing the input strings are upcased, all punctuation is stripped, excess whitespace is trimmed and a Map of values is returned which is used by all other comparison functions. This allows for the reuse of preprocessed values and prevents each comparison function from rerunning the preprocessing.
Link to this section Summary
Link to this section Functions
Link to this function
process(string)
View Source
process(binary()) :: FuzzyCompare.Preprocessed.t()
Link to this function
process(left, right)
View Source
process(binary(), binary()) :: {FuzzyCompare.Preprocessed.t(), FuzzyCompare.Preprocessed.t()}