Grammars and languages: Chomsky’s hierarchy
N. Chomsky: Three models are there for the explanation of language.
Motivating illustration:
Sentence -> Noun Verb Noun, example: Bob loves Alice.
Sentence -> Sentence Conjunction Sentence, example: Bob loves Alice and Rome fights Carthage.
Grammar G(V, A, P, S). V: alphabet of the non-terminal symbols, variables and grammatical types;
A: alphabet of the terminal symbols, S ∈ V: start symbol, ‘sentence’;
P: unordered set of the productions of form L -> R, where L, R ∈ (V ∪ A)*
Rewriting step: for x, y, y’, z ∈ (V ∪ A)*, u -> v if u = xyz, v = xy’z and y -> y’ ∈ P
Derivation: “->*” is the transitive, reflexive closure of “->”, that is, u ->* v iff ∃ w0, w1 ... wj, with j ≥ 0, u = w0, w(i-1) -> wi, wj = v
Language defined by G: L(G) = {w ∈ A* | S ->* w)
Different restrictions on the productions define various types of grammars and corresponding languages:
Type 0: Phrase structure grammar: No restrictions
Type 1: Context sensitive: |L| ≤ |R|, (exception: S -> ε is permitted when S never takes place on any right-hand side)
Type 2: context free: L ∈ V
Type 3: regular: L ∈ V, R = a or R = aX, where a ∈ A, X ∈ V
Exercise: Define a grammar for some very small subset of natural language, and exemplify it with illustrations. Try this for a subset of English and a semantically identical subset of the other language, and show that distinct natural languages encompass different grammars.
Latest technology based Theory of Computation Online Tutoring Assistance
Tutors, at the www.tutorsglobe.com, take pledge to provide full satisfaction and assurance in Theory of Computation help via online tutoring. Students are getting 100% satisfaction by online tutors across the globe. Here you can get homework help for Theory of Computation, project ideas and tutorials. We provide email based Theory of Computation help. You can join us to ask queries 24x7 with live, experienced and qualified online tutors specialized in Theory of Computation. Through Online Tutoring, you would be able to complete your homework or assignments at your home. Tutors at the TutorsGlobe are committed to provide the best quality online tutoring assistance for Theory of Computation Homework help and assignment help services. They use their experience, as they have solved thousands of the Theory of Computation assignments, which may help you to solve your complex issues of Theory of Computation. TutorsGlobe assure for the best quality compliance to your homework. Compromise with quality is not in our dictionary. If we feel that we are not able to provide the homework help as per the deadline or given instruction by the student, we refund the money of the student without any delay.
www.tutorsglobe.com offers steps for two-phase method, linear programming problems, lpp solution, assignment help and homework help by live online operation research tutors
Avail Social Geography Assignment Help today and our tutors can write on any topic, within the tight deadline and fetch you top grades!
theory and lecture notes of markov algorithms all along with the key concepts of universal model of computation, algorithm design, recurrent issues and troubles in markov programming, reverse the input string, double the input string, serial binary adder. tutorsglobe offers homework help, assignment help and tutor’s assistance on markov algorithms.
force tutorial all along with the key concepts of definition of force, newton, equilibrium, stable, unstable and neutral equilibrium, moments, principle of moments, parallel forces, newton-s laws of motion, newton-s third law of motion
tutorsglobe.com modifications of adventitious roots assignment help-homework help by online root modifications tutors
Microbial Growth-Reproduction and Control tutorial all along with the key concepts of Prokaryotic Cell Cycle, Binary Fission, Chromosome Replication and Partitioning, Cytokinesis, Measurement of Microbial Growth, Measurement of Cell Mass, Factors affecting Microbial growth
a test light, voltage tester, test lamp, or mains tester is a extremely simple piece of electronic test equipment that is employed to ascertain the existence or nonexistence of an electric voltage in a piece of equipment under test.
tutorsglobe.com decomposition of sulphur compounds assignment help-homework help by online sulphur cycle tutors
tutorsglobe.com organ of corti assignment help-homework help by online ear tutors
Keeping the case histories and statistical records of all installations will be extremely much helpful in trouble shooting.
Sorting algorithm and their types including the key concepts of Bubble Sort, Quick Sort, Quick sort pseudo code, Quick Sort for C, Multi field sorting, advanced sorting technique, Linear-time Sorting, Assignment help and Homework help.
tutorsglobe.com biosynthesis of fatty acids assignment help-homework help by online lipid metabolism tutors
theory and lecture notes of power in ac circuits all along with the key concepts of resistive power dissipation, instantaneous power, average power, imaginary power and power in purely inductive load. tutorsglobe offers homework help, assignment help and tutor’s assistance on power in ac circuits.
tutorsglobe.com dark reactions assignment help-homework help by online cyclic and noncyclic photophosphorylation tutors
Potentiometric Titration tutorial all along with the key concepts of Principle of Potentiometric Titration, Location of End Point in Potentiometric Titration, Types of Potentiometric Titration and Redox Titration of Manganese by Potentiometry
1936557
Questions Asked
3689
Tutors
1466741
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!