|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.northwestern.at.utils.corpuslinguistics.inflector.NoopInflector
public class NoopInflector
Noop inflector which returns a lemma uninflected.
| Field Summary | |
|---|---|
protected Conjugator |
noopConjugator
Noop conjugator. |
protected Pluralizer |
noopPluralizer
Noop pluralizer. |
| Constructor Summary | |
|---|---|
NoopInflector()
|
|
| Method Summary | |
|---|---|
java.lang.String |
conjugate(java.lang.String infinitive,
VerbTense tense,
Person person)
Conjugate a verb from its infinitive, tense, and person. |
java.lang.String |
pluralize(java.lang.String nounOrPronoun)
Pluralize a noun or pronoun. |
java.lang.String |
pluralize(java.lang.String nounOrPronoun,
int number)
Pluralize a noun or pronoun. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Conjugator noopConjugator
protected Pluralizer noopPluralizer
| Constructor Detail |
|---|
public NoopInflector()
| Method Detail |
|---|
public java.lang.String conjugate(java.lang.String infinitive,
VerbTense tense,
Person person)
conjugate in interface Conjugatorinfinitive - The infinitive of the verb to inflect.tense - The verb tense to generate.person - The person (1st, 2nd, 3rd) to generate.
public java.lang.String pluralize(java.lang.String nounOrPronoun)
pluralize in interface PluralizernounOrPronoun - The singular form of the noun or pronoun.
public java.lang.String pluralize(java.lang.String nounOrPronoun,
int number)
pluralize in interface PluralizernounOrPronoun - The singular form of the noun or pronoun.number - The number for the noun or pronoun.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||