|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractMap | +--java.util.HashMap | +--edu.columbia.surge.hashImpl.FDH | +--edu.columbia.surge.hashImpl.ProcH
The process of a FD. This is used together with the Clause and the Partic class in order to create a clause sentence. There are methods in this class to set and to create various properties of a process. Moreover, this interface also provides various constants to help users setting the properties of a process. For example, when user wants to set the process type of the Process to be material, user can just use setProcessType(Proc.MATERIAL). Factory methods are also provided to help users to construct instance of Proc in a more efficient fashion. User can either use the ProcH class or directly use the constructor of this class to create instances of ProcH.
ProcFactoryH
,
Clause
,
Partic
,
setProcessType(String processType)
,
Proc.MATERIAL
, Serialized FormConstructor Summary | |
ProcH()
Constructor which creates a default instance of ProcFactoryH. |
|
ProcH(java.lang.String type,
java.lang.String lex)
Constructor which takes in the lexical entry and the process type as parameters to compute and return an instance of ProcH. |
|
ProcH(java.lang.String type,
java.lang.String lex,
java.lang.String effect_type,
boolean agentive,
boolean effective,
java.lang.String mode,
java.lang.String relation_type,
java.lang.String polarity)
Constructo which computes and returns an instance of ProcH that gives user the option to create an instance of ProcH with all the most common and most frequently used properties. |
Method Summary | |
void |
setAgentive(boolean agentive)
A method to set whether the process is going to be agentive |
void |
setEffective(boolean effective)
A method to set whether the process is going to be effective |
void |
setEffectType(java.lang.String effectType)
A method to set the effect-type of the process |
void |
setLex(java.lang.String lex)
A method to set the lexical of the process |
void |
setMode(java.lang.String mode)
A method to set the mode of the process |
void |
setPolarity(java.lang.String polarity)
A method to set the polarity of the process |
void |
setProcessType(java.lang.String processType)
A method to set the type of the process |
void |
setRelationType(java.lang.String relation_type)
A method to set the relation-type of the process |
Methods inherited from class edu.columbia.surge.hashImpl.FDH |
checkPath,
checkPath,
computePathDifference,
getPath,
getPath,
putPath,
putPath,
putPathOverride,
putPathOverride,
stackToPath,
stringToArray,
toString,
toString,
toXML |
Methods inherited from class java.util.HashMap |
clear,
clone,
containsKey,
containsValue,
entrySet,
get,
isEmpty,
keySet,
put,
putAll,
remove,
size,
values |
Methods inherited from class java.util.AbstractMap |
equals,
hashCode |
Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public ProcH()
public ProcH(java.lang.String type, java.lang.String lex) throws InvalidConstructorException
type
- the process typelex
- the lexical entry/verb of the processpublic ProcH(java.lang.String type, java.lang.String lex, java.lang.String effect_type, boolean agentive, boolean effective, java.lang.String mode, java.lang.String relation_type, java.lang.String polarity) throws InvalidConstructorException
type
- the process typelex
- the lexical entry/verb of the processeffect_type
- the effect type of the processagentive
- set whether the process is agentiveeffective
- set whether the process is effectivemode
- the mode of the processrelation_type
- the relation_type of the processMethod Detail |
public void setProcessType(java.lang.String processType)
type
- the type of the processpublic void setPolarity(java.lang.String polarity)
polarity
- the options are given as static variables in
FDProperties interface.FDProperties
public void setEffectType(java.lang.String effectType)
effectType
- the effect-type of the processpublic void setLex(java.lang.String lex)
lex
- the lexical word of the processpublic void setMode(java.lang.String mode)
mode
- the mode of the processpublic void setEffective(boolean effective)
effective
- true to set to effective, and vice versa.public void setAgentive(boolean agentive)
agentive
- true to set to agentive, and vice versapublic void setRelationType(java.lang.String relation_type)
relation_type
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |