forked from GitHub/gf-rgl
Some progress on the implementation of mkClause
This commit is contained in:
@@ -2,9 +2,11 @@
|
|||||||
|
|
||||||
concrete GrammarTur of Grammar =
|
concrete GrammarTur of Grammar =
|
||||||
NounTur,
|
NounTur,
|
||||||
|
VerbTur,
|
||||||
AdjectiveTur,
|
AdjectiveTur,
|
||||||
NumeralTur,
|
NumeralTur,
|
||||||
StructuralTur
|
StructuralTur,
|
||||||
|
SentenceTur
|
||||||
** {
|
** {
|
||||||
|
|
||||||
flags startcat = Phr ; unlexer = text ; lexer = text ;
|
flags startcat = Phr ; unlexer = text ; lexer = text ;
|
||||||
|
|||||||
@@ -68,5 +68,5 @@ resource ResTur = ParamX ** open Prelude, Predef, HarmonyTur in {
|
|||||||
mkPrep : Str -> Case -> {s : Str; c : Case; lock_Prep : {}} = \s,c -> lin Prep {s=s; c=c};
|
mkPrep : Str -> Case -> {s : Str; c : Case; lock_Prep : {}} = \s,c -> lin Prep {s=s; c=c};
|
||||||
|
|
||||||
mkClause : Str -> Verb -> {s : Str} =
|
mkClause : Str -> Verb -> {s : Str} =
|
||||||
\np, v -> ss "TODO" ;
|
\np, v -> ss (np ++ v.s ! VInfinitive) ;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user