Talk:Linear grammar
This article is rated C-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||||||||||||||||||||
|
It's pretty clear this article was copied almost verbatim from http://www.cs.umanitoba.ca/~cs303/2005SS/Regular-Grammar-SS.pdf, though the anon author seemed to take steps to make it less readable than in the original. I opted to cut out all but the first paragraph, leaving it to others to either rewrite the part I removed or to decide that it wasn't appropriate to this entry. 128.197.81.229 22:16, 27 January 2006 (UTC)
Linear and regular grammars
[edit]I merged Right_Linear_Grammar into this, but I think that somebody expert and native English speaker (I am not) should draw some precise connections with Regular_grammar. For example, what is the requirement for a linear grammar to have a corresponding a regular grammar? Also, a union of a right-linear grammar and a left-linear grammar can be said to be a linear grammar?
Nb93 14:46, 27 August 2006 (UTC)
Beware of terminology, we make unions of sets, not grammars. The union of the set of all left-linear grammars and the set of all right-linear grammars has no special meaning itself (except it's members only generate regular languages).
On the other hand, the mixture of left and right linear grammars is a (more general) linear grammar.
Languages accepted by left-linear and right-linear grammars are regular languages and the union of these two sets of grammars gives a set of all regular grammars.
The set of regular grammars is thus a subset of the set of linear grammars. And the sets of left-regular (also called left-linear) and right-regular (right-linear) are subsets of the set of regular grammars.
pavlix, 81.0.198.173 (talk) 16:33, 8 June 2008 (UTC)
- I now explain this at lengh both in this article and in the regular grammar article. My worry is that both articles are now too specialist oriented to merit separate inclusion in a general encyclopedia. Rp (talk) 13:09, 24 July 2008 (UTC)