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.
Nutrient resources and limitations tutorial all along with the key concepts of Sources of Nutrients, Nutrient Limitations, Cycling of minerals and nutrient pool, Characteristics of Biogeochemical Cycles, Phosphorus Cycle, Sulphur Cycle, Carbon Cycle and Nitrogen Cycle
theory of regulation comprising key concepts of natural monopoly, rate base, privatization, self-regulation, managerial cost-pricing, law of torts, average cost pricing and liability, get managerial economics questions answers, homework help, assignment help, by tutors.
Socio-cultural Anthropology Assignment Help offer reliable and top-quality papers with a great balance of affordability and professionalism.
Theory and lecture notes of Kinked Demand Curves all along with the key concepts of kinked demand curves, Advertising, Non-price competition, Types of Advertising, Optimal Advertising Model. Tutorsglobe offers homework help, assignment help and tutor’s assistance on Kinked Demand Curves.
Theory and lecture notes of Data Models all along with the key concepts of data models, Types of Data Models, Schemas versus Instances, Database Schema vs. Database State, DBMS Languages, DBMS Interfaces. Tutorsglobe offers homework help, assignment help and tutor’s assistance on Data Models.
a vacuum cleaner is general household appliance employed for cleaning aims. it cleans through creating suction. the electronic home appliance that is employed to wash the several types of clothes without applying any physical efforts is termed as a washing machine.
Respiration in Plants tutorial all along with the key concepts of Respiratory System in Plants, Types of respiration, Steps in the Aerobic respiration, Conditions influencing Respiration.
pH notation and Buffer solution tutorial all along with the key concepts of Definition of pH, pH Scale, Measurement of pH, pH at Elevated Temperature, Buffer Solution, Henderson- Hasselbalch equation and Buffer Capacity
Importance of Soil and Plant Tissue Analysis tutorial all along with the key concepts of Plant Tissue Analysis - Nutrient Concentration, Plant-Stalk Nitrate, Application of Plant Analysis, Application of Soil Analysis, Plant, Soil and Water Relationship, Soil Depth and Layering
Polymer Chemistry I tutorial all along with the key concepts of PVC molecule, Properties of Macromolecules, complex molecules
tutorsglobe.com heterosis assignment help-homework help by online breeding experiments tutors
tutorsglobe.com venation assignment help-homework help by online leaf tutors
tutorsglobe.com mendels supposition on chromosomal basis assignment help-homework help by online history of chromosomal basis tutors
tutorsglobe.com immune system disorders assignment help-homework help by online immunology tutors
www.tutorsglobe.com offers answering questions to factors affecting price elasticity, economics free tutorial and assignment help - homework help.
1945551
Questions Asked
3689
Tutors
1467795
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!