convlab2.task.multiwoz package¶
Submodules¶
convlab2.task.multiwoz.goal_generator module¶
-
class
convlab2.task.multiwoz.goal_generator.
GoalGenerator
(goal_model_path='/home/travis/build/thu-coai/ConvLab-2/data/multiwoz/goal/new_goal_model.pkl', corpus_path=None, boldify=False, sample_info_from_trainset=True, sample_reqt_from_trainset=False)¶ Bases:
object
User goal generator.
-
build_message
(user_goal, boldify=<function null_boldify>)¶
-
get_user_goal
()¶
-
-
convlab2.task.multiwoz.goal_generator.
do_boldify
(content)¶
-
convlab2.task.multiwoz.goal_generator.
nomial_sample
(counter: collections.Counter)¶
-
convlab2.task.multiwoz.goal_generator.
null_boldify
(content)¶