|
Fido Alpha 3.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fido.linguistic.components.Pronoun
Represents a pronoun, which tells the system to look for a noun in the Discourse to replace.
The following table shows the pronouns for English:
Group | Person | Gender | Subjective | Objective | Possessive | Possessive Adjective |
---|---|---|---|---|---|---|
false | First | I | me | mine | my | |
Second | you | you | yours | your | ||
Third | masculine | he | him | his | his | |
feminine | she | her | hers | her | ||
neuter | it | it | its | |||
true | First | we | us | ours | our | |
Second | you | you | yours | your | ||
Third | they | them | theirs | their |
Discourse
,
PronounResolver
Field Summary | |
static int |
FEMALE
|
static int |
FIRST
Constant for setPerson() and getPerson() |
static int |
MALE
|
static int |
NEUTER
|
static int |
SECOND
Constant for setPerson() and getPerson() |
static int |
THIRD
Constant for setPerson() and getPerson() |
Constructor Summary | |
Pronoun(int person,
int gender,
boolean group)
Creates a new Pronoun object. |
Method Summary | |
int |
getGender()
Returns the gender for this pronoun. |
int |
getPerson()
Returns the person for this pronoun. |
boolean |
isGroup()
Returns if the pronoun represents a group. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int FIRST
public static final int SECOND
public static final int THIRD
public static final int MALE
public static final int FEMALE
public static final int NEUTER
Constructor Detail |
public Pronoun(int person, int gender, boolean group)
person
- Person of the pronoun.gender
- Gender of the pronoun.group
- Identifies the pronoun as representing a group.Method Detail |
public int getPerson()
public int getGender()
public boolean isGroup()
|
Fido Alpha 3.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |