Changes

Jump to navigation Jump to search
No change in size ,  21:21, April 16, 2012
m
Line 175: Line 175:  
:''Word'' -> ''Letter'' ''PartWord'' -> ''Letter'' ''Letter'' ''PartWord'' -> ''Letter'' ''Letter'' [nothing] ->  ''Letter'' ''Letter''
 
:''Word'' -> ''Letter'' ''PartWord'' -> ''Letter'' ''Letter'' ''PartWord'' -> ''Letter'' ''Letter'' [nothing] ->  ''Letter'' ''Letter''
   −
Obviously, words of any length can be constructed. Trying to further constrain the productions to produce words which are more English-like is much more difficult - how do you insist on at least one vowel or on no more than 5 consecutive consonants (e.g. as in 'strenghts').
+
Obviously, words of any length can be constructed. Trying to further constrain the productions to produce words which are more English-like is much more difficult - how do you insist on at least one vowel or on no more than 5 consecutive consonants (e.g. as in 'strengths').
    
Further examples in [[Regular grammar]] show how numbers can be defined via a regular grammar, and also show how a hyphenated word could be defined.
 
Further examples in [[Regular grammar]] show how numbers can be defined via a regular grammar, and also show how a hyphenated word could be defined.
SkipCaptcha
265

edits

Navigation menu