Exemplo n.º 1
0
 public Noun(SingularInfo si, PluralInfo pi)
 {
     foreach (Form wf in si.nominative)
     {
         this.sgNom.Add(new FormSg(wf.value, si.gender));
     }
     foreach (Form wf in si.genitive)
     {
         this.sgGen.Add(new FormSg(wf.value, si.gender));
     }
     foreach (Form wf in si.vocative)
     {
         this.sgVoc.Add(new FormSg(wf.value, si.gender));
     }
     foreach (Form wf in si.dative)
     {
         this.sgDat.Add(new FormSg(wf.value, si.gender));
     }
     if (pi != null)
     {
         foreach (Form wf in pi.nominative)
         {
             this.plNom.Add(new Form(wf.value));
         }
         foreach (Form wf in pi.genitive)
         {
             this.plGen.Add(new FormPlGen(wf.value, pi.strength));
         }
         foreach (Form wf in pi.vocative)
         {
             this.plVoc.Add(new Form(wf.value));
         }
     }
     AddDative(this);
 }
Exemplo n.º 2
0
 public Adjective(SingularInfo sgMasc, SingularInfo sgFem, string plural, string graded)
 {
     this.sgNom     = sgMasc.nominative;
     this.sgGenMasc = sgMasc.genitive;
     this.sgGenFem  = sgFem.genitive;
     this.sgVocMasc = sgMasc.vocative;
     this.sgVocFem  = sgFem.vocative;
     if (plural != null)
     {
         this.plNom.Add(new Form(plural));
     }
     this.graded.Add(new Form(graded));
 }
Exemplo n.º 3
0
 public Noun(SingularInfo si) : this(si, null)
 {
 }
Exemplo n.º 4
0
 public Adjective(SingularInfo sgMasc, SingularInfo sgFem, string graded) : this(sgMasc, sgFem, null, graded)
 {
 }