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