Skip to content
GitLab
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
GrammaColor
Commits
2b54ac36
Commit
2b54ac36
authored
Sep 26, 2022
by
Sylvain Coulange
🌼
Browse files
debug coloriser.js 'en'
parent
91b6d732
Changes
1
Hide whitespace changes
Inline
Side-by-side
static/js/coloriser.js
View file @
2b54ac36
...
...
@@ -123,7 +123,7 @@ async function runSpacy() {
// ESPACE
result
=
result
+
"
<span style='
"
+
stylesCommuns
+
"
'> </span>
"
;
}
else
if
(
thisText
.
toLowerCase
()
==
"
en
"
||
thisText
.
toLowerCase
()
==
"
y
"
&&
thisPos
==
"
PRON
"
)
{
}
else
if
(
(
thisText
.
toLowerCase
()
==
"
en
"
||
thisText
.
toLowerCase
()
==
"
y
"
)
&&
thisPos
==
"
PRON
"
)
{
// BICOLORES → soulignage
// pronoms adverbiaux (en et y)
thisPos
=
currentPos
=
"
PRONADV
"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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