forked from GitHub/gf-core
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
|
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 ;
|
Aspect ;
|
||||||
|
|
||||||
fun
|
fun
|
||||||
CompBareAP : AP -> Comp ; -- adjectival predication without copula
|
CompBareAP : AP -> Comp ; -- adjectival predication without copula
|
||||||
|
|
||||||
QuestRepV : Cl -> QCl ; -- V neg V question
|
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,
|
NumeralChi,
|
||||||
SymbolChi [PN, Symb, String, CN, Card, NP, MkSymb, SymbPN, CNNumNP],
|
SymbolChi [PN, Symb, String, CN, Card, NP, MkSymb, SymbPN, CNNumNP],
|
||||||
ConjunctionChi,
|
ConjunctionChi,
|
||||||
VerbChi - [SlashV2V, PassV2, UseCopula, ComplVV, CompAP],
|
VerbChi - [SlashV2V, PassV2, UseCopula, ComplVV, CompAP, AdvVP],
|
||||||
AdverbChi,
|
AdverbChi,
|
||||||
PhraseChi,
|
PhraseChi,
|
||||||
SentenceChi,
|
SentenceChi,
|
||||||
QuestionChi,
|
QuestionChi - [QuestCl],
|
||||||
RelativeChi,
|
RelativeChi,
|
||||||
IdiomChi [NP, VP, Tense, Cl, ProgrVP, ExistNP, SelfAdvVP, SelfAdVVP, SelfNP],
|
IdiomChi [NP, VP, Tense, Cl, ProgrVP, ExistNP, SelfAdvVP, SelfAdVVP, SelfNP],
|
||||||
ConstructionChi,
|
ConstructionChi,
|
||||||
@@ -33,7 +33,11 @@ flags
|
|||||||
-- Chinese-specific overrides
|
-- Chinese-specific overrides
|
||||||
|
|
||||||
lin
|
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
|
lin
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user