package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

merlin-5.7-505.preview.tbz
sha256=a3047606d06580e251ee8acbeb67f80f1d059238f879e187e10de40b4ec61be7
sha512=871f4e8f1111d086985172a9157812d5e22fd746edeffa8bdb5363f5c8cef2308da36a57d989ae77becec32eaa6ea4e8ef67f9b0247cbd409537701644db563f

doc/merlin-lib.sherlodoc/Merlin_sherlodoc/Name_cost/index.html

Module Merlin_sherlodoc.Name_costSource

Utilities for calculating distances between names.

Sourceval distance : ?cutoff:int -> string -> string -> int option

distance ?cutoff a b returns the Damerau-Levenshtein between a and b.

Sourceval distance_of_substring : ?cutoff:int -> string -> string -> int option

distance_of_substring ?cutoff a b compute the distance by extracting relevant substring from b

Sourceval best_distance : ?cutoff:int -> string list -> string -> int

best_distance ?cutoff words entry compute the best distance of a list of string according to a given string.