diff options
| author | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2017-10-27 23:30:14 -0300 |
|---|---|---|
| committer | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2017-10-27 23:30:14 -0300 |
| commit | 0a2ce93a19db9774db916e7e9711b16d4ef135d7 (patch) | |
| tree | f9585d5b611ac62bad2e3f717e2d9c1ff03dd5bc /RGens/data/sample-grammars | |
| parent | ce65131c7bab59f7308ae74cf21e4ce996a67354 (diff) | |
Update grammars
Diffstat (limited to 'RGens/data/sample-grammars')
| -rw-r--r-- | RGens/data/sample-grammars/career.gram | 105 | ||||
| -rw-r--r-- | RGens/data/sample-grammars/names.gram | 4 | ||||
| -rwxr-xr-x | RGens/data/sample-grammars/pokeattacks.gram | 55 |
3 files changed, 136 insertions, 28 deletions
diff --git a/RGens/data/sample-grammars/career.gram b/RGens/data/sample-grammars/career.gram index 2e8851a..4e68243 100644 --- a/RGens/data/sample-grammars/career.gram +++ b/RGens/data/sample-grammars/career.gram @@ -1,39 +1,87 @@ +[career-tech-desc] [career-tech] + +[career-tech-descpref] (to the [career-techname] ) + (boss of [career-techname] ) + (subordinate of [career-techname] ) + (co-worker of [career-techname] ) + (office rival of [career-techname] ) + (secretly [career-techname] ) + +[career-techname] [career-tech] + [career-tech] , [full-name-and-title] + [full-name-and-title] + [career-tech] [act-career-tech] [act-career-tech] - [career-prefix] [act-career-tech] - [career-prefix] [act-career-tech] - [career-tech2] - [career-tech2] + [act-career-tech] + [act-career-tech] + [act-career-tech] + [act-career-tech] + [act-career-tech] and [act-career-tech] + [act-career-tech] , [act-career-tech] and [act-career-tech] + +pragma suffix-with [career-tech-desc] [career-tech-descpref] +pragma suffix-with [career-tech-desc] [career-tech-descpref] +pragma suffix-with [career-tech-desc] [career-tech-descpref] -[career-tech2] [career-prefix] [act-career-tech] (to the [career-tech] ) - [career-prefix] [act-career-tech] (to the [career-tech] ) - [career-prefix] [act-career-tech] (to the [career-tech] , [full-name-and-title] ) - [career-prefix] [act-career-tech] (to [full-name-and-title] ) +pragma initial-rule [career-tech-desc] +pragma export-rule [career-tech] +pragma export-rule [career-techname] + +[career-tech2] [act-career-tech] (to the [career-tech] ) + [act-career-tech] (to the [career-tech] ) + [act-career-tech] (to the [career-tech] , [full-name-and-title] ) + [act-career-tech] (to [full-name-and-title] ) + +pragma prefix-with [career-tech] [career-prefsuf] +pragma prefix-with [career-tech-desc] [career-prefsuf] [act-career-tech] paper pusher - computer programmer + computer [software-career-type] sheet spreader data entry [career-suffix] - webpage designer + webpage [software-career-type] button pusher - bug terminator - help desk [career-suffix] - software reinstaller - software engineering [career-suffix] - system administrator + bug [bug-term] + problem [bug-term] + help desk + software [software-career-type] + system [software-career-type] bastard operator from hell webmaster dead chicken waver - information technology [career-suffix] + information technology four-color glossy publisher - corporate spy [career-suffix] + corporate spy trade show booth bunny - evil human resources [career-suffix] - internet [career-suffix] - network administrator - software design [career-suffix] + evil human resources + internet + network [software-career-type] + +[bug-term] terminator + exterminator + hunter + killer + eradicator + incinerator + +[software-career-type] reinstaller + engineering + engineer + design + designer + administrator + programmer + programming + publisher + publishing + +[career-prefsuf] [career-suffix] + [career-prefix] [career-suffix] + +[career-sufsuf] , [career-prefsuf] -pragma initial-rule [career-tech] +pragma suffix-with [act-career-tech] [career-sufsuf] [career-prefix] executive assistant @@ -44,21 +92,24 @@ pragma initial-rule [career-tech] part-time interim substitute + department + head + section [career-suffix] manager - assistant manager supervisor flunkie intern - department manager secretary boss - department janitor + janitor foreman director + chief section chief superintendent - department chairman + chairman overseer - department head honcho + honcho administrator + [generic-title] diff --git a/RGens/data/sample-grammars/names.gram b/RGens/data/sample-grammars/names.gram index f9af073..eeeffb6 100644 --- a/RGens/data/sample-grammars/names.gram +++ b/RGens/data/sample-grammars/names.gram @@ -35,6 +35,10 @@ pragma export-rule [random-name] [generic-title] [male-title] [female-title] [gender-neutral-title] + [male-title] + [female-title] + [gender-neutral-title] + [career-tech] # @TODO 10/23/17 Ben Culkin :TitleExpansion # Expand titles to diff --git a/RGens/data/sample-grammars/pokeattacks.gram b/RGens/data/sample-grammars/pokeattacks.gram index b667cc7..ad23186 100755 --- a/RGens/data/sample-grammars/pokeattacks.gram +++ b/RGens/data/sample-grammars/pokeattacks.gram @@ -1,9 +1,62 @@ -[pokeattack] [word-1] [word-1] +[pokeattack] [pokeattack-name] + +[attack-type] ( [poke-type] type) + ( [poke-type] / [poke-type] type) + +[attack-pp] [5..40] type + +pragma suffix-with [pokeattack] [move-kind] +pragma suffix-with [pokeattack] [attack-type] + +[pokeattack-name] [word-1] [word-1] [word-2] [word-2] [word-1] [word-2] [word-2] [word-1] + [word-1] [seperator] [word-1] + [word-2] [seperator] [word-2] + [word-1] [seperator] [word-2] + [word-2] [seperator] [word-1] + [word-1] [seperator] [word-1] + [word-2] [seperator] [word-2] + [word-1] [seperator] [word-2] + [word-2] [seperator] [word-1] + +[seperator] - + / + and + +[move-kind] (special move) + (physical move) + +[poke-type] normal + fire + fighting + water + flying + grass + poison + electric + ground + psychic + rock + ice + bug + dragon + ghost + dark + steel + fairy pragma initial-rule [pokeattack] +pragma export-rule [pokeattack-name] + +[word-11] [word-1] + +pragma suffix-with [word-11] [seperator] + +[word-21] [word-2] + +pragma prefix-with [word-21] [seperator] pragma prefix-with [pokeattack] [word-1] pragma suffix-with [pokeattack] [word-2] |
