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
Pédagogies Multimodales
wikicolor
Commits
270bfdcb
Commit
270bfdcb
authored
Jul 10, 2020
by
Sylvain Coulange
Browse files
correction bugs alignements anglais
parent
f8569994
Changes
1
Hide whitespace changes
Inline
Side-by-side
static/scripts/textPhonographer.py
View file @
270bfdcb
...
...
@@ -196,6 +196,8 @@ def mimi(mot, lang):
# Traitement de l'apostrophe
if
lang
==
"fr"
:
mot
=
mot
.
replace
(
"'"
,
'’'
)
if
lang
==
"en"
:
mot
=
mot
.
replace
(
"’"
,
"'"
)
# Si mot dans dictionnaire... decoupage(mot,transcription)
if
re
.
match
(
r
'^\W+$|^\d+$'
,
mot
):
...
...
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