Commit f15011e9 authored by Sylvain Coulange's avatar Sylvain Coulange

ajout bicolore pour pronoms adverbiaux

parent f4144bc6
......@@ -63,7 +63,7 @@ async function runSpacy() {
}
// pronoms adverbiaux (en et y)
else if (data.outText[i].text.lower() == "en" || data.outText[i].text.lower() == "y" && data.outText[i].pos == "PRON") {
else if (data.outText[i].text.toLowerCase() == "en" || data.outText[i].text.toLowerCase() == "y" && data.outText[i].pos == "PRON") {
result = result
+ '<span style="color:'+ pos["PRON"].color +';'
+ stylesCommuns
......
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