eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'PhoneticStringUtilities::MRAStringComparator':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: MRAStringComparator (private in PhoneticStringUtilities

This class is only visible from within PhoneticStringUtilities.

Inheritance:

   Object
   |
   +--PhoneticStringUtilities::PhoneticStringComparator
      |
      +--PhoneticStringUtilities::SingleResultPhoneticStringComparator
         |
         +--PhoneticStringUtilities::MRAStringComparator

Package:
stx:libbasic2
Category:
Collections-Text-Support
Owner:
PhoneticStringUtilities

Description:


Match Rating Approach Encoder

The Western Airlines matching rating approach name encoder

    
    G.B. Moore, J.L. Kuhns, J.L. Treffzs, and C.A. Montgomery,
        ''Accessing Individual Records from Personal Data Files Using Nonunique Identifiers'' 
        US National Institute of Standards and Technology, SP-500-2 (1977), p. 17.


Related information:

    [ttps]

Instance protocol:

api
o  encode: wordIn
see https://en.wikipedia.org/wiki/Match_Rating_Approach

usage example(s):

     self new encode:'Catherine'            -> 'CTHRN'
     self new encode:'CatherineCatherine'   -> 'CTHHRN'
     self new encode:'Butter'               -> 'BTR'
     self new encode:'Byrne'                -> 'BYRN'
     self new encode:'Boern'                -> 'BRN'
     self new encode:'Smith'                -> 'SMTH'
     self new encode:'Smyth'                -> 'SMYTH'
     self new encode:'Kathryn'              -> 'KTHRYN'



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Sun, 27 Nov 2022 09:10:07 GMT