| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
Data.Text.Costs
Description
This module supports a general definition of costs for performing edit operations on 2 lists of elements
Documentation
Current operation in a cost matrix and current cost
This component contains functions to evaluate the cost of substituting, inserting, deleting an element
Constructors
| Costs | |
Fields
| |
textLevenshteinCosts :: Costs Char Source #
Classic costs for the Levenshtein distance applied to characters in a piece of Text
levenshteinCosts :: forall a. Eq a => Costs a Source #
Classic costs for the Levenshtein distance