new extra Chi constructions for HSK

This commit is contained in:
aarne
2013-10-09 09:52:42 +00:00
parent eff9a3011c
commit 0736a9a2ea
5 changed files with 8 additions and 2 deletions

View File

@@ -52,4 +52,7 @@ concrete ExtraChi of ExtraChiAbs = CatChi **
in
cl.np ++ cl.vp.prePart ++ verb ++ cl.vp.compl
} ;
TopicAdvCl adv cl = mkClause (adv.s ++ cl.np) cl.vp ;
}

View File

@@ -14,4 +14,5 @@ abstract ExtraChiAbs = Cat,
QuestRepV : Cl -> QCl ; -- V neg V question
TopicAdvCl : Adv -> Cl -> Cl ; -- topicalized adverb
} ;

View File

@@ -1,7 +1,7 @@
concrete PhraseChi of Phrase = CatChi ** open Prelude, ResChi in {
lin
PhrUtt pconj utt voc = {s = pconj.s ++ voc.s ++ utt.s} ;
PhrUtt pconj utt voc = {s = pconj.s ++ voc.s ++ chcomma ++ utt.s} ;
UttS s = s ;
UttQS qs = qs ;

View File

@@ -208,7 +208,7 @@ oper
mkClauseCompl : Str -> VP -> Str -> Clause = \np,vp,compl -> {
s = \\p,a => np ++ vp.prePart ++ useVerb vp.verb ! p ! a ++ vp.compl ++ compl ;
np = np ;
vp = vp ;
vp = insertObj (ss compl) vp ;
} ;

View File

@@ -329,6 +329,8 @@ oper
--2 Other categories
mkSubj : Str -> Subj = \s -> lin Subj {s = s} ; --%
mkInterj : Str -> Interj
= \s -> lin Interj (ss s) ;
--.
--2 Definitions of paradigms