3.633 Soundex implementation in TUSTEP (52)

Willard McCarty (MCCARTY@vm.epas.utoronto.ca)
Tue, 24 Oct 89 18:06:57 EDT

Humanist Discussion Group, Vol. 3, No. 633. Tuesday, 24 Oct 1989.

Date: 24 October 1989
From: <ZRSZOT1@DTUZDV2> PROF. DR. WILHELM OTT
Subject: Soundex algorithms

29 2933
UNIVERSITAET TUEBINGEN
ZENTRUM FUER DATENVERARBEITUNG
BRUNNENSTRASSE 27
D-7400 TUEBINGEN


The problem you mentioned in your Humanist message of 11 oct
could be solved by TUSTEP with the following lines
(blanks in col 1-3 means comment):

#ko,source,dest,,+,*
source - name of the source file
dest - name of the destination file
the program copies those lines which meet the following
condition:
zf+ /vivir/
the string "vivir" must be present.
For the sake of finding this string, the text should
be transformed (without changing the text itself)
according to the following rules:
xv /u/v/
treat u as v
xv /b/v/
treat b as v
xv /j/i/
treat j as i
(the number of replacements is practically illimited;
not only single characters, but also strings may be
replaced, exceptions given etc: eg.:
/ph/f//phd//
means: treat "ph" as "f", but not if it is part of "phd"
*eof

The TUSTEP editor allows you to do similar
searches also online, interactively.

Wilhelm Ott (zrszot1 at dtuzdv2)
Univ. of Tuebingen / Germany