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