diff options
| author | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2018-05-18 17:48:42 -0300 |
|---|---|---|
| committer | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2018-05-18 17:48:42 -0300 |
| commit | 9356498bebab9342222cd87be669abae9d7ac3a2 (patch) | |
| tree | 393ea0b5ee30013c4ee84d2b1c96967a59a1aeb3 /RGens/data/sample-grammars/rtwiki | |
| parent | ca07d0ec8ec018129cf63080ebdf554a9d9abe82 (diff) | |
More grammar work
Diffstat (limited to 'RGens/data/sample-grammars/rtwiki')
| -rw-r--r-- | RGens/data/sample-grammars/rtwiki/color.gram | 8 | ||||
| -rw-r--r-- | RGens/data/sample-grammars/rtwiki/death-cause.gram | 6 | ||||
| -rw-r--r-- | RGens/data/sample-grammars/rtwiki/guns.gram | 19 |
3 files changed, 30 insertions, 3 deletions
diff --git a/RGens/data/sample-grammars/rtwiki/color.gram b/RGens/data/sample-grammars/rtwiki/color.gram index d6c5402..346f73b 100644 --- a/RGens/data/sample-grammars/rtwiki/color.gram +++ b/RGens/data/sample-grammars/rtwiki/color.gram @@ -1,8 +1,10 @@ [color-phrases] [color-phrase] - [color-phrase] blended with [color-phrase] + [multi-color-phrases] + +[multi-color-phrases] [color-phrase] blended with [color-phrase] a blend between [color-phrase] , [color-phrase] and [color-phrase] - between [color-phrase] and [color-phrase] - between [color-phrase] , [color-phrase] and [color-phrase] + something between [color-phrase] and [color-phrase] + something between [color-phrase] , [color-phrase] and [color-phrase] pragma initial-rule [color-phrases] diff --git a/RGens/data/sample-grammars/rtwiki/death-cause.gram b/RGens/data/sample-grammars/rtwiki/death-cause.gram index 627a3ee..74e58e8 100644 --- a/RGens/data/sample-grammars/rtwiki/death-cause.gram +++ b/RGens/data/sample-grammars/rtwiki/death-cause.gram @@ -99,4 +99,10 @@ by crucifixion by act of god +[Monster/Animals] {{empty}} + +[Character/Torture] {{empty}} + +[Character/Deaths] {{empty}} + pragma export-rule [death-cause] diff --git a/RGens/data/sample-grammars/rtwiki/guns.gram b/RGens/data/sample-grammars/rtwiki/guns.gram index 139e349..269aa0d 100644 --- a/RGens/data/sample-grammars/rtwiki/guns.gram +++ b/RGens/data/sample-grammars/rtwiki/guns.gram @@ -1,5 +1,24 @@ +[gun-phrase] [quote-gunname] was released today + [quote-gunname] vs. [quote-gunname] shootout + [quote-guncorp] is going out of business + [quote-guncorp] was bought by [quote-guncorp] + +[quote-gunname] ( [gun-name] ) + +[quote-guncorp] ( [guncorp] ) + +pragma initial-rule [gun-phrase] + [gun-name] [1gun-name] [2gun-name2] + [1gun-name] + [2gun-name2] + [1gun-name] + [2gun-name2] + [2gun-name1] [2gun-name2] + [2gun-name1] [1gun-name] + [1gun-name] [2gun-name2] + [2gun-name1] [1gun-name] [2gun-name2] pragma prefix-with [gun-name] [2gun-name1] |
