Write an fst to implement the soundex algorithm

Assignment Help Computer Engineering
Reference no: EM132198944

Write an FST to implement the Soundex algorithm. The Soundex algorithm is a method commonly used in libraries and older Census records for representing people's 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).

a. Keep the first letter of the name, and drop all occurrences of non-initial a, e, h, i, o, u, w, y

b. 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

c. 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).

d. Convert to the form Letter Digit Digit Digit by dropping digits past the third (if necessary) or padding with trailing zeros (if necessary).

Reference no: EM132198944

Questions Cloud

Some implications of national culture for business culture : What is business culture? Does national culture affect business culture? Discuss some implications of national culture for business culture.
Write a function that accepts a pointer to a c-string : Write a function that accepts either a pointer to a C-string as its argument. The function should return the character that appears most frequently.
Who are the stakeholders besides the obvious employee : Find an article from a trusted media source published within the last six months illustrating an ethical issue regarding employer/employee responsibilities.
The path to good ethics starts in human resources : The Path to Good Ethics Starts in Human Resources,
Write an fst to implement the soundex algorithm : 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.
How market tightness-wage and total surplus change : Suppose that the government decides to give a subsidy s to firm that hires a new worker. What are the equilibrium effects of this in the.
Custom data solutions for large corporate enterprises : You are the project manager for a company that integrates custom data solutions for large corporate enterprises.
Write a function in c to dynamically allocate a buffer : Write a function in C to dynamically allocate (malloc/calloc) a buffer of a user specified number of double precision numbers.
Scope reduction as means of schedule compression : Compare and contrast fast tracking and scope reduction as means of schedule compression.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Describe the procedures to implement a pilot application

What is the difference between a transaction database and a data warehouse?Describe the philosophy of reengineering an enterprise system.

  Write down pseudo-code for the following problem

Think of scenarios when you would use a) a while-loop, b) a do-until loop, c) a for-loop. Write down one pseudo-code example for each.

  Director of a large university computer center

After getting your degree, you apply for a job as director of a large university computer center that has just put its ancient mainframe system out to pasture and switched over to a large LAN server running UNIX.

  Discuss the impact the internet

How do you think the future changes of the Internet will impact the professional development of IT professionals?

  What are three routes types created

The next-hop can be identified by what factors. How the destination is specified creates one of the three following route types.

  Why we use void main in c programming

Why we use void main in C programming?

  Analyzing the database schema

OrderLine (OrderNum, PartNum, NumOrdered, QuotedPrice), Part (PartNum, Description, OnHand, Class, Warehouse, Price), On the basis of code above, list the number and name of all the customers.

  What would you do in your program to avoid the pitfalls

CIS Discussion: Text File Processing- What would you do in your program to avoid these pitfalls when working with text file in your program?

  Suppose that you are a cio of a startup company the company

imagine you are starting a web business and want to incorporate cloud technology. describe how you would

  Modify the pseudocode and optimize

offer valid reasons why the pseudocode is now more efficient.

  What is the required input needed to create a sweep

What is the required input needed to create a sweep? What is the optional input? What is the required input needed to create a loft? What is the optional input?

  Write a recursive method named count

Write a recursive method named countBelowThreshold that counts the number of items in the linked list whose data value is smaller than a provided threshold.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd