org.hops.ext
Class statisticsData.AttrHash
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
org.hops.ext.statisticsData.AttrHash
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map
- Enclosing class:
- statisticsData
public class statisticsData.AttrHash
- extends java.util.HashMap
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Method Summary |
void |
processSystemAsk(action act,
int turnnumber)
process the attributes interpreted from the system utterance |
void |
processUserAction(action act,
int turnnumber)
process the attributes interpreted from the user utterance |
void |
reset()
inicialitza tots els valors |
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, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
ATTR_GENERAL
public static final java.lang.String ATTR_GENERAL
- See Also:
- Constant Field Values
ATTR_CA
public static final java.lang.String ATTR_CA
- See Also:
- Constant Field Values
ATTR_LOC
public static final java.lang.String ATTR_LOC
- See Also:
- Constant Field Values
ATTR_AFC
public static final java.lang.String ATTR_AFC
- See Also:
- Constant Field Values
statisticsData.AttrHash
public statisticsData.AttrHash(java.lang.String attributes_file)
- Creates a new instance of AttrHash.
Reads the attributes_file for generating the hash of
attributes with the information about them
reset
public void reset()
- inicialitza tots els valors
processUserAction
public void processUserAction(action act,
int turnnumber)
- process the attributes interpreted from the user utterance
processSystemAsk
public void processSystemAsk(action act,
int turnnumber)
- process the attributes interpreted from the system utterance