summaryrefslogtreecommitdiff
path: root/data/sample-grammars/theory.gram
diff options
context:
space:
mode:
Diffstat (limited to 'data/sample-grammars/theory.gram')
-rwxr-xr-xdata/sample-grammars/theory.gram25
1 files changed, 25 insertions, 0 deletions
diff --git a/data/sample-grammars/theory.gram b/data/sample-grammars/theory.gram
new file mode 100755
index 0000000..af2ce49
--- /dev/null
+++ b/data/sample-grammars/theory.gram
@@ -0,0 +1,25 @@
+[theory] [plural+last] [theory-suffix]
+ [plural+last] [theory-suffix]
+ the [2+last-name] [theory-suffix]
+ the [2+last-name] [theory-suffix]
+ the [2+last-name] [theory-suffix]
+ the [3+last-name] [theory-suffix]
+ [plural+last] [ordinal] [theory-suffix]
+ the [last-name] [theory-suffix]
+ the [last-name] [theory-suffix]
+
+pragma initial-rule [theory]
+
+[plural+last] [last-name] 's
+
+[2+last-name] [last-name] - [last-name]
+
+[3+last-name] [last-name] - [last-name] - [last-name]
+
+[theory-suffix] theory
+ law
+ theorem
+ postulate
+ conjecture
+ principle
+ hypothesis