Interface CharacterSubstitutionInterface
-
public interface CharacterSubstitutionInterfaceUsed to indicate the cost of character substitution. Cost should always be in [0.0 .. 1.0] For example, in an OCR application, cost('o', 'a') could be 0.4 In a checkspelling application, cost('u', 'i') could be 0.4 because these are next to each other on the keyboard...- Author:
- Thibault Debatty
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublecost(char c1, char c2)Indicate the cost of substitution c1 and c2.
-