summaryrefslogtreecommitdiff
path: root/examples/query/small/patentsQuery/LexQuery.gf
diff options
context:
space:
mode:
Diffstat (limited to 'examples/query/small/patentsQuery/LexQuery.gf')
-rw-r--r--examples/query/small/patentsQuery/LexQuery.gf22
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/query/small/patentsQuery/LexQuery.gf b/examples/query/small/patentsQuery/LexQuery.gf
new file mode 100644
index 000000000..dbe077a55
--- /dev/null
+++ b/examples/query/small/patentsQuery/LexQuery.gf
@@ -0,0 +1,22 @@
+interface LexQuery = open Syntax in {
+
+oper
+-- structural words
+ about_Prep : Prep ;
+ all_NP : NP ;
+ also_AdV : AdV ;
+ as_Prep : Prep ;
+ at_Prep : Prep ;
+ called_A : A ;
+ give_V3 : V3 ;
+ information_N : N ;
+ other_A : A ;
+ name_N : N ;
+
+ mkName : Str -> NP ;
+
+oper
+ mkRelation : Str -> {cn : CN ; prep : Prep} ;
+ that_RP : RP ;
+
+} \ No newline at end of file