TokenSequenceDistance Method

NReco.NLQuery Class Library Documentation
Returns distrance between tokens in the phrase.

Namespace:  NReco.NLQuery
Assembly:  NReco.NLQuery (in NReco.NLQuery.dll) Version: 1.0.0
Syntax

public int Distance(
	Token t1,
	Token t2
)

Parameters

t1
Type: NReco.NLQueryToken
first token
t2
Type: NReco.NLQueryToken
second token

Return Value

Type: Int32
distance between tokens or -1
See Also

Reference