ASPL Manual v 1.00
© 2024 by SetSphere.COM


9-1

   Fuzzy Matching in Set Operations

Fuzzy matching is a match between two strings based on a distance called Levenshtein distance degree. The degree is settable with the fuzzy command, and ASPL provides five set operators to do fuzzy set operators: y&, yU, y\, yD,yP and their corresponding synonymous y*&, y*U, y*\, y*D, y*P.

■ The fuzzy Command

At the ASPL prompt when you type the command fuzzy the distance in degree is printed as an integer.

You can set the fuzzy distance by typing fuzzy followed by the integer that represents that distance.

 

Example 9.1.1

Operation Using Fuzzy Set Operators on UNIX Filesystem

The following example shows fuzzy operations performed on the sample WS1 workspace:

       display or terminal for Example: Operation Using Fuzzy Set Operators on UNIX Filesystem
viewme

 -E- Display. 9.1.1   [Operation Using Fuzzy Set Operators on UNIX Filesystem][Operation Using Fuzzy Set Operators on UNIX Filesystem]
Operation Using Fuzzy Set Operators on UNIX Filesystem

 

Example 9.1.2

Operation Using Fuzzy Set Operators on Random-Bit Group

The following example shows fuzzy operations performed on the sample RANDONEBIT workspace:

       display or terminal for Example: Operation Using Fuzzy Set Operators on Random-Bit
viewme

 -E- Display. 9.1.2   [Operation Using Fuzzy Set Operators on Random-Bit Group][Operation Using Fuzzy Set Operators on Random-Bit Group]
Operation Using Fuzzy Set Operators on Random-Bit