summaryrefslogtreecommitdiff
path: root/examples/trigram/ShawCnc.gf
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2009-10-08 13:13:48 +0000
committerkrasimir <krasimir@chalmers.se>2009-10-08 13:13:48 +0000
commita84cdb32c75b11a2e7bae2906137cefae4ad03ce (patch)
tree5576798ba6f130070615beab0511ad1fd6e942db /examples/trigram/ShawCnc.gf
parentffb5fdcd2580b00203456636be887adcc9759bda (diff)
just for fun - grammar for trigram models in GF
Diffstat (limited to 'examples/trigram/ShawCnc.gf')
-rw-r--r--examples/trigram/ShawCnc.gf23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/trigram/ShawCnc.gf b/examples/trigram/ShawCnc.gf
new file mode 100644
index 000000000..b56ec16a9
--- /dev/null
+++ b/examples/trigram/ShawCnc.gf
@@ -0,0 +1,23 @@
+concrete ShawCnc of Shaw = TrigramCnc ** {
+
+lin
+ the_W = "the" ;
+ reasonable_W = "reasonable" ;
+ man_W = "man" ;
+ adapts_W = "adapts" ;
+ himself_W = "himself" ;
+ to_W = "to" ;
+ world_W = "world" ;
+ unreasonable_W = "unreasonable" ;
+ one_W = "one" ;
+ persists_W = "persists" ;
+ in_W = "in" ;
+ trying_W = "trying" ;
+ adapt_W = "adapt" ;
+ therefore_W = "therefore" ;
+ all_W = "all" ;
+ progress_W = "progress" ;
+ depends_W = "depends" ;
+ on_W = "on" ;
+
+} \ No newline at end of file