/** @param form the lower simplified word-form. */ private String getBaseFormFromInflection(String form, String pos) { if (pos.startsWith(VERB_POS)) return inf_verb.getBaseForm(form, pos); if (pos.startsWith(NOUN_POS)) return inf_noun.getBaseForm(form, pos); if (pos.startsWith(ADJECTIVE_POS)) return inf_adjective.getBaseForm(form, pos); if (pos.startsWith(ADVERB_POS)) return inf_adverb.getBaseForm(form, pos); return null; }
/** @param form the lower simplified word-form. */ private String getBaseFormFromInflection(String form, String pos) { if (pos.startsWith(VERB_POS)) return inf_verb.getBaseForm(form, pos); if (pos.startsWith(NOUN_POS)) return inf_noun.getBaseForm(form, pos); if (pos.startsWith(ADJECTIVE_POS)) return inf_adjective.getBaseForm(form, pos); if (pos.startsWith(ADVERB_POS)) return inf_adverb.getBaseForm(form, pos); return null; }