Grammar
In linguistics, a grammar is the set of rules for how a natural language is structured, as demonstrated by its speakers or writers. Grammar rules may concern the use of clauses, phrases, and words. The term may also refer to the study of such rules, a subject that includes phonology, morphology, and syntax, together with phonetics, semantics, and pragmatics. There are, broadly speaking, two different ways to study grammar: traditional grammar and theoretical grammar.
For the rules of the English language, see English grammar. For other uses, see Grammar (disambiguation).
Fluency in a particular language variety involves a speaker internalizing these rules, many or most of which are acquired by observing other speakers, as opposed to intentional study or instruction. Much of this internalization occurs during early childhood; learning a language later in life usually involves more direct instruction.[1] The term grammar can also describe the linguistic behaviour of groups of speakers and writers rather than individuals. Differences in scale are important to this meaning: for example, English grammar could describe those rules followed by every one of the language's speakers.[2] At smaller scales, it may refer to rules shared by smaller groups of speakers.
A description, study, or analysis of such rules may also be known as a grammar, or as a grammar book. A reference work describing the grammar of a language is called a reference grammar or simply a grammar. A fully revealed grammar, which describes the grammatical constructions of a particular speech type in great detail is called descriptive grammar. This kind of linguistic description contrasts with linguistic prescription, a plan to marginalize some constructions while codifying others, either absolutely or in the framework of a standard language. The word grammar often has divergent meanings when used in contexts outside linguistics. It may be used more broadly as to include orthographic conventions of written language such as spelling and punctuation, which are not typically considered as part of grammar by linguists, the conventions used for writing a language. It may also be used more narrowly to refer to a set of prescriptive norms only, excluding the aspects of a language's grammar which do not change or are clearly acceptable (or not) without the need for discussions.
Frameworks of grammar which seek to give a precise scientific theory of the syntactic rules of grammar and their function have been developed in theoretical linguistics.
Other frameworks are based on an innate "universal grammar", an idea developed by Noam Chomsky. In such models, the object is placed into the verb phrase. The most prominent biologically-oriented theories are:
Parse trees are commonly used by such frameworks to depict their rules. There are various alternative schemes for some grammar: