C# Класс SpellChecker.Net.Search.Spell.NGramDistance

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

GetDistance() публичный Метод

public GetDistance ( String source, String target ) : float
source String
target String
Результат float

NGramDistance() публичный Метод

Creates an N-Gram distance measure using n-grams of size 2.
public NGramDistance ( ) : System
Результат System

NGramDistance() публичный Метод

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.
Результат System