Commit ef5a2092 authored by Sulfyderz's avatar Sulfyderz
Browse files

[Error Update]:Correcting the method createCorrectionOrderFromDiarHacBic.

parent d148e98a
......@@ -5093,7 +5093,7 @@ class Show(object):
self.correctionOrder["DER"]=dict()
if not onlyDER:
self.correctionOrder["HCIQ"]=dict()
self.correctionOrder["correction"]=dict()
self.correctionOrder["correction"]=dict()
self.correctionOrder["correctedAreaHyp"]=dict()
self.correctionOrder["correctedAreaRef"]=dict()
if not onlyDER:
......@@ -5155,7 +5155,8 @@ class Show(object):
self.correctionOrder["HCIQ"][key][-1]=0
#Calculer le ratio
self.correctionOrder["correction"][key][-1]=None
if not onlyDER:
self.correctionOrder["correction"][key][-1]=None
self.correctionOrder["correctedAreaHyp"][key][-1]=None
self.correctionOrder["correctedAreaRef"][key][-1]=None
if not onlyDER:
......@@ -5173,7 +5174,7 @@ class Show(object):
self.correctionOrder["DER"][key][i]=None
if not onlyDER:
self.correctionOrder["HCIQ"][key][i]=None
self.correctionOrder["correction"][key][i]=None
self.correctionOrder["correction"][key][i]=None
self.correctionOrder["correctedAreaHyp"][key][i]=None
self.correctionOrder["correctedAreaRef"][key][i]=None
if not onlyDER:
......@@ -5311,7 +5312,6 @@ class Show(object):
if self.correctionOrder["DER"][key][i] is None or currentDER<(self.correctionOrder["DER"][key][i].spk_conf+self.correctionOrder["DER"][key][i].spk_miss+self.correctionOrder["DER"][key][i].spk_fa):
self.correctionOrder["diar"][key][i]=copy.deepcopy(valueLocal)
self.correctionOrder["DER"][key][i]=DERLocal
self.correctionOrder["correction"][key][i]=correctionLocal
self.correctionOrder["correctedAreaHyp"][key][i]=valueMatchRaw
self.correctionOrder["correctedAreaRef"][key][i]=copy.deepcopy(j)
clusterAffTmp=clusterAffLocal
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment