tatk.dst.rule.crosswoz package¶
Submodules¶
tatk.dst.rule.crosswoz.dst module¶
- 
class 
tatk.dst.rule.crosswoz.dst.RuleDST¶ Bases:
tatk.dst.dst.DSTRule based DST which trivially updates new values from NLU result to states.
- Attributes:
 - state(dict):
 Dialog state. Function
tatk.util.crosswoz.state.default_statereturns a default state.
- 
__init__()¶ Initialize self. See help(type(self)) for accurate signature.
- 
init_session(state=None)¶ Initialize
self.statewith a default state, whichtatk.util.crosswoz.state.default_statereturns.
- 
query()¶ 
- 
update(usr_da=None)¶ update belief_state, cur_domain, request_slot :param usr_da: :return:
tatk.dst.rule.crosswoz.evaluate module¶
- 
tatk.dst.rule.crosswoz.evaluate.calculateJointState(predict_golden)¶ 
- 
tatk.dst.rule.crosswoz.evaluate.calculateSlotState(predict_golden)¶ 
- 
tatk.dst.rule.crosswoz.evaluate.read_zipped_json(filepath, filename)¶ 
- 
tatk.dst.rule.crosswoz.evaluate.test_sys_state(data, goal_type)¶