From f8e74c50e277b06964f2d820da109197ecde5711 Mon Sep 17 00:00:00 2001 From: aarne Date: Thu, 21 Jun 2012 06:06:05 +0000 Subject: factored Query by taking our Proton parts and introducing an interface --- examples/query/small/patentsQuery/LexQuery.gf | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 examples/query/small/patentsQuery/LexQuery.gf (limited to 'examples/query/small/patentsQuery/LexQuery.gf') 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 -- cgit v1.2.3