Question: Problem 1 : FSA ( 3 pts ) Design an FSA that will recognize date expressions that come in two forms: 1 9 / 1
Problem : FSA pts
Design an FSA that will recognize date expressions that come in two forms: the day is first or Jan Assume that date strings are fed to your FSA one character at a time. In general, assume the patterns are either DDMMYYYY or DD MMM YYYY where MM a one or twodigit month string, between and inclusive; DD a one or twodigit day string, between and inclusive; and YYYY a onetofourdigit year string, between and inclusive; and MMM a three character month string, starting with a capital letter, one of Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, or Dec. In the first pattern, there will be no whitespace; in the second pattern, assume that the daymonth and monthyear strings are separated by a single space.
Problem : Regular Expressions pt
Write your solution to Problem as a regular expression. You may split the regular expression in parts if you so wish.
Problem : Complex FSAs
pt Design a FSA that will recognize sentences such as Theres a flea on the speck on the frog on the bump on the branch on the log in the hole in the bottom of the sea. Namely, the sentences should look like Theres an THING onin the THING onin the THING onin the THINGn where THINGn is a thing, and where the maximum n can be arbitrarily large. Assume that words are fed to the FSA one at a time not a character at a time and your FSA may include one special transition that tests whether a word represents a noun or not.
pts Design an FSA that recognize sentences such as The mouse the cat the dog chased ate lived in the house that Mary built. namely ANIMAL ANIMAL ANIMALVERBED VERBED VERBED lived in the PLACE which Mary built. Assume that n and that you have two special transitions available, one that tests whether a word represents an animal, and the other that tests whether a word is a verb.
pts For part b would it be possible to design an FSA that would work to arbitrary depth n Why or why not? What is different between the FSA is part a and in part b
Problem : Morphotactic FSTs pts
Consider the following pairs of verb lemmas: crycries flyflies diedies Design a morphotactic FST that takes a lexical description such as die Pres rd and converts it into an intermediate form suitable for orthographic processing. Show the state by state transition along with the correct input and output when the FST is presented with the input die Pres rd and fly Pres rd
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
