diff options
| author | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2018-05-29 15:35:02 -0300 |
|---|---|---|
| committer | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2018-05-29 15:35:02 -0300 |
| commit | 0faa5175b6f0de8835ed514615ac64135f406b29 (patch) | |
| tree | 6a1a5a9b01a1175b8ae2203418005f7bc625be9d /data/sample-grammars/city.gram | |
| parent | 9356498bebab9342222cd87be669abae9d7ac3a2 (diff) | |
Move files out of folder
Diffstat (limited to 'data/sample-grammars/city.gram')
| -rw-r--r-- | data/sample-grammars/city.gram | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/data/sample-grammars/city.gram b/data/sample-grammars/city.gram new file mode 100644 index 0000000..b344d3b --- /dev/null +++ b/data/sample-grammars/city.gram @@ -0,0 +1,54 @@ +[city] [real-city] + [town-name] + [other-city] + +pragma initial-rule [city] + +# @TODO 11/01/17 Ben Culkin :SuffixIssues +# Figure out why suffixes aren't properly getting attached to +# things. +# + +[other-city] [act-other-city] + [act-other-city] [town-suffix] + +pragma despace-rule [other-city] +pragma prefix-with [other-city] [town-prefix] + +[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] + +pragma despace-rule [act-other-city] + +[gen-name] [last-name] + [first-name] + [random-name] + +[town-prefix] [cardinal] + new + new + old + little + fort + lower + upper + san + la + van + +[town-suffix] burg + ton + ville + opolis + field + boro + dale + +pragma despace-rule [town-suffix] |
