|
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.VerbClass
Represents the actual verb in a VerbPhrase.
VerbPhrase
Field Summary | |
static int |
ACTION
Constant for verb type |
static int |
FIRST_PLURAL
Constant for verb person |
static int |
FIRST_SINGULAR
Constant for verb person |
static int |
FUTURE
Constant for verb tense |
static int |
FUTURE_PERFECT
Constant for verb tense |
static int |
LINKING
Constant for verb type |
static int |
PAST
Constant for verb tense |
static int |
PAST_PERFECT
Constant for verb tense |
static int |
PRESENT
Constant for verb tense |
static int |
SECOND_PLURAL
Constant for verb person |
static int |
SECOND_SINGULAR
Constant for verb person |
static int |
THIRD_PLURAL
Constant for verb person |
static int |
THIRD_SINGULAR
Constant for verb person |
Constructor Summary | |
VerbClass(java.lang.String verb,
int type,
int tense,
int person)
Creates a new VerbClass object. |
Method Summary | |
int |
getPerson()
Returns the person of verb, as in first, second, or third. |
int |
getTense()
Returns the tense of verb, as in past, present, or future. |
int |
getType()
Returns the type of verb, either ACTION or LINKING. |
java.lang.String |
toString()
Returns the string for this verb. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int ACTION
public static final int LINKING
public static final int PRESENT
public static final int PAST
public static final int PAST_PERFECT
public static final int FUTURE
public static final int FUTURE_PERFECT
public static final int FIRST_SINGULAR
public static final int SECOND_SINGULAR
public static final int THIRD_SINGULAR
public static final int FIRST_PLURAL
public static final int SECOND_PLURAL
public static final int THIRD_PLURAL
Constructor Detail |
public VerbClass(java.lang.String verb, int type, int tense, int person)
verb
- String containing the verb.type
- Type of verb, either action or linking.tense
- Time for the verb, either past, present, or future.person
- Person that executes the action, either first, second, or third.
Each may be plural.Method Detail |
public int getType()
public int getTense()
public int getPerson()
public java.lang.String toString()
toString
in class java.lang.Object
|
Fido Alpha 3.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |