|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The clause category for a FD. This class is used whenever users want to create a clause. As the minimum requirement, this class must be used together with the Partic and Proc class. In addition to setting the process and the participant of a clause, there are methods in this class to set the various properties of a clause. For methods that set the properties of a clause such as the setTense(...) and setPolarity(...) methods, some of the possible values/options for these methods are provided in the FDProperties class.
ClauseFactory,
Proc,
Partic,
FDProperties| Inner classes inherited from class java.util.Map |
java.util.Map.Entry |
| Method Summary | |
void |
setAdverb(java.lang.String adverb)
A method to set the adverb of a clause. |
void |
setCircum(Circum circum)
A method to set the circumstance of a clause. |
void |
setComplex(java.lang.String complex)
A method to set the complexity of a clause. |
void |
setMood(java.lang.String mood)
A method to set the mood of a clause. |
void |
setPartic(Partic partic)
A method to set the participants of a clause. |
void |
setPolarity(java.lang.String polarity)
A method to set the polarity of a clause. |
void |
setPreMod(PreMod preMod)
A method to set the pre-modifier of a clause. |
void |
setProc(Proc process)
A method to set the process of a clause. |
void |
setRestrictive(boolean restrictiveness)
A method to set the restrictiveness of a clause. |
void |
setScope(java.lang.String[] scope)
A method to set the scope of a clause by specifying the path of the holes in an array. |
void |
setScopeUsingRef(FDRef ref)
A method to set the scope of a clause by making a referrence to the desired hole of the clause. |
void |
setTense(java.lang.String tense)
A method to allow the user to set the tense of the clause. |
| Methods inherited from interface edu.columbia.surge.FD |
checkPath,
checkPath,
getPath,
getPath,
putPath,
putPath,
putPathOverride,
putPathOverride,
toString,
toXML |
| Methods inherited from interface java.util.Map |
clear,
containsKey,
containsValue,
entrySet,
equals,
get,
hashCode,
isEmpty,
keySet,
put,
putAll,
remove,
size,
values |
| Method Detail |
public void setProc(Proc process)
proc - the process to be specifiedpublic void setPartic(Partic partic)
partic - the participants to be specifiedpublic void setTense(java.lang.String tense)
tense - the tense of the clause
public void setAdverb(java.lang.String adverb)
throws InvalidPathException
adverb - the adverb to be insertedpublic void setRestrictive(boolean restrictiveness)
restrictiveness - true to be restrictive, false to be non-restrictivepublic void setPolarity(java.lang.String polarity)
polarity - the polarity of a clausepublic void setMood(java.lang.String mood)
mood - the mood of the clausepublic void setScope(java.lang.String[] scope)
scope - specify the order of the roles by putting them in
the right order into the array. For example, (scope {^ A B})
will be {"A", "B"}.public void setScopeUsingRef(FDRef ref)
ref - the FD node which serves as the hole of the clause.FDNullpublic void setComplex(java.lang.String complex)
complex - the complexity to be specifiedpublic void setCircum(Circum circum)
circum - the circumstance to be specifiedpublic void setPreMod(PreMod preMod)
preMod - the pre-modifier to be specified
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||