Commit 175d314d authored by Sulfyderz's avatar Sulfyderz
Browse files

[Error Update]:Correcting the SegmentationAutomaton and the...

[Error Update]:Correcting the SegmentationAutomaton and the AssignmentSegmentationAutomaton methods.
parent 39134cb1
......@@ -1166,7 +1166,7 @@ def automatonSegmentationAssignment(diarHyp,diarRef,diarUem=None,tolerance=0,mod
listTmp[1]['cluster']=listTmp[0]['cluster']
newSegment,valueTmp=mergeSegment(listTmp[0],listTmp[1],valueTmp)
else:
newSegment=listTmp[1]['cluster']
newSegment=listTmp[1]
for y in range(2,len(listTmp)):
if modeNoGap == True:
if not (Segment.intersection(newSegment,listTmp[y]) is not None or newSegment["stop"]==listTmp[y]["start"] or newSegment["start"]==listTmp[y]["stop"]):
......
Markdown is supported
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