mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-26 13:02:50 -06:00
factored Query by taking our Proton parts and introducing an interface
This commit is contained in:
22
examples/query/small/patentsQuery/LexQuery.gf
Normal file
22
examples/query/small/patentsQuery/LexQuery.gf
Normal file
@@ -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 ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user