Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
LINAGORA
L
LGS
Labs
kaldi-modelgen
Commits
e7fcfe07
Commit
e7fcfe07
authored
Jan 23, 2017
by
Abdelwahab HEBA
Browse files
remove print
parent
ab4ab6ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
local/parseTcofSync.py
local/parseTcofSync.py
+2
-2
No files found.
local/parseTcofSync.py
View file @
e7fcfe07
...
...
@@ -107,11 +107,11 @@ def transformation_text(text):
# change bounding | to < and > : OK
balise
=
set
(
re
.
findall
(
r
"\|\w+_?\w+\|"
,
text
))
if
len
(
balise
)
>
0
:
print
(
balise
)
#
print(balise)
for
b
in
balise
:
new_balise
=
'<'
+
b
[
1
:
len
(
b
)
-
1
]
+
'>'
text
=
text
.
replace
(
b
,
new_balise
)
print
(
text
)
#
print(text)
# c'est l'essaim ....
text
=
text
.
lower
()
return
bool
,
text
...
...
Write
Preview
Markdown
is supported
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