LEVENSHTEIN With Modifier (EXACT) - trillium_discovery - trillium_quality - 17.1

Trillium Control Center

Product type
Software
Portfolio
Verify
Product family
Trillium
Product
Trillium > Trillium Discovery
Trillium > Trillium Quality
Version
17.1
Language
English
Product name
Trillium Quality and Discovery
Title
Trillium Control Center
Topic type
Overview
Administration
Configuration
Installation
Reference
How Do I
First publish date
2008

The EXACT modifier is used with the LEVENSHTEIN routine to specify the number of exact characters to match at the beginning or the end of the string. If the strings do not satisfy the condition set by the modifier, Nomatch (2) is returned.

Syntax

EXACT (m,n

where

  • m is the number of exact characters to match at the beginning of the string. Default is 0.
  • n is the number of exact characters to match at the end of the string. Default is 0.

Example 1

EXACT(1,2)

String 1 - ISABELLA

String 2 - ISAVELLA

The score is 99 -1= 98 because these strings satisfy the condition of EXACT(1,2) and the distance is 1 as one substitution ('V' for 'B') is required.

Example 2

EXACT(1,1)

String 1 - THAT

String 2 - PATH

The Nomatch score (2) is returned as these strings do not satisfy the condition of EXACT(1,1).