Design deterministic finite state transducers

Assignment Help Theory of Computation
Reference no: EM13704478

Design deterministic finite state transducers that implement the subsequent context sensitive rules:

Part 1: a FST that changes a in its input to b if it is preceded by cc: cca -> ccb

Part 2: a FST that encloses ab in parentheses if it is followed by c: abc -> (ab)c

Suppose that the input alphabet is {a,b,c}. So the output alphabet in part a is the same as the input, while the output in part b is {a,b,c,(,)}.

The FSTs will be infinite loops, where the set of accept states is not well-defined, but for consistency you can suppose that once the respective rule was applied, the FST enters an accept state.

For part (b) you can also assume that the input will not end in ab.

You have to satisfy the requirements specific in the instruction. I am having difficulty with this problem because I do not know where to start.

Reference no: EM13704478

Questions Cloud

Program to read the numbers and add certain digit : Write a program that will read in 5 numbers and add 10 to the first number, 20 to the second number, and 30 to the third number, 40 to the fourth and 50 to the 50th.
Calculate the final grade : write must ask the user to input the percent score for each of these items then calculate the final grade.
Implement the solution for tracking the number of subscribe : In a social media news feed, users are required to subscribe to the news feed before receiving any news or updates. Users can only subscribe to each news feed only once up to five different feeds.
What settings are used to make that decision : What allows the IP layer to determine where to send a packet next and what settings are used to make that decision?
Design deterministic finite state transducers : Design deterministic finite state transducers that implement the subsequent context sensitive rules:
How can you acquire the digital evidence from the computer : How can you acquire the digital evidence from the computer and which methods of collection would you use and why - would you use any special tools, programs, or methods?
Calculate c with various sets of values for a and b : Even if we were to declare variables a and b as integers, why might we still need to declare c as a ?double?
Will the direction and magnitude be integers or doubles : Define a Physics_vector class which consists of a struct containing the direction and magnitude, and also define a function
Subnetting and supernetting : What are the key differences between the following two terms: subnetting and supernetting? Provide examples for each - Do you expect IPv6 will replace IPv4 completely in the coming future

Reviews

Write a Review

Theory of Computation Questions & Answers

  Te speed team at ibmsteve ward the vice president of

the speed team at ibmsteve ward the vice president of business transformation and chief information officer at ibm was

  Modify the syntax of a programming language

Sometimes it is necessary to modify the syntax of a programming language. This is done by changing the CFG that the language uses. What changes would have to be made to ac's CFG (Figure) to implement the following changes?

  If m is a dfa accepting language b

If M is a DFA accepting language B, then exchangeing the accept and reject states gives a new DFA accepting the complement of B. Does this work for an NFA, why?

  Demonstrate that each word problem is a valid argument

Demonstrate that each word problem is a valid argument. Use rules of inference to show steps and reasons in the proof.

  Topicthe enhancement of communication process using a

topicthe enhancement of communication process using a particular computer device or software application by the

  Provide dfa-s accepting the languages over alphabet

Provide DFA's accepting the following languages over alphabet {0,1}. Set of all strings that, when interpreted as the binary integer, is a multiple of 5.

  Create a method that perform a division operation

Create a method that will perform a division operation on the numbers passed to it in two variables and outputs the results. Use a try catch pair to output an error message if the illegal operation of divide through zero occurs.

  Imply the conclusion

Use rules of inference to show that the hypotheses "If it does not rain or if it is not foggy, then the sailing race will be held and the lifesaving demonstration will go on,

  Write first four strings in lexicographic enumeration

Consider the language L = L1 ∩ L2, where L1 = {ww^R : w ∈ {a, b}* and L2 = {a^n b*a^n: n ≥ 0}. Write the first four strings in the lexicographic enumeration of L?

  Purchasing and accounts payablesaul and latisha are both

purchasing and accounts payablesaul and latisha are both administrative managers in a machine tool company. latisha is

  Explaining syntactically legal boolean expression

In this problem, we consider a very restricted subset of Boolean expressions. Define an operator to be one of  the four symbols: ¬, ∧, ∨, and →. Define a variable to be one of the five symbols

  Find logical mismatch between predicate and subject

Which sentence has the logical mismatch between predicate and subject? Choose one of options below as your answer: A. Misunderstanding was as he lost directions.

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