//System.err.println("Conjugator.conjugate(S,L,b,Lt):"+new Date());
ModelVerbFactory mvf = ModelVerbFactory.getInstance(language);
sb.append("Infinitive: "+infinitive+"\n");
ModelVerb mv = mvf.getModelVerb(infinitive, language);
sb.append("Selected model verb: " + mv.toString()+"\n");
ConjugatedVerb cv = mv.getConjugatedVerb(infinitive);
sb.append("Auxiliary verb: "+cv.getAuxiliary().toString()+"\n");
for (Tense t : tenses) {
int i = 0; i++;
for (FormCategory p : mv.getForms(t)) {
Form[] l;
l = p instanceof PersonalPronounCategory ?
((PersonalPronounCategory) p).getForms(language, PersonalPronounRole.SUBJECT) :
p.getAllForms(language);
if (!allForms) {
l = new Form[] {new TreeSet<Form>(Arrays.asList(l)).iterator().next()};
}
for (Form f : l) {
sb.append(
"Mood: "+t.getMood().toString().replace('_', ' ').toLowerCase()+
"; tense: "+t.toString().replace('_', ' ').toLowerCase()+
"; form: "+p.toString().replace('_', ' ').toLowerCase()+
"; conjugation: "+cv.getForm(t, f)+"\n");
}
}
}
System.out.print(sb.toString());
}