mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-12 06:19:33 -06:00
Disabled stoneage conjunction. Added optimize=share to stoneage grammars.
This commit is contained in:
@@ -9,11 +9,11 @@ fun
|
||||
|
||||
-- Sentence conjunction
|
||||
|
||||
AndS : S -> S -> S ;
|
||||
-- AndS : S -> S -> S ;
|
||||
|
||||
-- NP conjunction
|
||||
|
||||
AndNP : NP -> NP -> NP ;
|
||||
-- AndNP : NP -> NP -> NP ;
|
||||
|
||||
-- Actions with an object
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ concrete StoneageEng of Stoneage
|
||||
StoneageResEng in {
|
||||
|
||||
flags
|
||||
startcat=S;
|
||||
startcat=S; optimize=share;
|
||||
|
||||
lincat
|
||||
S = Phr ;
|
||||
@@ -16,11 +16,11 @@ lin
|
||||
|
||||
-- Sentence conjunction
|
||||
|
||||
AndS s1 s2 = { s = s1.s ++ and_Conj.s ++ s2.s } ** { lock_Phr = <> } ;
|
||||
-- AndS s1 s2 = { s = s1.s ++ and_Conj.s ++ s2.s } ** { lock_Phr = <> } ;
|
||||
|
||||
-- NP conjunction
|
||||
|
||||
AndNP n1 n2 = ConjNP and_Conj (TwoNP n1 n2);
|
||||
-- AndNP n1 n2 = ConjNP and_Conj (TwoNP n1 n2);
|
||||
|
||||
|
||||
Drink = PresV2 (dirV2 drink_V) ;
|
||||
|
||||
@@ -3,7 +3,7 @@ concrete StoneageSwe of Stoneage
|
||||
= open SyntaxSwe, ResourceSwe, ParadigmsSwe, VerbsSwe, SwadeshLexSwe, StoneageResSwe in {
|
||||
|
||||
flags
|
||||
startcat=S;
|
||||
startcat=S; optimize=share;
|
||||
|
||||
lincat
|
||||
S = Phr ;
|
||||
@@ -15,11 +15,11 @@ lin
|
||||
|
||||
-- Sentence conjunction
|
||||
|
||||
AndS s1 s2 = { s = s1.s ++ and_Conj.s ++ s2.s } ** { lock_Phr = <> } ;
|
||||
-- AndS s1 s2 = { s = s1.s ++ and_Conj.s ++ s2.s } ** { lock_Phr = <> } ;
|
||||
|
||||
-- NP conjunction
|
||||
|
||||
AndNP n1 n2 = ConjNP and_Conj (TwoNP n1 n2);
|
||||
-- AndNP n1 n2 = ConjNP and_Conj (TwoNP n1 n2);
|
||||
|
||||
Drink = PresVasV2 drink_V ;
|
||||
Eat = PresVasV2 eat_V ;
|
||||
|
||||
Reference in New Issue
Block a user