Exemple #1
0
 def add_other(self):
     try:
         return NBList.add_other(self, DialogueAct('other()'))
     except NBListException as e:
         raise DialogueActNBListException(e)
Exemple #2
0
 def scale(self):
     """Scales the n-best list to sum to one."""
     return NBList.normalise(self)
Exemple #3
0
 def __init__(self):
     NBList.__init__(self)
Exemple #4
0
 def add_other(self):
     try:
         return NBList.add_other(self, DialogueAct('other()'))
     except NBListException as e:
         raise DialogueActNBListException(e)
Exemple #5
0
 def scale(self):
     """Scales the n-best list to sum to one."""
     return NBList.normalise(self)
Exemple #6
0
 def __init__(self):
     NBList.__init__(self)