diff options
| author | aarne <aarne@chalmers.se> | 2012-06-21 06:06:05 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2012-06-21 06:06:05 +0000 |
| commit | f8e74c50e277b06964f2d820da109197ecde5711 (patch) | |
| tree | bc87de828ed3aaf2bb6fbf5315016894b75644fd /examples/query/small/patentsQuery/LexQuery.gf | |
| parent | 18c08fdac1b981b85b15a9f28584b0def9aa45a2 (diff) | |
factored Query by taking our Proton parts and introducing an interface
Diffstat (limited to 'examples/query/small/patentsQuery/LexQuery.gf')
| -rw-r--r-- | examples/query/small/patentsQuery/LexQuery.gf | 22 |
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 |
