コード例 #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)