mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-28 09:28:54 -06:00
Merge pull request #14 from odanoburu/extend-por
(Por) Extend: begin to add VPS
This commit is contained in:
@@ -5,7 +5,7 @@ concrete ExtendPor of Extend =
|
|||||||
[
|
[
|
||||||
iFem_Pron, weFem_Pron, youFem_Pron, youPlFem_Pron, youPolPl_Pron, youPolFem_Pron, youPolPlFem_Pron, theyFem_Pron,
|
iFem_Pron, weFem_Pron, youFem_Pron, youPlFem_Pron, youPolPl_Pron, youPolFem_Pron, youPolPlFem_Pron, theyFem_Pron,
|
||||||
ProDrop,
|
ProDrop,
|
||||||
PassVPSlash, ExistsNP
|
PassVPSlash, ExistsNP, VPS
|
||||||
] -- put the names of your own definitions here
|
] -- put the names of your own definitions here
|
||||||
with
|
with
|
||||||
(Grammar = GrammarPor), (Syntax = SyntaxPor) **
|
(Grammar = GrammarPor), (Syntax = SyntaxPor) **
|
||||||
@@ -18,6 +18,18 @@ concrete ExtendPor of Extend =
|
|||||||
ParadigmsPor,
|
ParadigmsPor,
|
||||||
(S = StructuralPor) in {
|
(S = StructuralPor) in {
|
||||||
|
|
||||||
|
lincat
|
||||||
|
VPS = {s : Agr => Str} ;
|
||||||
|
[VPS] = {s1,s2 : Agr => Str} ;
|
||||||
|
-- VPI = {s : VType => Agr => Str } ;
|
||||||
|
|
||||||
|
lin
|
||||||
|
BaseVPS = twotable Agr ;
|
||||||
|
ConsVPS = consrTable Agr comma ;
|
||||||
|
|
||||||
|
-- MkVPS t p vp = mkVPS (lin Temp t) (lin Pol p) (lin VP vp) ;
|
||||||
|
--TODO: write mkVPS oper
|
||||||
|
|
||||||
lin
|
lin
|
||||||
ProDrop p = {
|
ProDrop p = {
|
||||||
s = table {
|
s = table {
|
||||||
|
|||||||
@@ -112,7 +112,6 @@ concrete StructuralPor of Structural = CatPor **
|
|||||||
nothing_NP = pn2npNeg (mkPN "nada") ;
|
nothing_NP = pn2npNeg (mkPN "nada") ;
|
||||||
|
|
||||||
on_Prep = mkPrep "sobre" ;
|
on_Prep = mkPrep "sobre" ;
|
||||||
--- one_Quant = {s = \\g,c => prepCase c ++ genForms "uno" "una" ! g} ;
|
|
||||||
only_Predet = {s = \\_,c => prepCase c ++ "só" ; c = Nom ;
|
only_Predet = {s = \\_,c => prepCase c ++ "só" ; c = Nom ;
|
||||||
a = PNoAg} ;
|
a = PNoAg} ;
|
||||||
or_Conj = {s1 = [] ; s2 = "ou" ; n = Sg} ;
|
or_Conj = {s1 = [] ; s2 = "ou" ; n = Sg} ;
|
||||||
|
|||||||
Reference in New Issue
Block a user