Package grammar.model

Examples of grammar.model.PersonalPronoun


  }

  public SubjectGender getSubjectGender() {
    if (!(form instanceof PersonalPronoun))
      return null;
    PersonalPronoun pp = (PersonalPronoun) form;
    return pp.getGender();
  }
View Full Code Here


  }

  public Multiplicity getPronounMultiplicity() {
    if (!(form instanceof PersonalPronoun))
      return null;
    PersonalPronoun pp = (PersonalPronoun) form;
    return pp.getMultiplicity();
  }
View Full Code Here

     
      for (PersonalPronounRole role : roles) {
        for (Multiplicity m : ms) {
          for (Person p : ps) {
            for (SubjectGender g : gs) {
              pronouns.add(new PersonalPronoun(getLanguage(), label, elidedLabel,
                  m, p, g, role, true));
            }
          }
        }
      }
View Full Code Here

        if (segment.equals("reflexive_clitic")) {
//          System.out.println("Adding reflexive clitic. So far: '"+soFar+"'");
          soFar = conjugation.getReflexiveClitic().addClitic(soFar);
        }
        else if (segment.equals("pronoun.subject")) {
          PersonalPronoun p = (PersonalPronoun) conjugation.getPronoun();
          soFar = p.addPronoun(soFar);
        }
        else if (segment.equals("pronoun.reflexive")) {
          PersonalPronoun q = (PersonalPronoun) conjugation.getPronoun();
          PersonalPronoun p = q.getCategory().getForms(language, PersonalPronounRole.REFLEXIVE)[0];
          soFar = p.addPronoun(soFar);
        }
        else if (segment.equals("pronoun.disjunctive")) {
          PersonalPronoun q = (PersonalPronoun) conjugation.getPronoun();
          PersonalPronoun p = q.getCategory().getForms(language, PersonalPronounRole.DISJUNCTIVE)[0];
          soFar = p.addPronoun(soFar);
        }
        else if (segment.equals("auxiliary.prefix")) {
          soFar = conjugation.getAuxiliaryPrefix() + soFar;
        }
        else if (segment.equals("verb.prefix")) {
View Full Code Here

TOP

Related Classes of grammar.model.PersonalPronoun

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.