C# Class Strabo.Core.TextRecognition.JaccardDistance

Mostra file Open project: spatial-computing/strabo-learning-ocr-transformation Class Usage Examples

Public Methods

Method Description
GetDistance ( String source, String target ) : float
GetDistanceFast ( String source, String target ) : float
JaccardDistance ( ) : System

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

JaccardDistance ( int size ) : System

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

Method Details

GetDistance() public method

public GetDistance ( String source, String target ) : float
source String
target String
return float

GetDistanceFast() public method

public GetDistanceFast ( String source, String target ) : float
source String
target String
return float

JaccardDistance() public method

Creates an N-Gram distance measure using n-grams of size 2.
public JaccardDistance ( ) : System
return System

JaccardDistance() public method

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