1
0
forked from GitHub/gf-core

Make for Translate10

This commit is contained in:
aarne
2014-04-04 14:32:05 +00:00
parent 316e473a1e
commit 81f76ba658
5 changed files with 91 additions and 39 deletions

View File

@@ -1,12 +1,15 @@
--# -path=.:../chinese:../abstract
--# -path=.:src/chunk:alltenses
concrete TranslateChi of Translate =
TenseChi,
NounChi - [PPartNP],
AdjectiveChi,
NumeralChi,
SymbolChi [PN, Symb, String, CN, Card, NP, MkSymb, SymbPN, CNNumNP],
SymbolChi [
PN, Symb, String, CN, Card, NP, MkSymb, SymbPN, CNNumNP
],
ConjunctionChi,
VerbChi - [
UseCopula, -- just removed
SlashV2V, PassV2, ComplVV, -- generalized
@@ -19,12 +22,19 @@ concrete TranslateChi of Translate =
QuestCl -- Chi exception
],
RelativeChi,
IdiomChi [NP, VP, Tense, Cl, ProgrVP, ExistNP, SelfAdvVP, SelfAdVVP, SelfNP],
IdiomChi [
NP, VP, Tense, Cl, ProgrVP, ExistNP, SelfAdvVP, SelfAdVVP, SelfNP,
neutr, sjalv
],
ConstructionChi,
ExtensionsChi,
DictionaryChi
**
open ResChi, ParadigmsChi, SyntaxChi, Prelude, (G = GrammarChi), (E = ExtraChi) in {
DocumentationChi,
ChunkChi,
ExtensionsChi [CompoundCN,AdAdV,UttAdV,ApposNP,MkVPI, MkVPS, PredVPS, that_RP, who_RP],
DictionaryChi **
open ResChi, ParadigmsChi, SyntaxChi, Prelude, (G = GrammarChi), (E = ExtraChi) in {
flags
literal = Symb ;
@@ -34,10 +44,11 @@ flags
-- Chinese-specific overrides
lin
CompAP = G.CompAP | E.CompBareAP ; -- he is good | he good
CompAP = E.CompBareAP | G.CompAP ; -- he good | he is good
AdvVP vp adv = E.TopicAdvVP vp adv | G.AdvVP vp adv ; -- he *today* here sleeps | *today* he here sleeps
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
QuestCl cl = G.QuestCl cl | E.QuestRepV cl ; -- he comes 'ma' | he come not come
}