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