C# Class SpellChecker.Net.Search.Spell.NGramDistance

Afficher le fichier Open project: spatial-computing/strabo-learning-ocr-transformation Class Usage Examples

Méthodes publiques

Méthode Description
GetDistance ( String source, String target ) : float
NGramDistance ( ) : System

Creates an N-Gram distance measure using n-grams of size 2.

NGramDistance ( int size ) : System

Creates an N-Gram distance measure using n-grams of the specified size.

Method Details

GetDistance() public méthode

public GetDistance ( String source, String target ) : float
source String
target String
Résultat float

NGramDistance() public méthode

Creates an N-Gram distance measure using n-grams of size 2.
public NGramDistance ( ) : System
Résultat System

NGramDistance() public méthode

Creates an N-Gram distance measure using n-grams of the specified size.
public NGramDistance ( int size ) : System
size int The size of the n-gram to be used to compute the string distance.
Résultat System