Commit e7fcfe07 authored by Abdelwahab HEBA's avatar Abdelwahab HEBA
Browse files

remove print

parent ab4ab6ad
...@@ -107,11 +107,11 @@ def transformation_text(text): ...@@ -107,11 +107,11 @@ def transformation_text(text):
# change bounding | to < and > : OK # change bounding | to < and > : OK
balise=set(re.findall(r"\|\w+_?\w+\|",text)) balise=set(re.findall(r"\|\w+_?\w+\|",text))
if len(balise)>0: if len(balise)>0:
print(balise) #print(balise)
for b in balise: for b in balise:
new_balise='<'+b[1:len(b)-1]+'>' new_balise='<'+b[1:len(b)-1]+'>'
text=text.replace(b,new_balise) text=text.replace(b,new_balise)
print(text) #print(text)
# c'est l'essaim .... # c'est l'essaim ....
text=text.lower() text=text.lower()
return bool,text return bool,text
......
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