From 4b3807746e8c9b9664be440071b5bd14875e71a1 Mon Sep 17 00:00:00 2001 From: "Benjamin J. Culkin" Date: Sun, 3 Jun 2018 22:06:16 -0300 Subject: Minor data tweaks --- data/misc/700000items.gram | 3 +-- data/misc/nimble.gram | 27 ++++++++++++--------------- data/new-sample-grammars/cbs.gram | 2 -- data/sample-grammars/career.gram | 4 +--- data/server-config-sample.cfg | 2 -- 5 files changed, 14 insertions(+), 24 deletions(-) diff --git a/data/misc/700000items.gram b/data/misc/700000items.gram index 4158dcb..950bbb2 100755 --- a/data/misc/700000items.gram +++ b/data/misc/700000items.gram @@ -1,8 +1,7 @@ [item-name] [noun] pragma prefix-with [item-name] [post] -pragma prefix-with [item-name] [adj] -pragma prefix-with [item-name] [adj] +pragma prefix-with [item-name] [adj] [adj] pragma prefix-with [item-name] [pre] pragma suffix-with [item-name] [end] diff --git a/data/misc/nimble.gram b/data/misc/nimble.gram index 3567777..52a520a 100755 --- a/data/misc/nimble.gram +++ b/data/misc/nimble.gram @@ -1,18 +1,5 @@ -[nimble-bimble] [bimble] - -pragma prefix-with [nimble-bimble] [nimble-plural] -pragma suffix-with [nimble-bimble] [nimble-plural] - -pragma initial-rule [nimble-bimble] - -[nimble-plural] [nimble-art] [nimble] - -[bimble] bimble - nimble - bimble - nimble - bimble - nimble +[bimble] {^4} bimble + {^4} nimble dindle symbol frindle @@ -27,4 +14,14 @@ pragma initial-rule [nimble-bimble] while they a +[nimble-plural] [nimble-art] [nimble] + [nimble] [bimble] + +[nimble-bimble] [bimble] + +pragma prefix-with [nimble-bimble] [nimble-plural] +pragma suffix-with [nimble-bimble] [nimble-plural] + +pragma initial-rule [nimble-bimble] +pragma export-rule [nimble] diff --git a/data/new-sample-grammars/cbs.gram b/data/new-sample-grammars/cbs.gram index e4a5a30..215d8d3 100755 --- a/data/new-sample-grammars/cbs.gram +++ b/data/new-sample-grammars/cbs.gram @@ -563,8 +563,6 @@ pragma export-rule [boss] [person] [person-single] [person-plural] -pragma export-rule [person] - [thing-adjective] efficient strategic constructive diff --git a/data/sample-grammars/career.gram b/data/sample-grammars/career.gram index 63142f5..5a6a694 100755 --- a/data/sample-grammars/career.gram +++ b/data/sample-grammars/career.gram @@ -4,9 +4,7 @@ pragma initial-rule [career-tech-desc] pragma prefix-with [career-tech-desc] [career-tech-desc-pref] -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] +pragma suffix-with [career-tech-desc] [career-tech-descsuff] [career-tech-descsuff] [career-tech-desc-pref] [career-prefsuf] of the diff --git a/data/server-config-sample.cfg b/data/server-config-sample.cfg index 1d1d90d..8afbbf3 100755 --- a/data/server-config-sample.cfg +++ b/data/server-config-sample.cfg @@ -118,5 +118,3 @@ seniordesign seniordesign/dbdata.gram # Misc 700000items misc/700000items.gram nimble-bimble misc/nimble.gram - -# Load test grammar -- cgit v1.2.3