Feature #3222

Mis à jour par Serge Heiden il y a plus de 3 ans

Currently the word properties tooltip is formated as a comma separated list, which is less readable than a bulleted list, especially when words have many properties.

Take the opportunity of reformating to add the word identifier in the tooltip.

h3. Solution

Replace the current HTML code (first word of VOEUX corpus as example):
<pre>
<span title="n=1, frpos=PRP, frlemma=pour, phase=début" id="w_0001_1">Pour</span>
</pre>
by
<pre>
<span title="- n : 1&#013;&#010;- frpos : PRP&#013;&#010;- frlemma : pour&#013;&#010;- phase : début&#013;&#010- id : w_0001_1" id="w_0001_1">Pour</span>
</pre>

Ce qui s'affiche comme ceci :
<pre>
- n : 1
- frpos : PRP
- frlemma : pour
- phase : début
- id : w_0001_1
</pre>

Ou encore mieux comme ceci (prendre le nom de propriété le plus grand pour choisir la largeur d'affichage des noms de propriétés avec le format '%7s') :
<pre>
- n : 1
- frpos : PRP
- frlemma : pour
- phase : début
- id : w_0001_1
</pre>

Retour