new japanese from Liza 30 April

This commit is contained in:
aarne
2012-05-07 11:31:05 +00:00
parent 3fed5b1cbc
commit 245a2b0007
15 changed files with 728 additions and 321 deletions

View File

@@ -8,34 +8,21 @@ flags coding = utf8 ;
lincat
S = {s : Particle => Style => Str ;
te : Particle => Style => Str ;
tara : Particle => Style => Str ;
subj : Particle => Style => Str ;
pred : Style => Str ;
} ;
S = {s, te, ba, subj : Particle => Style => Str ; pred, pred_te, pred_ba : Style => Str} ;
QS = {s : Particle => Style => Str} ;
RS = {s : Animateness => Style => Str ;
te : Animateness => Style => Str ;
subj : Particle => Style => Str ;
pred : Animateness => Style => Str ;
pred_te : Animateness => Style => Str ;
pred_tara : Animateness => Style => Str ;
missingSubj : Bool} ;
RS = {s, te, pred, pred_te, pred_ba : Animateness => Style => Str ;
subj : Particle => Style => Str ; missingSubj : Bool} ;
Cl = {s : Particle => Style => TTense => Polarity => Str ;
te : Particle => Style => Str ;
tara : Particle => Style => Str ;
subj : Particle => Style => Str ;
te, ba, subj : Particle => Style => Str ;
pred : Style => TTense => Polarity => Str ;
pred_te : Style => Str ;
pred_tara : Style => Str ;
pred_te, pred_ba : Style => Str ;
changePolar : Bool} ;
ClSlash = {s : Style => TTense => Polarity => Str ;
te : Style => Str ;
subj : Particle => Style => Str ;
pred : Style => TTense => Polarity => Str ;
pred_te : Style => Str ;
pred_tara : Style => Str ;
pred_ba : Style => Str ;
changePolar : Bool} ;
SSlash = {s : Style => Str ; te : Style => Str} ;
Imp = {s : Style => Polarity => Str} ;
@@ -48,45 +35,44 @@ flags coding = utf8 ;
te : Animateness => Style => Str ;
subj : Particle => Style => Str ;
pred : Animateness => Style => TTense => Polarity => Str ;
pred_te : Animateness => Style => Str ;
pred_tara : Animateness => Style => Str ;
pred_te, pred_ba : Animateness => Style => Str ;
changePolar : Bool ;
missingSubj : Bool} ;
RP = {s : Style => Str ; prep : Str} ;
VP = ResJap.VP ; -- {verb : Animateness => Style => TTense => Polarity => Str ;
-- te : Animateness => Style => Str; a_stem : Animateness => Style => Str ;
-- i_stem : Animateness => Style => Str ; tara : Animateness => Style => Str ;
-- i_stem : Animateness => Style => Str ; ba : Animateness => Style => Str ;
-- prep : Str ; obj : Style => Str ; prepositive : Style => Str ; compar : ComparSense} ;
Comp = {verb : Animateness => Style => TTense => Polarity => Str ;
te : Animateness => Style => Str ; a_stem : Animateness => Style => Str ;
i_stem : Animateness => Style => Str ; tara : Animateness => Style => Str ;
i_stem : Animateness => Style => Str ; ba : Animateness => Style => Str ;
obj : Style => Str ; prepositive : Style => Str ; compar : ComparSense} ;
VPSlash = Verb ** {prep : Str ; obj : Style => Str ; prepositive : Style => Str ;
v2vType : Bool ; compar : ComparSense} ;
AP = {pred : Style => TTense => Polarity => Str ; attr : Style => Str ; te : Style => Str ;
tara : Style => Str ; adv : Style => Str ; prepositive : Style => Str ;
compar : ComparSense} ;
ba : Style => Str ; adv : Style => Str ; dropNaEnging : Style => Str ;
prepositive : Style => Str ; compar : ComparSense} ;
NP = ResJap.NP ; -- {s : Style => Str ; prepositive : Style => Str ; needPart : Bool ;
-- changePolar : Bool ; Pron1Sg : Bool ; anim : Animateness} ;
CN = Noun ** {object : Style => Str ; prepositive : Style => Str ; hasAttr : Bool} ;
Pron = Pronoun ; -- {s : Style => Str ; Pron1Sg : Bool ; anim : Animateness} ;
Det = Determiner ; -- {quant : Style => Str ; num : Str ; postpositive : Str ;
-- n : Number ; inclCard : Bool} ;
Predet = {s : Str} ;
Quant = {s : Style => Str} ;
Pron = Pronoun ; -- {s : Style => Str ; Pron1Sg : Bool ; anim : Animateness} ;
Det = Determiner ; -- {quant : Style => Str ; num : Str ; postpositive : Str ;
-- n : Number ; inclCard : Bool ; sp : Style => Str ; no : Bool} ;
Predet = {s : Str ; not : Bool} ;
Quant = {s : Style => Str ; sp : Style => Str ; no : Bool} ;
Num = ResJap.Num ; -- {s : Str ; postpositive : Str ; n : Number ; inclCard : Bool} ;
Card = {s : Str ; postpositive : Str ; n : Number} ;
Ord = Adj ; -- {pred : Style => TTense => Polarity => Str ;
-- attr : Str; te : Str ; tara : Str ; adv : Str} ;
Ord = Adj ; -- {pred : Style => TTense => Polarity => Str ; attr : Str ;
-- te : Str ; ba : Str ; adv : Str ; dropNaEnging : Str} ;
Numeral = {s : Str ; n : Number} ;
Digits = {s : Str ; n : Number} ;
Conj = Conjunction ;
Subj = {s : Str ; when : Bool} ;
Conj = Conjunction ; -- {s : Str ; null : Str ; type : ConjType} ;
Subj = Subjunction ; -- {s : Str ; type : SubjType} ;
Prep = Preposition ; -- {s : Str ; relPrep : Str} ;
V = Verb ; -- {s : Style => TTense => Polarity => Str ; te : Str ;
-- a_stem : Str ; i_stem : Str ; tara : Str}
-- a_stem : Str ; i_stem : Str ; ba : Str}
V2 = Verb ** {pass: Style => TTense => Polarity => Str ; pass_te : Str ; pass_a_stem : Str ;
pass_i_stem : Str ; pass_tara : Str ; prep : Str} ;
pass_i_stem : Str ; pass_ba : Str ; prep : Str} ;
V3 = Verb ** {prep1 : Str ; prep2 : Str ; give : Bool} ; -- "give" is a special case
VV = Verb ** {sense : ModSense} ;
VS = Verb ** {prep : Str} ;
@@ -96,8 +82,8 @@ flags coding = utf8 ;
V2S = Verb ;
V2Q = Verb ;
V2A = Verb ;
A = Adj ; -- {pred : Style => TTense => Polarity => Str ;
-- attr : Str; te : Str ; tara : Str ; adv : Str} ;
A = Adj ; -- {pred : Style => TTense => Polarity => Str ; attr : Str;
-- te : Str ; ba : Str ; adv : Str ; dropNaEnging : Str} ;
A2 = Adj2 ; -- Adj ** {prep : Str} ;
N = Noun ; -- {s : Number => Style => Str ; anim : Animateness ;
-- counter : Str ; counterReplace : Bool} ;