Commit c578682e authored by Sulfyderz's avatar Sulfyderz
Browse files

Test: ON

parent 8f86d0ce
......@@ -3862,7 +3862,6 @@ class Show(object):
# si 1 alors affectation + move bound si besoin/et ou create bound sur stop
# si > 1 alors affectation + move bound si besoin/et ou create bound sur stop + merge
else:
print("SAME IN:",DiarTools.sameDiar(valueTmp,diarRef))
# verifie que la valueRef ne se trouve pas recouvert par la tolerance
if not DiarTools.segmentExistsAccordingToTolerance(valueRef,tolerance):
for z in listHypRefSegment:
......@@ -4278,7 +4277,7 @@ class Show(object):
valueTmp.sort()
print("SAME IN:",DiarTools.sameDiar(valueTmp,diarRef))
if not perfectBoundary:
# recupere les segments nouveaux, modifiés par les etapes precedentes.
listHypRefSegment=list()
......@@ -4294,7 +4293,7 @@ class Show(object):
valueBoundaryStart=copy.deepcopy(y['stop'])
if valueBoundaryStart is None:
valueBoundaryStart=valueRef['start']
print("SAME IN2:",DiarTools.sameDiar(valueTmp,diarRef))
# checking transcriber mode
if modeTranscriber == False:
for idx,z in enumerate(listHypRefSegment):
......@@ -4341,7 +4340,7 @@ class Show(object):
boundStop=valueRef['stop']
else:
boundStop=z['stop']
print("SAME IN3:",DiarTools.sameDiar(valueTmp,diarRef))
# recupere les segments nouveaux, modifiés par les etapes precedentes.
listHypRefSegment=list()
for y in valueTmp:
......@@ -4380,7 +4379,7 @@ class Show(object):
if actionsIncremental:
actionsIncrementalSegmentationBoundaryMergeThrTurn.append(copy.deepcopy([newSegment,listTmp[y]]))
newSegment,valueTmp=DiarTools.mergeSegment(newSegment,listTmp[y],valueTmp)
print("SAME OUT:",DiarTools.sameDiar(valueTmp,diarRef))
print("SAME OUT:",DiarTools.sameDiar(valueTmp,diarRef))
# MAJ diar
value=valueTmp
......
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