mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
more variants in ParseChi: topicalized adverbs, V-not-V questions
This commit is contained in:
@@ -55,6 +55,6 @@ concrete ExtraChi of ExtraChiAbs = CatChi **
|
||||
cl.np ++ cl.vp.prePart ++ verb ++ cl.vp.compl
|
||||
} ;
|
||||
|
||||
TopicAdvCl adv cl = mkClause (adv.s ++ cl.np) cl.vp ;
|
||||
TopicAdvVP vp adv = insertTopic adv vp ;
|
||||
|
||||
}
|
||||
|
||||
@@ -10,9 +10,9 @@ abstract ExtraChiAbs = Cat,
|
||||
Aspect ;
|
||||
|
||||
fun
|
||||
CompBareAP : AP -> Comp ; -- adjectival predication without copula
|
||||
CompBareAP : AP -> Comp ; -- adjectival predication without copula
|
||||
|
||||
QuestRepV : Cl -> QCl ; -- V neg V question
|
||||
|
||||
TopicAdvCl : Adv -> Cl -> Cl ; -- topicalized adverb
|
||||
TopicAdvVP : VP -> Adv -> VP ; -- topicalized adverb
|
||||
} ;
|
||||
|
||||
@@ -7,11 +7,11 @@ concrete ParseChi of ParseEngAbs =
|
||||
NumeralChi,
|
||||
SymbolChi [PN, Symb, String, CN, Card, NP, MkSymb, SymbPN, CNNumNP],
|
||||
ConjunctionChi,
|
||||
VerbChi - [SlashV2V, PassV2, UseCopula, ComplVV, CompAP],
|
||||
VerbChi - [SlashV2V, PassV2, UseCopula, ComplVV, CompAP, AdvVP],
|
||||
AdverbChi,
|
||||
PhraseChi,
|
||||
SentenceChi,
|
||||
QuestionChi,
|
||||
QuestionChi - [QuestCl],
|
||||
RelativeChi,
|
||||
IdiomChi [NP, VP, Tense, Cl, ProgrVP, ExistNP, SelfAdvVP, SelfAdVVP, SelfNP],
|
||||
ConstructionChi,
|
||||
@@ -33,7 +33,11 @@ flags
|
||||
-- Chinese-specific overrides
|
||||
|
||||
lin
|
||||
CompAP = G.CompAP | E.CompBareAP ;
|
||||
CompAP = G.CompAP | E.CompBareAP ; -- he is good | he good
|
||||
|
||||
AdvVP vp adv = G.AdvVP vp adv | E.TopicAdvVP vp adv ; -- he *today* here sleeps | *today* he here sleeps
|
||||
|
||||
QuestCl cl = G.QuestCl cl | E.QuestRepV cl ; -- he comes 'ma' | he come not come
|
||||
|
||||
lin
|
||||
|
||||
|
||||
Reference in New Issue
Block a user