Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pierre-Alexandre Broux
s4dl
Commits
b53f253d
Commit
b53f253d
authored
Apr 26, 2018
by
Sulfyderz
Browse files
Test: ON
parent
93cd0782
Changes
1
Hide whitespace changes
Inline
Side-by-side
s4dl/Show.py
View file @
b53f253d
...
...
@@ -3835,8 +3835,7 @@ class Show(object):
if
u
[
'start'
]
>=
(
valueRef
[
'stop'
]
-
tolerance
)
and
u
[
'stop'
]
<=
(
valueRef
[
'stop'
]
+
tolerance
):
# Aucune action, tous les segments dans cet interval sont supprimés
valueTmp
=
DiarTools
.
dropSegment
(
u
,
valueTmp
)
print
(
"!!!!!!!!!!!!!!!!!!!!!!!!!!!alarm2"
)
alarmViterbi
=
True
#alarmViterbi=True
elif
u
[
'start'
]
>=
(
valueRef
[
'stop'
]
+
tolerance
):
break
...
...
@@ -3868,7 +3867,6 @@ class Show(object):
valueTmp
=
DiarTools
.
addSegment
(
dictionary
[
valueRef
[
'cluster'
]],
'speaker'
,
valueRef
[
'start'
],
valueRef
[
'stop'
],
valueTmp
)
# Application d'un viterbi à la prochaine iteration
print
(
"!!!!!!!!!!!!!!!!!!!!!!!!!!!alarm3"
)
alarmViterbi
=
True
# si 1 alors affectation + move bound si besoin/et ou create bound sur stop
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment