Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Finite State Transducers a) Consider the following pairs of noun lemmas with their plural forms: chair/chairs, prodi- gy/prodigies, prosthesis/prostheses. Design a morphotactic FST that takes

Finite State Transducers

a) Consider the following pairs of noun lemmas with their plural forms: chair/chairs, prodi- gy/prodigies, prosthesis/prostheses. Design a morphotactic FST that takes a lexical description like chair +Plural and converts into an intermediate form suitable for or- thographic processing. Show the state-by-state transition along with the correct input and output when the FST is presented with the inputs chair +Plural and prosthesis +Plural. (10 points)

b) Note that for some verbs ending in y, the y is replaced by a ie when forming the plural. Design an orthographic FST that implements this replacement. Also show the state by state transition along with the correct input and output when the FST is presented with the output from (a) as the input. (10 points)

c) Invert the FSTs in (a) and (b). (10 points)

d) Write an FST to implement the Soundex algorithm. You may create a separate FST for each of the four steps, if you so wish. (20 points)

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

Graph Databases New Opportunities For Connected Data

Authors: Ian Robinson, Jim Webber, Emil Eifrem

2nd Edition

1491930896, 978-1491930892

Students also viewed these Databases questions

Question

What is a post-closing trial balance and why is it prepared?

Answered: 1 week ago

Question

How do we compare means from two independent populations

Answered: 1 week ago