Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write an FST to implement the Soundex algorithm. The Soundex algorithm is a method commonly used in libraries and older Census records for representing peoples

Write an FST to implement the Soundex algorithm. The Soundex algorithm is a method commonly used in libraries and older Census records for representing peoples names. It has the advantage that versions of the names that are slightly misspelled or otherwise modified (common, for example, in hand-written census records) will still have the same representation as correctly spelled names. (e.g., Jurafsky, Jarofsky, Jarovsky, and Jarovski all map to J612). Keep the first letter of the name, and drop all occurrences of non-initial a, e, h, i, o, u, w, y Replace the remaining letters with the following numbers: b, f, p, v 1; c, g, j, k, q, s, x, z 2; d, t 3; l 4; m, n 5; r 6 Replace any sequences of identical numbers, only if they derive from two or more letters that were adjacent in the original name, with a single number (i.e., 666 6). Convert to the form Letter Digit Digit Digit by dropping digits past the third (if necessary) or padding with trailing zeros (if necessary).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

More Books

Students also viewed these Databases questions

Question

Find the exact value of expression. csc -1 (-23/3)

Answered: 1 week ago