convlab2.task.camrest package¶
Submodules¶
convlab2.task.camrest.goal_generator module¶
-
class
convlab2.task.camrest.goal_generator.
GoalGenerator
(goal_model_path='/home/travis/build/thu-coai/ConvLab-2/data/camrest/goal/goal_model.pkl', corpus_path=None)¶ Bases:
object
User goal generator.
-
build_message
(user_goal)¶
-
get_user_goal
()¶
-
-
convlab2.task.camrest.goal_generator.
nomial_sample
(counter: collections.Counter)¶