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