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.
Population Studies tutorial all along with the key concepts of Overcrowding and Overpopulation, Food Shortage, Human Populations, Human Population Control, Availability of Food and Human Population
a good insulating material has to possess the following characteristics - extremely high insulation resistance, high dielectric strength, low thermal expansion.
History and Present Trends in Cell Biology tutorial all along with the key concepts of First Cells Seen in Cork, Formulation of the Cell Theory, Modern Cell Theory, Timeline of cell biology
Steps of activity based costing - The costing system that is already existing should be capable to adopt the activity based costing system that is why product costs can be precisely determined and correct pricing decisions can be taken in a competitive business environment.
tutorsglobe.com nitrate assimilation assignment help-homework help by online nitrogen cycle tutors
A meristematic tissue (meristos = divisible) is a group of similar cells which are in a continuous state of division.
Reactions of Aldehydes and Ketones tutorial all along with the key concepts of Carbonyl Carbon consists of a nucleophilic site, Nucleophilic Addition, Condensation Reaction, Reactions of Aldehydes and Ketones, Cannizzaro Reaction, Uses of Aldehydes and Ketones
In Market Based Pricing - the transfer price will be ascertained as per to the market price prevailing in the market.
Concept of Multiple input programs-Assignment help and Homework help along with the key concepts of Problems of multiple input programs, Party Lamps and The Clocks
www.tutorsglobe.com offers substitution by metals homework help, substitution by metals assignment help, online tutoring assistance, organic chemistry solutions by online qualified tutor's help.
tutorsglobe.com quasi-rent assignment help-homework help by online rent tutors
tutorsglobe.com applications of bioinformatics assignment help-homework help by online bioinformatics tutors
Theory and lecture notes of Counting Techniques all along with the key concepts of Counting techniques, Basic Definitions, Factorial, Permutation, homework help, Combination and Tree Diagram. Tutorsglobe offers homework help, assignment help and tutor’s assistance on Counting Techniques.
Oscillators tutorial all along with the key concepts of Kinds of Oscillator, Sine Wave Oscillators, Relaxation oscillators, Sweep oscillators, Significance of oscillators, Principle of Oscillators, Applications of the Multi wave oscillators
Orbital Hybridisation tutorial all along with the key concepts of Sp3-Hybridisation, Sp2-hybridisation, Sp-Hybridization
1960548
Questions Asked
3689
Tutors
1454864
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!