diff options
Diffstat (limited to 'RGens')
| -rwxr-xr-x | RGens/data/sample-grammars/24hr-rpg.gram | 3 | ||||
| -rw-r--r-- | RGens/data/sample-grammars/address.gram | 69 | ||||
| -rwxr-xr-x | RGens/data/sample-grammars/anime.gram | 20 | ||||
| -rwxr-xr-x | RGens/data/sample-grammars/art-objects.gram | 86 | ||||
| -rwxr-xr-x | RGens/data/sample-grammars/awe-names.gram | 6 | ||||
| -rw-r--r-- | RGens/data/sample-grammars/buzzword.gram | 38 | ||||
| -rw-r--r-- | RGens/data/sample-grammars/career.gram | 48 | ||||
| -rw-r--r-- | RGens/data/sample-grammars/city.gram | 93 | ||||
| -rw-r--r-- | RGens/data/sample-grammars/college.gram | 43 | ||||
| -rw-r--r-- | RGens/data/sample-grammars/company.gram | 104 | ||||
| -rw-r--r-- | RGens/data/sample-grammars/long-data/color.gram | 20 | ||||
| -rw-r--r-- | RGens/data/sample-grammars/long-data/geographic-thing.gram | 26 | ||||
| -rw-r--r-- | RGens/data/sample-grammars/long-data/natural-color.gram | 8 | ||||
| -rw-r--r-- | RGens/data/sample-grammars/names.gram | 3 | ||||
| -rw-r--r-- | RGens/data/sample-grammars/rtwiki/color.gram | 223 | ||||
| -rw-r--r-- | RGens/data/server-config-sample.cfg | 5 |
16 files changed, 538 insertions, 257 deletions
diff --git a/RGens/data/sample-grammars/24hr-rpg.gram b/RGens/data/sample-grammars/24hr-rpg.gram index 9687ebd..1ac7c71 100755 --- a/RGens/data/sample-grammars/24hr-rpg.gram +++ b/RGens/data/sample-grammars/24hr-rpg.gram @@ -1,6 +1,9 @@ [rpg-name] → [rpg-part] , [rpg-part] and [rpg-part] [rpg-part] and [rpg-part] + [rpg-part] / [rpg-part] [rpg-part] the [rpg-part] + [rpg-part] : [rpg-part] the [rpg-part] + [rpg-part] : [rpg-part] [rpg-part] pragma initial-rule [rpg-name] diff --git a/RGens/data/sample-grammars/address.gram b/RGens/data/sample-grammars/address.gram index 5896ebb..de798ee 100644 --- a/RGens/data/sample-grammars/address.gram +++ b/RGens/data/sample-grammars/address.gram @@ -1,41 +1,56 @@ -[us-postal-address] [full-name] , [street-address] , [city] , [us-postalstate] [zipcode] - [full-name-and-title] , [street-address] , [city] , [us-postalstate] [zipcode] - [person] , [street-address] , [city] , [us-postalstate] [zipcode] - [full-name] , [company] , [street-address] , [city] , [us-postalstate] [zipcode] - [company] , [street-address] , [city] , [us-postalstate] , [zipcode] - [company] , p.o box [medium-number] , [city] , [us-postalstate] [zipcode] +[us-postal-address] [us-postal-address1] + [us-postal-address1] + [us-postal-address1] + [us-postal-address1] + [company] + +pragma initial-rule [us-postal-address] + +[com-street-address] , [street-address] + +[city-post-zip] , [city] , [us-postalstate] [zipcode] + +pragma suffix-with [us-postal-address] [com-street-address] +pragma suffix-with [us-postal-address] [city-post-zip] + +[us-postal-address1] [full-name] + [full-name-and-title] + [person] + +[com-company] , [company] + +pragma suffix-with [us-postal-address1] [com-company] [street-address] [medium-number] [street] p.o. box [medium-number] [medium-number] [street] , apartment [small-number] [letter] route [digit] box [medium-number] - [small-number] street + [small-number] [street] -[street] [street-prefix] [tree] [street-suffix] - [tree] [street-suffix] - [color] [tree] [street-suffix] - [street-prefix] [last-name] [street-suffix] - [street-prefix] [first-name] [street-suffix] - [last-name] [street-suffix] +[street] [tree] + [color] [tree] + [last-name] + [first-name] route [small-number] - [street-prefix] route [small-number] + route [small-number] county road [small-number] - [street-prefix] [ordinal] street] + [ordinal] street [ordinal] ave. [ordinal-number] st. [ordinal-number] ave. [letter] st. - [city] [street-suffix] - [us-state] [street-suffix] - [street-prefix] [us-state] [street-suffix] - [canada-province] [street-suffix] - [nation] [street-suffix] - [full-name] [street-suffix] - [street-prefix] [street-generic-standalone] - [street-prefix] [street-generic] [street-suffix] - [street-generic] [street-suffix] - [us-president] [street-suffix] - [us-president-common] [street-suffix] + [city] + [us-state] + [canada-province] + [nation] + [full-name] + [street-generic-standalone] + [street-generic] + [us-president] + [us-president-common] + +pragma prefix-with [street] [street-prefix] +pragma suffix-with [street] [street-suffix] [street-prefix] n. s. @@ -62,8 +77,6 @@ pike bypass -pragma initial-rule [us-postal-address] - [street-generic] main main high diff --git a/RGens/data/sample-grammars/anime.gram b/RGens/data/sample-grammars/anime.gram index b83e8be..eabbade 100755 --- a/RGens/data/sample-grammars/anime.gram +++ b/RGens/data/sample-grammars/anime.gram @@ -1,18 +1,17 @@ -[anime-name] [two-name] - [three-name] +[anime-name] [first-name] + [second-name] + [third-name] pragma initial-rule [anime-name] -[two-name] [first-name] [third-name] - [second-name] [third-name] - -[three-name] [first-name] [first-name] - [first-name] [second-name] - [second-name] [first-name] - [second-name] [second-name] - +pragma suffix-with [anime-name] [first-name] +pragma suffix-with [anime-name] [second-name] pragma suffix-with [anime-name] [third-name] +pragma prefix-with [anime-name] [third-name] +pragma prefix-with [anime-name] [second-name] +pragma prefix-with [anime-name] [first-name] + [first-name] Vampire Cat Death @@ -51,6 +50,7 @@ pragma suffix-with [anime-name] [third-name] Goddess Sushi Star + [planet] Moon Zombie Banana diff --git a/RGens/data/sample-grammars/art-objects.gram b/RGens/data/sample-grammars/art-objects.gram index 8263dda..c858aec 100755 --- a/RGens/data/sample-grammars/art-objects.gram +++ b/RGens/data/sample-grammars/art-objects.gram @@ -1,20 +1,39 @@ +[art-treasure-group] [art-treasure] + a choice between [art-treasure] and [art-treasure] + a choice between [art-treasure] , [art-treasure] and [art-treasure] + [art-treasure] as well as [art-treasure] + [art-treasure] ; [art-treasure] as well as [art-treasure] + [art-treasure] atop [art-treasure] + [art-treasure] hidden under [art-treasure] + [art-treasure] lying next to [art-treasure] + [art-treasure] hiding in [art-treasure] + [art-treasure] hidden among [art-treasure] and [art-treasure] + +pragma initial-rule [art-treasure-group] + [art-treasure] [gemstones] - [gemstones] - [art-object] [art-object] - [art-object] as well as a large [gemstones] - [gemstones] as well as a [art-object] - a small [gemstones] - a flawless piece of [gemstones] - [art-object] ; [art-object] as well as a [art-object] - a pile of [gemstones] - a pile of [gemstones] - a [art-object] atop a pile of [gemstones] - a [art-object] hidden under a [art-object] - a [gemstones] hidden under a pile of [gemstones] - a [art-object] hidden under a pile of [gemstones] - -pragma initial-rule [art-treasure] + +pragma export-rule [art-treasure] + +pragma prefix-with [art-treasure] [possesive-title] +pragma prefix-with [art-treasure-group] a(n) + +[possesive-title] [full-name-and-title] 's + +[art-objects] [art-object] + +pragma export-rule [art-objects] +pragma prefix-with [art-objects] [art-object-pref] + +[art-object-pref] counterfeit + ancient + legendary + lost + holy + blessed + cursed + demonic [art-object] [common-art] [uncommon-art] @@ -23,11 +42,46 @@ pragma initial-rule [art-treasure] [epic-art] [mythic-art] -[gemstones] [common-gem] +pragma export-rule [art-object] +pragma prefix-with [art-object] [size] + +[gemstones] [gemstone] + pair of [gemstone] + [gemstone-sizedesc] pile of [gemstone] + [gemstone-sizedesc] hoard of [gemstone] + +pragma export-rule [gemstones] + +[gemstone] [common-gem] [rare-gem] [legendary-gem] [epic-gem] +pragma export-rule [gemstone] + +[gemstone-sizedesc] [size] + [gemstone-desc] + [size] [gemstone-desc] + [gemstone-desc] [size] + +pragma prefix-with [gemstone] [gemstone-sizedesc] + +[size] tiny + miniscule + small + medium + large + huge + titanic + +[gemstone-desc] flawless + flawed + cracked + faceted + cut + uncut + fake + [common-gem] amber amethyst garnet diff --git a/RGens/data/sample-grammars/awe-names.gram b/RGens/data/sample-grammars/awe-names.gram index 5dedb93..ea27ce1 100755 --- a/RGens/data/sample-grammars/awe-names.gram +++ b/RGens/data/sample-grammars/awe-names.gram @@ -1,5 +1,9 @@ [awesome-name] [part] - [part] [part] + +pragma prefix-with [awesome-name] [part] +pragma prefix-with [awesome-name] [part] +pragma suffix-with [awesome-name] [part] +pragma suffix-with [awesome-name] [part] pragma initial-rule [awesome-name] diff --git a/RGens/data/sample-grammars/buzzword.gram b/RGens/data/sample-grammars/buzzword.gram index 597fb4f..9aaa82f 100644 --- a/RGens/data/sample-grammars/buzzword.gram +++ b/RGens/data/sample-grammars/buzzword.gram @@ -1,13 +1,25 @@ +[buzzword-phrase] [buzzwords] + [buzzwords] to [buzzwords] + [buzzwords] while [buzzwords] + [buzzwords] in order to [buzzwords] + [buzzwords] in the process of [buzzwords] + +pragma initial-rule [buzzword-phrase] + +[buzzwords] [buzzword] + [buzzword] [buzzword] + [buzzword] and [buzzword] + [buzzword] , [buzzword] and [buzzword] + +pragma export-rule [buzzwords] + [buzzword] [buzzword-verb] [buzzword-noun] [buzzword-adjective] [buzzword-job] + [buzzword-fused] -pragma initial-rule [buzzword] -pragma export-rule [buzzword-verb] -pragma export-rule [buzzword-noun] -pragma export-rule [buzzword-adjective] -pragma export-rule [buzzword-job] +pragma export-rule [buzzword] [buzzword-verb] aggregate benchmark @@ -66,6 +78,8 @@ pragma export-rule [buzzword-job] utilize visualize +pragma export-rule [buzzword-verb] + [buzzword-noun] action items architectures asset management @@ -126,6 +140,8 @@ pragma export-rule [buzzword-job] version control vision +pragma export-rule [buzzword-noun] + [buzzword-adjective] asp b2b b2c @@ -198,6 +214,8 @@ pragma export-rule [buzzword-job] wireless world-class +pragma export-rule [buzzword-adjective] + [buzzword-job] customizer dothead enabler @@ -214,6 +232,13 @@ pragma export-rule [buzzword-job] synergizer visionary +pragma export-rule [buzzword-job] + +[buzzword-fused] [buzzword-stem] [buzzword-suffix] + +pragma despace-rule [buzzword-fused] +pragma export-rule [buzzword-fused] + [buzzword-stem] aggregat benchmark conceptual @@ -238,6 +263,8 @@ pragma export-rule [buzzword-job] util visual +pragma export-rule [buzzword-stem] + [buzzword-suffix] age ivize ivize @@ -250,4 +277,3 @@ pragma export-rule [buzzword-job] [buzzword+consonant] i [consonant] ate pragma export-rule [buzzword-suffix] -pragma export-rule [buzzword-stem] diff --git a/RGens/data/sample-grammars/career.gram b/RGens/data/sample-grammars/career.gram index 4e68243..b1504e0 100644 --- a/RGens/data/sample-grammars/career.gram +++ b/RGens/data/sample-grammars/career.gram @@ -1,41 +1,41 @@ [career-tech-desc] [career-tech] -[career-tech-descpref] (to the [career-techname] ) +pragma initial-rule [career-tech-desc] + +pragma prefix-with [career-tech-desc] [career-prefsuf] + +pragma suffix-with [career-tech-desc] [career-tech-descsuff] +pragma suffix-with [career-tech-desc] [career-tech-descsuff] +pragma suffix-with [career-tech-desc] [career-tech-descsuff] + +[career-tech-descsuff] (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] - [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] +[career-tech] [career-tech2] + [career-tech2] + [career-tech2] + [career-tech2] + [career-tech2] + [career-tech2] + [career-tech2] and [career-tech2] + [career-tech2] , [career-tech2] and [career-tech2] -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] +pragma prefix-with [career-tech] [career-prefsuf] -pragma initial-rule [career-tech-desc] pragma export-rule [career-tech] + +[career-techname] [career-tech] + [career-tech] , [full-name-and-title] + 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 [software-career-type] sheet spreader @@ -58,6 +58,8 @@ pragma prefix-with [career-tech-desc] [career-prefsuf] internet network [software-career-type] +pragma suffix-with [act-career-tech] [career-sufsuf] + [bug-term] terminator exterminator hunter @@ -81,8 +83,6 @@ pragma prefix-with [career-tech-desc] [career-prefsuf] [career-sufsuf] , [career-prefsuf] -pragma suffix-with [act-career-tech] [career-sufsuf] - [career-prefix] executive assistant junior diff --git a/RGens/data/sample-grammars/city.gram b/RGens/data/sample-grammars/city.gram index 5294cd0..0cb19e2 100644 --- a/RGens/data/sample-grammars/city.gram +++ b/RGens/data/sample-grammars/city.gram @@ -1,78 +1,31 @@ [city] [real-city] - [real-city] [town-name] - [town-name] - [town-prefix] [town-name] - [town-prefix] [town-name+suffix] - [natural-color] [geographic-thing] - [natural-color+suffix] - [natural-color] [tree] - [town-prefix+suffix] - [town-prefix] [geographic-thing] - [tree+suffix] - [random-name] - [town-prefix] [random-name] - [random-name+suffix] - [last-name] - [last-name] - [town-prefix] [last-name] - [2+last-name] - St. [last-name] - [last-name+suffix] - [first-name] [geographic-thing] - [first-name+suffix] + [other-city] pragma initial-rule [city] -[town-name+suffix] [town-name] [town-suffix] - -[natural-color+suffix] [natural-color] [town-suffix] - -[town-prefix+suffix] [town-prefix] [town-suffix] - -[tree+suffix] [tree] [town-suffix] - -[random-name+suffix] [random-name] [town-suffix] - -[2+last-name] [last-name] - [last-name] - -[last-name+suffix] [last-name] [town-suffix] - -[first-name+suffix] [first-name] [town-suffix] - -[geographic-thing] mountain - hill - lake - plains - river - valley - hollow - beach - bay - harbor - grove - bridge - station - glade - forest - gulch - swamp - bend - springs - creek - falls - ridge - pass - meadow +[other-city] [act-other-city] + [act-other-city] [town-suffix] + [town-suffix] + +pragma prefix-with [other-city] [town-prefix] +pragma despace-rule [other-city] + +[act-other-city] [town-name] + [sw-color-phrase] + [sw-color-phrase] [geographic-thing] + [sw-color-phrase] [tree] + [tree] + [geographic-thing] + [gen-name] + [gen-name] - [gen-name] + [gen-name] [geographic-thing] + +[gen-name] [last-name] + [first-name] + [random-name] -[town-prefix] north - south - east - west - north - south - east - west +[town-prefix] [cardinal] new new old @@ -91,5 +44,3 @@ pragma initial-rule [city] field boro dale - -pragma export-rule [geographic-thing] diff --git a/RGens/data/sample-grammars/college.gram b/RGens/data/sample-grammars/college.gram index bf2a728..2ae701a 100644 --- a/RGens/data/sample-grammars/college.gram +++ b/RGens/data/sample-grammars/college.gram @@ -10,6 +10,8 @@ not one single student signed up for [plural-univ] [quote-course] last semester a [poll] of students at [university] revealed [quote-course] is the [popular] popular [class-type] offered +pragma initial-rule [college-announcement] + [plural-univ] [university] 's pragma despace-rule [plural-univ] @@ -31,8 +33,6 @@ pragma export-rule [quote-course] [add-sec] an additional section [2..6] additional sections -pragma initial-rule [college-announcement] - [course-time] fall spring winter @@ -78,55 +78,58 @@ pragma prefix-with [course-adjnoun1] [course-adj] [course-adjnoun1] or [course-adjnoun1] [course-adjnoun1] , [course-adjnoun1] or [course-adjnoun1] -[college-course] [course-adjnoun] [course-suffix] +[college-course] [course-adjnoun] [course-adjnoun] : [course-ending] - [course-adjnoun] [course-suffix] - [course-group] [course-life] [course-suffix] - [course-group2] [course-adjnoun] [course-life] [course-suffix] + [course-adjnoun] + [course-group] [course-life] + [course-group2] [course-adjnoun] [course-life] [course-group] [course-life] since [1500..2010] [course-group2] [course-life] : [course-ending] contemporary [course-group2] [course-life] and [course-life] contemporary [course-group2] [course-life] : [course-ending] transforming the [course-group] experience - [course-prefix] [course-group] [course-life] - [course-prefix] [course-group2] [course-life] [course-suffix] - [course-prefix] [course-adjnoun] [course-suffix] - [course-prefix] the [course-group] [course-movement] [course-suffix] + [course-group] [course-life] + [course-group2] [course-life] + [course-adjnoun] + the [course-group] [course-movement] [course-adj] [course-life] : [course-ending] [course-adjnoun] in modern [course-medium] [course-adjnoun] [course-suffix] : [course-ending] - [course-prefix] [course-adjnoun] [course-suffix] + [course-adjnoun] the [course-adj] dimension of [course-group] [course-medium] - [course-prefix] [course-topic] in [course-group2] [course-medium] : [course-ending] - [course-topic] and [course-topic] [course-suffix] + [course-topic] in [course-group2] [course-medium] : [course-ending] + [course-topic] and [course-topic] [course-group2] [course-medium] interpretation: [course-ending] [course-group2] [course-medium] as a [course-adj] genre - [course-prefix] [course-group] [course-medium] + [course-group] [course-medium] [course-life] of [course-group2] [course-adjnoun] : [course-ending] - [course-prefix] [course-popculture] : [course-ending] + [course-popculture] : [course-ending] [course-popculture] [course-suffix] : [course-ending] - [course-prefix] [course-adjnoun] and [theory] - [course-prefix] [course-action] : [course-ending] + [course-adjnoun] and [theory] + [course-action] : [course-ending] [course-action] [course-suffix] : [course-ending] - [course-prefix] [course-nounprefix] [course-ancient] [course-medium] : [course-ending] + [course-nounprefix] [course-ancient] [course-medium] : [course-ending] ethnicity [course-suffix] : the [course-group] [condition] masterpieces of [course-group] [course-medium] [course-buzzword2] , [course-buzzword2] and [course-buzzword2] [course-suffix] : [course-ending] [course-buzzword2] , [course-buzzword2] and [course-buzzword2] in [course-group2] [course-medium] : [course-ending] - [course-prefix] [course-event] : [course-ending] + [course-event] : [course-ending] [course-event] as [course-explored] in [course-group] [course-medium] [university-subject] as [course-explored] in [course-group] [course-medium] [course-impactof] : [course-ending] [course-static] [course-static] +pragma prefix-with [college-course] [course-prefix] +pragma suffix-with [college-course] [course-suffix] + pragma export-rule [college-course] [condition] condition experience [course-static] [course-env1] : [course-prefix] [course-env2] - [course-prefix] [course-env3] : policy [course-suffix] + [course-env3] : policy [course-suffix] the meaning of life as [course-explored] in [course-group] [course-medium] the [course-impact] of [course-group2] [thinker-type] on [course-contemporary] [university-subject] : [course-ending] the [rise] of [course-group2] [thinker-type] in [course-contemporary] [university-subject] : [course-ending] diff --git a/RGens/data/sample-grammars/company.gram b/RGens/data/sample-grammars/company.gram index a437fa0..40ea83b 100644 --- a/RGens/data/sample-grammars/company.gram +++ b/RGens/data/sample-grammars/company.gram @@ -1,68 +1,78 @@ -[company] [last-name] [company-suffix] - [last-name] [company-name+suffix] - [plural+first] [company-name] - [last-name] , [last-name] and [last-name] [company-name+suffix] - [last-name] , [last-name] and [last-name] [company-suffix] - [2last+name] [company-name] - [2last+name] [company-suffix] - [2last+name] [company-name+suffix] - [last-name] & [last-name] [company-suffix] - [last-name] & [last-name] [company-name+suffix] - [first-name] [last-name] [company-name] - [first-name] [last-name] [company-suffix] - [first-name] [last-name] [company-name+suffix] - [acronym] [company-name+suffix] +[company] [gen-name] + [gen-name] [company-name] + [plural-name] [company-name] + [gen-name] , [gen-name] and [gen-name] [company-name] + [gen-name] - [gen-name] [company-name] + [gen-name] - [gen-name] + [gen-name] & [gen-name] + [gen-name] & [gen-name] [company-name] + [gen-name] [gen-name] + [gen-name] [gen-name] [company-name] [acronym] [company-name] - [company-root+acronym] [company-suffix] - [full-name] [company-name+suffix] - [company-root+name] - [2letter+letter] [company-name+suffix] - [letter+letter] [company-name] - [company-root+name] [company-suffix] - [city] [company-name+suffix] - [company-root+city] - [us-state] [company-name+suffix] - [buzzword-adjective] [buzzword-noun] [company-suffix] + [company-root-acronym] + [full-name] [company-name] + [company-root-name] + [letter+group] [company-name] + [city] [company-name] + [company-root-city] + [us-state] [company-name] + [buzzword-adjective] [buzzword-noun] [media-company] [newspaper] [real-company] +pragma suffix-with [company] [company-suffix] pragma export-rule [company] -[company-root+acronym] [acronym] [company-root-suffix] +[plural-name] [gen-name] 's -[company-root+city] [city] [company-root-suffix] +pragma despace-rule [plural-name] -[company-root+name] [first-name] [company-root-suffix] - [last-name] [company-root-suffix] +[gen-name] [last-name] + [first-name] -[plural+first] [first-name] 's +[company-root-acronym] [acronym] [company-root-suffix] -[company-name+suffix] [company-name] [company-suffix] +pragma despace-rule [company-root-acronym] -[2last+name] [last-name] - [last-name] +[company-root-city] [city] [company-root-suffix] -[2letter+letter] [letter] [letter] & [letter] +pragma despace-rule [company-root-city] -[letter+letter] [letter] & [letter] +[company-root-name] [gen-name] [company-root-suffix] + +pragma despace-rule [company-root-name] + +[letter+group] [letters] + [letters] & [letters] + [letters] & [letters] & [letters] + +[letters] [letter] + [letter] + [letter] + [letter] [letter] + [letter] [letter] + [letter] [letter] [letter] + +pragma despace-rule [letters] [company-suffix] [company-suffix1] [company-suffix2] -[company-suffix1] {{empty}} Inc. - {{empty}} Incorporated - {{empty}} Ltd. - {{empty}} Corp. - {{empty}} Corporation - {{empty}} Co. - {{empty}} Company - {{empty}} Cooperative - {{empty}} Amalgamated - -[company-suffix2] , {{empty}} Inc. - , {{empty}} Incorporated - , {{empty}} Ltd. - , {{empty}} LLC +[company-suffix1] Inc. + Incorporated + Ltd. + Corp. + Corporation + Co. + Company + Cooperative + Amalgamated + +[company-suffix2] , Inc. + , Incorporated + , Ltd. + , LLC [company-name] associated united diff --git a/RGens/data/sample-grammars/long-data/color.gram b/RGens/data/sample-grammars/long-data/color.gram index 32a5101..09deaf7 100644 --- a/RGens/data/sample-grammars/long-data/color.gram +++ b/RGens/data/sample-grammars/long-data/color.gram @@ -1,12 +1,16 @@ -[color] → red - orange - yellow - green - blue +[color] orange purple - white - black brown grey + [natural-color] + +pragma export-rule [color] + +[natural-color] → red + black + blue + green + white + yellow -pragma initial-rule [color] +pragma export-rule [natural-color] diff --git a/RGens/data/sample-grammars/long-data/geographic-thing.gram b/RGens/data/sample-grammars/long-data/geographic-thing.gram new file mode 100644 index 0000000..178bd7f --- /dev/null +++ b/RGens/data/sample-grammars/long-data/geographic-thing.gram @@ -0,0 +1,26 @@ +[geographic-thing] mountain + hill + lake + plains + river + valley + hollow + beach + bay + harbor + grove + bridge + station + glade + forest + gulch + swamp + bend + springs + creek + falls + ridge + pass + meadow + +pragma initial-rule [geographic-thing] diff --git a/RGens/data/sample-grammars/long-data/natural-color.gram b/RGens/data/sample-grammars/long-data/natural-color.gram deleted file mode 100644 index efdeba7..0000000 --- a/RGens/data/sample-grammars/long-data/natural-color.gram +++ /dev/null @@ -1,8 +0,0 @@ -[natural-color] → red - black - blue - green - white - yellow - -pragma initial-rule [natural-color] diff --git a/RGens/data/sample-grammars/names.gram b/RGens/data/sample-grammars/names.gram index eeeffb6..104c136 100644 --- a/RGens/data/sample-grammars/names.gram +++ b/RGens/data/sample-grammars/names.gram @@ -31,6 +31,9 @@ pragma export-rule [random-name] [gender-neutral-title] [full-name] [generic-title] [full-name] [full-name] + [full-name] + [full-name] + [full-name] [generic-title] [male-title] [female-title] diff --git a/RGens/data/sample-grammars/rtwiki/color.gram b/RGens/data/sample-grammars/rtwiki/color.gram index 0ee0da2..636310d 100644 --- a/RGens/data/sample-grammars/rtwiki/color.gram +++ b/RGens/data/sample-grammars/rtwiki/color.gram @@ -1,4 +1,39 @@ -[color] [standard] +[color-phrases] [color-phrase] + [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] + +pragma initial-rule [color-phrases] + +[color-phrase] [complete-color] + [sw-complete-color] + [sw-complete-color] [complete-color] + [sw-complete-color] - [complete-color] + [sw-complete-color] [sw-complete-color] + [sw-complete-color] - [sw-complete-color] + +pragma export-rule [color-phrase] + +[sw-color-phrase] [sw-complete-color] + [sw-complete-color] [sw-complete-color] + [sw-complete-color] - [sw-complete-color] + +pragma export-rule [sw-color-phrase] + +[complete-color] {wtype=mw} [act-complete-color] + +pragma export-rule [complete-color] + +[sw-complete-color] [act-sw-complete-color] + [act-sw-complete-color] ish + +pragma despace-rule [sw-complete-color] +pragma export-rule [sw-complete-color] + +[act-sw-complete-color] {wtype=sw} [act-complete-color] + +[act-complete-color] [standard] [red-purple] [yellow-orange] [green-blue] @@ -6,13 +41,12 @@ [jewel] [metallic] [heraldic] - [archaic-purple] + +[other-color] [archaic-purple] [archaic-green] [archaic-brown] [anachronistic] -pragma initial-rule [color] - [standard] red orange ochre @@ -32,17 +66,29 @@ pragma initial-rule [color] ivory white blue-gray - gray + [gray] black ebony copper gold silver - [iridescent] + [$wtype-standard] + [$wtype-standard] + [$wtype-standard] + [$wtype-standard] + transparent + +[gray] gray + grey + +[sw-standard] iridescent + opalescent + rainbow + +[mw-standard] [iridescent] [opalescent] [ombre] [rainbow] - transparent [iridescent] iridescent [color] iridescent between [color] and [color] @@ -52,11 +98,20 @@ pragma initial-rule [color] [ombre] [color] (tinted [color] ) [rainbow] rainbow of red, orange, yellow, green, blue, indigo and violet - rainbow of [color] , [color] and [color] - rainbow of [color] , [color] , [color] and [color] - rainbow of [color] , [color] , [color] , [color] and [color] - rainbow of [color] , [color] , [color] , [color] , [color] and [color] - rainbow of [color] , [color] , [color] , [color] , [color] , [color] and [color] + [custom-rainbow] + +[custom-rainbow] rainbow of [color] + +pragma suffix-with [custom-rainbow] [com-color] +pragma suffix-with [custom-rainbow] [com-color] +pragma suffix-with [custom-rainbow] [com-color] +pragma suffix-with [custom-rainbow] [com-color] +pragma suffix-with [custom-rainbow] [com-color] +pragma suffix-with [custom-rainbow] [and-color] + +[com-color] , [color] + +[and-color] and [color] [red-purple] auburn blood @@ -203,7 +258,7 @@ pragma initial-rule [color] malachite obsidian onyx - [opalescent] + [$wtype-jewel] pearlescent peridot ruby @@ -213,6 +268,10 @@ pragma initial-rule [color] tourmaline turquoise +[sw-jewel] opalescent + +[mw-jewel] [opalescent] + [metallic] brass bronze chrome @@ -245,7 +304,40 @@ pragma initial-rule [color] vert white -[archaic-purple] arcipluvian [arcipluvian] +[archaic-purple] [$wtype-archaic-purple] + +[sw-archaic-purple] arcipluvian + ianthine + rhodopsin + solferino + coccineous + cramoisy + erythraen + lateritious + miniaceous + piceous + puccoon + stammel + vinious + nacarat + coquelicot + croceate + ibis + minium + vermeil + citreous + flavescent + icterine + jessamy + jonquil + luteous + meline + ochroleucous + orpiment + sulphureous + urobilin + +[mw-archaic-purple] arcipluvian [arcipluvian] ianthine (violet) rhodopsin (purple) solferino (purple) @@ -281,7 +373,40 @@ pragma initial-rule [color] (varies between [color] , [color] , [color] and [color] ) (varies between [color] , [color] and [color] ) -[archaic-green] bilious (yellow-green) +[archaic-green] [$wtype-archaic-green] + +[sw-archaic-green] bilious + chrysochlorous + tilleul + celadon + chlorochorous + corbeau + porraceous + virescent + viridian + zinnober + bice + caesious + glaucous + lovat + azuline + mazarine + pavonated + smalt + watchet + woad + atrous + eburnean + griseous + nacreous + smaragdine + aeneous + ferruginous + hoary + plumbeous + rubiginous + +[mw-archaic-green] bilious (yellow-green) chrysochlorous (green-gold) tilleul (yellow-green) celadon (pale green) @@ -312,7 +437,40 @@ pragma initial-rule [color] plumbeous (lead white) rubiginous (rusty) -[archaic-brown] badious (chestnut) +[archaic-brown] [$wtype-archaic-brown] + +[sw-archaic-brown] badious (chestnut) + bole + burnet + castaneous + castory + filemot + fulvous + fuscous + infuscate + melichrous + nankeen + pyrrhous + rufous + sarcoline + spadiceous + stramineous + albicant + canescent + cretaceous + leucochroic + niveious + cinereous + columbine + fuliginous + greige + gridelin + isabelline + liard + welmish + morel + +[mw-archaic-brown] badious (chestnut) bole (reddish-brown) burnet (dark brown) castaneous (chestnut) @@ -343,7 +501,38 @@ pragma initial-rule [color] welmish (pale, sickly) morel (black) -[anachronistic] cyan +[anachronistic] [$wtype-anachronistic] + +[sw-anachronistic] cyan + fuchsia + hot pink + magenta + mauve + safety orange + dolm + fuligin + garrow + vantablack + jale + octarine + pallow + rawn + smaudre + ulfire + infrared + ultraviolet + reflective + fluorescent [color] + hypercolor + iridescent + metameric + opalescent + phosphorescent [color] + rainbow + translucent [color] + transparent + +[mw-anachronistic] cyan fuchsia hot pink magenta diff --git a/RGens/data/server-config-sample.cfg b/RGens/data/server-config-sample.cfg index 4662ff3..b725304 100644 --- a/RGens/data/server-config-sample.cfg +++ b/RGens/data/server-config-sample.cfg @@ -13,13 +13,13 @@ digit-nozero sample-grammars/long-data/digit-nozero.gram digit sample-grammars/long-data/digit.gram first-name-female sample-grammars/long-data/first-name-female.gram first-name-male sample-grammars/long-data/first-name-male.gram +geographic-thing sample-grammars/long-data/geographic-thing.gram hex-digit sample-grammars/long-data/hex-digit.gram last-name sample-grammars/long-data/last-name.gram last-syllable sample-grammars/long-data/last-syllable.gram letter sample-grammars/long-data/letter.gram middle-initial sample-grammars/long-data/middle-initial.gram nation sample-grammars/long-data/nation.gram -natural-color sample-grammars/long-data/natural-color.gram number-word sample-grammars/long-data/number-word.gram ordinal sample-grammars/long-data/ordinal.gram planet sample-grammars/long-data/planet.gram @@ -109,3 +109,6 @@ traits sample-grammars/rtwiki/traits.gram # Senior design seniordesign seniordesign/dbdata.gram + +# Misc +700000items misc/700000items.gram |
