예제 #1
0
파일: test_da.py 프로젝트: UFAL-DSG/alex
 def test_make_from_da(self):
     da = DialogueAct('inform(food=czech)&inform(area=north)')
     dacn = DialogueActConfusionNetwork.make_from_da(da)
     self.assertEqual(dacn.get_best_da(), da)
예제 #2
0
파일: test_da.py 프로젝트: henrypig/alex-1
 def test_make_from_da(self):
     da = DialogueAct('inform(food=czech)&inform(area=north)')
     dacn = DialogueActConfusionNetwork.make_from_da(da)
     self.assertEqual(dacn.get_best_da(), da)