mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-10-31 19:03:20 -06:00
parsing overloaded constructors as result
This commit is contained in:
1 parent
de8bee29c9
commit
8b48064289
7 files changed
+1209
No files matched your search
@@ -0,0 +1,18 @@
|
||||
Parsing overloaded resource constructors.
|
||||
|
||||
AR 2/7/2007.
|
||||
|
||||
Do this way in gf:
|
||||
|
||||
> i OverLangEng.gf
|
||||
|
||||
> p -overload -cat=S "I loved her"
|
||||
|
||||
mkS pastTense (mkCl (mkNP i_Pron) love_V2 (mkNP she_Pron))
|
||||
|
||||
The program FromOverload.hs creates the files OverGrammar.gf and OverGrammarEng.gf
|
||||
from constr.gf (which in turn is the latter part of ../Constructors.gf).
|
||||
|
||||
|
||||
Some imperative and punctuation forms are still missing, since they are treated
|
||||
with special parameters.
|
||||
Reference in new issue
Block a user