forked from GitHub/gf-core
Disabled stoneage conjunction. Added optimize=share to stoneage grammars.
This commit is contained in:
@@ -9,11 +9,11 @@ fun
|
|||||||
|
|
||||||
-- Sentence conjunction
|
-- Sentence conjunction
|
||||||
|
|
||||||
AndS : S -> S -> S ;
|
-- AndS : S -> S -> S ;
|
||||||
|
|
||||||
-- NP conjunction
|
-- NP conjunction
|
||||||
|
|
||||||
AndNP : NP -> NP -> NP ;
|
-- AndNP : NP -> NP -> NP ;
|
||||||
|
|
||||||
-- Actions with an object
|
-- Actions with an object
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ concrete StoneageEng of Stoneage
|
|||||||
StoneageResEng in {
|
StoneageResEng in {
|
||||||
|
|
||||||
flags
|
flags
|
||||||
startcat=S;
|
startcat=S; optimize=share;
|
||||||
|
|
||||||
lincat
|
lincat
|
||||||
S = Phr ;
|
S = Phr ;
|
||||||
@@ -16,11 +16,11 @@ lin
|
|||||||
|
|
||||||
-- Sentence conjunction
|
-- 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
|
-- 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) ;
|
Drink = PresV2 (dirV2 drink_V) ;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ concrete StoneageSwe of Stoneage
|
|||||||
= open SyntaxSwe, ResourceSwe, ParadigmsSwe, VerbsSwe, SwadeshLexSwe, StoneageResSwe in {
|
= open SyntaxSwe, ResourceSwe, ParadigmsSwe, VerbsSwe, SwadeshLexSwe, StoneageResSwe in {
|
||||||
|
|
||||||
flags
|
flags
|
||||||
startcat=S;
|
startcat=S; optimize=share;
|
||||||
|
|
||||||
lincat
|
lincat
|
||||||
S = Phr ;
|
S = Phr ;
|
||||||
@@ -15,11 +15,11 @@ lin
|
|||||||
|
|
||||||
-- Sentence conjunction
|
-- 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
|
-- NP conjunction
|
||||||
|
|
||||||
AndNP n1 n2 = ConjNP and_Conj (TwoNP n1 n2);
|
-- AndNP n1 n2 = ConjNP and_Conj (TwoNP n1 n2);
|
||||||
|
|
||||||
Drink = PresVasV2 drink_V ;
|
Drink = PresVasV2 drink_V ;
|
||||||
Eat = PresVasV2 eat_V ;
|
Eat = PresVasV2 eat_V ;
|
||||||
|
|||||||
Reference in New Issue
Block a user