- lower: Lean.FuzzyMatching.CharType
- upper: Lean.FuzzyMatching.CharType
- separator: Lean.FuzzyMatching.CharType
Equations
- One or more equations did not get rendered due to their size.
- head: Lean.FuzzyMatching.CharRole
- tail: Lean.FuzzyMatching.CharRole
- separator: Lean.FuzzyMatching.CharRole
@[inline]
def
Lean.FuzzyMatching.charRole
(prev? : Option Lean.FuzzyMatching.CharType)
(curr : Lean.FuzzyMatching.CharType)
(next? : Option Lean.FuzzyMatching.CharType)
:
Equations
- One or more equations did not get rendered due to their size.
def
Lean.FuzzyMatching.fuzzyMatchScoreWithThreshold?
(pattern : String)
(word : String)
(threshold : optParam Float 0.2)
:
Equations
- Lean.FuzzyMatching.fuzzyMatchScoreWithThreshold? pattern word threshold = Option.filter (fun a => decide (a > threshold)) (Lean.FuzzyMatching.fuzzyMatchScore? pattern word)
def
Lean.FuzzyMatching.fuzzyMatch
(pattern : String)
(word : String)
(threshold : optParam Float 0.2)
:
Equations
- Lean.FuzzyMatching.fuzzyMatch pattern word threshold = Option.isSome (Lean.FuzzyMatching.fuzzyMatchScoreWithThreshold? pattern word threshold)