mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-19 09:49:33 -06:00
functorized Query and added Swe
This commit is contained in:
36
examples/query/LexQuery.gf
Normal file
36
examples/query/LexQuery.gf
Normal file
@@ -0,0 +1,36 @@
|
||||
interface LexQuery = open Syntax in {
|
||||
|
||||
oper
|
||||
located_A : A ;
|
||||
give_V3 : V3 ;
|
||||
know_V2 : V2 ;
|
||||
|
||||
-- structural words
|
||||
about_Prep : Prep ;
|
||||
all_NP : NP ;
|
||||
also_AdV : AdV ;
|
||||
also_AdA : AdA ;
|
||||
as_Prep : Prep ;
|
||||
at_Prep : Prep ;
|
||||
that_RP : RP ;
|
||||
|
||||
called_A : A ;
|
||||
|
||||
participlePropCN : Prop -> CN -> CN ;
|
||||
|
||||
vpAP : VP -> AP ;
|
||||
|
||||
information_N : N ;
|
||||
other_A : A ;
|
||||
otherwise_AdV : AdV ;
|
||||
otherwise_AdA : AdA ;
|
||||
what_IQuant : IQuant ;
|
||||
|
||||
-- lincats
|
||||
Fun = {cn : CN ; prep : Prep} ;
|
||||
Prop = {ap : AP ; vp : VP} ;
|
||||
Rel = {ap : AP ; vp : VP ; prep : Prep} ;
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user